-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
52 lines (44 loc) · 1.06 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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.4"
classpath "gradle.plugin.net.minecrell:licenser:0.3"
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'net.minecrell.licenser'
repositories {
mavenCentral()
maven {
url "http://artifactory.terasology.org/artifactory/virtual-repo-live"
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
defaultTasks 'build', 'shadowJar'
dependencies {
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
compile group: 'org.terasology.jnlua', name: 'JNLua', version: '0.1.0-SNAPSHOT'
testCompile 'junit:junit:4.12'
compile fileTree(dir: 'libs', include: '*.jar')
}
license {
sourceSets = [project.sourceSets.main]
header = project.file("docs/NOTICE")
ignoreFailures = true
}
jar {
manifest {
attributes "Main-Class": "org.terasology.kallisti.simulator.Main"
}
}
shadowJar {
baseName = 'KallistiSimulator'
classifier = null
}