-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
37 lines (29 loc) · 903 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
apply plugin: 'java'
apply plugin: 'application'
repositories {
mavenCentral()
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
mainClassName = 'org.rainyville.modulusconverter.ModulusConverter'
version='1.0.0'
dependencies {
compile 'net.sf.jopt-simple:jopt-simple:6.0-alpha-3'
compile group: 'org.fusesource.jansi', name: 'jansi', version: '2.0.1'
compile 'com.google.code.gson:gson:2.9.0'
compile group: 'commons-io', name: 'commons-io', version: '2.8.0'
compile 'net.lingala.zip4j:zip4j:2.9.1'
compile 'com.google.guava:guava:31.0.1-jre'
testCompile 'junit:junit:4.13.2'
}
jar {
manifest {
attributes(
'Manifest-Version': '1.0',
'Main-Class': "$mainClassName"
)
}
from {
configurations.compile.findAll { !it.name.endsWith('pom') }.collect { it.isDirectory() ? it : zipTree(it) }
}
}