-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (35 loc) · 921 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '1.2.0'
}
group = 'be.bendem.bot'
version = '1.0'
description = "RpgBot"
// Minimum Java version required
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
// Compile encoding
compileJava {
options.encoding = 'UTF-8'
}
repositories {
mavenLocal()
mavenCentral()
maven { url "http://repo.kitteh.org/content/repositories/snapshots" }
}
dependencies {
compile group: 'org.kitteh.irc', name: 'client-lib', version: '0.1.7-SNAPSHOT'
compile group: 'org.xerial', name: 'sqlite-jdbc', version: '3.8.6'
}
shadowJar {
dependencies {
include(dependency('org.kitteh.irc:client-lib:0.1.7-SNAPSHOT'))
include(dependency('org.xerial:sqlite-jdbc:3.8.6'))
}
}
build.dependsOn(shadowJar)
// Jar manifest information
jar.manifest.mainAttributes(
'Main-Class': "be.bendem.bot.RpgBot",
'Sealed': true
)