-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
40 lines (34 loc) · 1.17 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.40'
id 'kotlinx-serialization' version '1.3.40'
id 'com.github.johnrengelman.shadow' version '4.0.4'
}
group 'collectibleArmy'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.11.1"
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"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
jar {
manifest {
attributes 'Main-Class': 'com.collectibleArmy.MainKt'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}