-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
47 lines (37 loc) · 904 Bytes
/
build.gradle.kts
File metadata and controls
47 lines (37 loc) · 904 Bytes
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
import java.io.*
val kotlinVersion = "1.2.70"
group = "com.intellij.devkt.lang.properties"
version = "v1.0"
plugins {
java
application
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
java.sourceSets {
"main" {
java.setSrcDirs(listOf("src", "gen"))
resources.setSrcDirs(listOf("res"))
}
"test" {
java.setSrcDirs(emptyList<Any>())
resources.setSrcDirs(emptyList<Any>())
}
}
repositories {
mavenCentral()
jcenter()
maven("https://dl.bintray.com/ice1000/ice1000")
maven("https://jitpack.io")
}
application {
mainClassName = "org.ice1000.devkt.Main"
}
dependencies {
compileOnly(kotlin("compiler-embeddable", kotlinVersion))
val version = "v1.5-alpha"
compileOnly(group = "com.github.ice1000.dev-kt", name = "common", version = version)
runtime(group = "com.github.ice1000.dev-kt", name = "swing", version = version)
}