-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
71 lines (57 loc) · 1.72 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
buildscript {
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.jengelman.gradle.plugins:shadow:4.0.2"
}
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
}
apply plugin: "kotlin"
apply plugin: "com.github.johnrengelman.shadow"
configurations {
shadow
compile.extendsFrom provided
provided.extendsFrom shadow
}
shadowJar {
classifier = null
version = null
}
artifacts {
archives shadowJar
}
jar {
manifest {
attributes "Main-Class": "org.hexworks.cavesofzircon.MainKt"
}
}
build.dependsOn(shadowJar)
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation "org.slf4j:slf4j-api:$slf4j_version"
implementation "ch.qos.logback:logback-classic:1.2.3"
implementation "ch.qos.logback:logback-core:1.2.3"
implementation "org.hexworks.cobalt:cobalt.databinding-jvm:$cobalt_version"
implementation "org.hexworks.amethyst:amethyst.core-jvm:$amethyst_version"
implementation "org.hexworks.zircon:zircon.core-jvm:$zircon_version"
implementation "org.hexworks.zircon:zircon.jvm.swing:$zircon_version"
testCompile "junit:junit:$junit_version"
testCompile "org.mockito:mockito-all:$mockito_version"
testCompile "org.assertj:assertj-core:$assertj_version"
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = "1.8"
}
}