-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
89 lines (79 loc) · 2.45 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
}
}
plugins {
id 'java'
id 'eclipse-wtp'
id "com.github.johnrengelman.shadow" version "2.0.4"
}
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDir 'conf'
srcDir 'resources'
}
}
test {
java {
srcDir 'test'
}
}
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
shadowJar {
zip64 true
manifest.attributes 'Main-Class': 'aiLibsExperiments.small.miner.MetaMiner_small_Experimenter' // The main attraction! Be sure to update this line
classifier = 'bootstrapNode' // General jar task property - see more about it in the Gradle manual
from(project.convention.getPlugin(JavaPluginConvention).sourceSets.main.output) // Leave as is
configurations = [project.configurations.runtime] // Same as the above
exclude('META-INF/INDEX.LIST', 'META-INF/*.SF', 'META-INF/*.DSA', 'META-INF/*.RSA') // This one is actually really important!
}
dependencies {
// dependencies for submission time
compile 'com.google.guava:guava:18.0'
compile 'org.apache.commons:commons-lang3:3.6'
compile 'org.aeonbits.owner:owner-java8:1.0.6'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.0.pr4'
compile 'mysql:mysql-connector-java:5.1.45'
implementation 'com.github.graphstream:gs-core:2.0-alpha'
implementation 'com.github.graphstream:gs-ui-javafx:2.0-alpha'
implementation 'com.github.graphstream:gs-algo:2.0-alpha'
compile 'commons-io:commons-io:2.6'
compile 'com.github.fommil.netlib:core:1.1.2'
compile 'de.upb.isys:interruptable-weka:0.0.7'
compile 'de.upb.isys:jase:0.0.3'
// dependencies for development time
compile "de.upb.isys:jaicore-ml"
compile "de.upb.isys:jaicore-basic"
compile "de.upb.isys:jaicore-logic"
compile 'de.upb.isys:hasco'
compile 'de.upb.isys:mlplan'
compile group: "de.upb.isys", name: "CRCUtils", version: "0.0.1"
compile group: "de.upb.isys", name: "mtj", version: "0.0.1"
runtime 'org.slf4j:slf4j-log4j12:1.7.25', 'log4j:log4j:1.2.17'
}
repositories {
mavenLocal()
mavenCentral()
flatDir {
dirs 'lib'
}
maven { url "https://jitpack.io" }
maven { url "http://clojars.org/repo/"}
maven { url "https://nexus.cs.upb.de/repository/maven-releases/"}
maven { url "https://plugins.gradle.org/m2/"}
}