-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
57 lines (46 loc) · 1.26 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
java
kotlin("jvm") version "1.3.31"
kotlin("kapt") version "1.3.31"
}
group = "arven"
version = "0.3.1"
repositories {
mavenCentral()
jcenter()
maven {
setUrl("https://jitpack.io")
}
maven {
setUrl("https://repo.spongepowered.org/maven")
}
maven {
setUrl("https://kotlin.bintray.com/kotlinx")
}
}
dependencies {
// Kotlin
compileOnly(kotlin("stdlib-jdk8"))
compileOnly(kotlin("reflect"))
compileOnly("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.2.1")
// Sponge
kapt("org.spongepowered:spongeapi:7.1.0")
compileOnly("org.spongepowered:spongeapi:7.1.0")
// Config System
compileOnly("com.github.TheFrontier:SKD:094ab59a02")
// Sponge Platform extension methods
compileOnly("com.github.TheFrontier:SKE:0.3.0")
// Feature System
compileOnly("com.github.TheFrontier:SKF:0.3.0")
// Command Tree System
compileOnly("com.github.TheFrontier:SKPC:0.3.0")
// Database ORM
compileOnly("org.jetbrains.exposed:exposed:0.13.6")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}