-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
55 lines (47 loc) · 1.2 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
buildscript {
ext.kotlin_version = '1.2.10'
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.jengelman.gradle.plugins:shadow:2.0.2"
}
}
group 'com.dawndevelop'
version '1.0.0'
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: 'kotlin'
repositories {
mavenCentral()
jcenter()
maven {
name 'Sponge maven repo'
url 'http://repo.spongepowered.org/maven'
}
maven {
url "https://dl.bintray.com/kotlin/exposed"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-runtime:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile 'org.jetbrains.exposed:exposed:0.9.1'
shadow 'org.spongepowered:spongeapi:6.0.0'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
shadowJar {
baseName = "KotlinCore"
version = "$kotlin_version"
classifier = null
appendix = null
}