-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
61 lines (50 loc) · 1.67 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
58
59
60
61
plugins {
kotlin("jvm") version "1.8.20"
application
id("pl.allegro.tech.build.axion-release") version "1.15.0"
id("maven-publish")
}
group = "gh.marad.tiler"
version = scmVersion.version
repositories {
mavenLocal()
mavenCentral()
maven("https://packages.jetbrains.team/maven/p/skija/maven")
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
implementation("net.java.dev.jna:jna-platform:5.13.0")
implementation("org.greenrobot:eventbus-java:3.3.1")
implementation("com.melloware:jintellitype:1.4.1")
implementation("org.yaml:snakeyaml:2.0")
implementation("com.offbytwo:docopt:0.6.0.20150202")
implementation("org.slf4j:slf4j-api:2.0.7")
implementation("org.slf4j:slf4j-simple:2.0.7")
testImplementation(kotlin("test"))
testImplementation("io.kotest:kotest-runner-junit5:5.6.1")
testImplementation("io.kotest:kotest-property:5.6.1")
testImplementation("com.tngtech.archunit:archunit-junit5:1.0.1")
testImplementation("org.jetbrains.skija:skija-windows:0.93.6")
testImplementation("org.lwjgl:lwjgl:3.3.2")
testImplementation("org.lwjgl:lwjgl-opengl:3.3.2")
testImplementation("org.lwjgl:lwjgl-glfw:3.3.2")
testImplementation("org.lwjgl:lwjgl:3.3.2:natives-windows")
testImplementation("org.lwjgl:lwjgl-opengl:3.3.2:natives-windows")
testImplementation("org.lwjgl:lwjgl-glfw:3.3.2:natives-windows")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(11)
}
application {
mainClass.set("gh.marad.tiler.MainKt")
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}