-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
40 lines (32 loc) · 1.14 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
import org.jetbrains.kotlin.gradle.dsl.Coroutines
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
group = "org.ice1000.ruiko"
version = "v0.1"
plugins { application }
buildscript {
val kotlinVersion = "1.3.0-rc-57"
repositories { maven("http://dl.bintray.com/kotlin/kotlin-eap") }
dependencies { classpath ("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion") }
}
apply { plugin("kotlin") }
java.sourceSets {
"main" {
java.setSrcDirs(listOf("src"))
withConvention(KotlinSourceSet::class) { kotlin.setSrcDirs(listOf("src")) }
resources.setSrcDirs(listOf("res"))
}
}
application.mainClassName = "$group.MainKt"
repositories {
jcenter()
maven("https://dl.bintray.com/ice1000/ice1000")
maven("http://dl.bintray.com/kotlin/kotlin-eap")
}
dependencies {
compile(kotlin("stdlib-jdk8"))
compile("org.jetbrains.kotlinx:kotlinx-coroutines-core:0.26.1-eap13")
val jimguiVersion = "v0.7"
compile(group = "org.ice1000.jimgui", name = "kotlin-dsl", version = jimguiVersion)
compile(group = "org.ice1000.jimgui", name = "extension", version = jimguiVersion)
compile(group = "org.ice1000.textseq", name = "impl-gap", version = "v0.3")
}