-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
38 lines (28 loc) · 846 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
plugins {
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
// https://mvnrepository.com/artifact/com.github.javaparser/javaparser-symbol-solver-core
compile group: 'com.github.javaparser', name: 'javaparser-symbol-solver-core', version: '3.16.2'
compile group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
implementation 'com.google.code.gson:gson:2.8.6'
}
version = '1.0.0'
jar {
manifest {
attributes "Main-Class": "Main"
}
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}