-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (46 loc) · 1.47 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
48
49
50
51
52
53
54
55
56
group 'dokyme'
version '1.0-SNAPSHOT'
apply plugin: 'java'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
sourceSets {
main {
java {
srcDir 'src/main'
}
}
test {
java {
srcDir 'src/test'
}
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
// https://mvnrepository.com/artifact/net.sf.jung/jung-visualization
compile group: 'net.sf.jung', name: 'jung-visualization', version: '2.1.1'
// https://mvnrepository.com/artifact/net.sf.jung/jung-api
compile group: 'net.sf.jung', name: 'jung-api', version: '2.1.1'
// https://mvnrepository.com/artifact/net.sf.jung/jung-graph-impl
compile group: 'net.sf.jung', name: 'jung-graph-impl', version: '2.1.1'
// https://mvnrepository.com/artifact/net.sf.jung/jung-algorithms
compile group: 'net.sf.jung', name: 'jung-algorithms', version: '2.1.1'
// https://mvnrepository.com/artifact/commons-cli/commons-cli
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
}
task copyJars(type: Copy) {
from configurations.runtime
into 'lib'
}
def cleanGeneratedSrc() {
File file = new File(rootDir.getAbsolutePath() + "\\src\\main\\generated")
file.deleteDir()
file.mkdir()
}
task cleanGenerate{
cleanGeneratedSrc()
}