-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (38 loc) · 1.01 KB
/
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
43
44
45
46
47
plugins {
id 'application'
id 'idea'
id 'java'
id 'com.github.johnrengelman.shadow' version '2.0.1'
}
group 'net.talpidae'
version '1'
defaultTasks 'jar'
sourceCompatibility = JavaVersion.VERSION_1_10
targetCompatibility = JavaVersion.VERSION_1_10
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
mainClassName = 'net.talpidae.viceroy.ViceroyApplicationModule'
manifest {
attributes 'Main-Class': mainClassName
}
repositories {
mavenLocal()
jcenter()
mavenCentral()
}
// exclude javax.xml.parsers
task printClasspath {
doLast {
configurations.testRuntime.each { println it }
}
}
shadowJar {
zip64 true
entryCompression = ZipEntryCompression.STORED
exclude 'META-INF/*.RSA', 'META-INF/*.SF','META-INF/*.DSA'
}
dependencies {
annotationProcessor "org.projectlombok:lombok:1.16.22"
compileOnly "org.projectlombok:lombok:1.16.22"
compile 'net.talpidae:base:2' // or modules/base
testCompile group: 'junit', name: 'junit', version: '4.12'
}