-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
46 lines (38 loc) · 1.06 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
plugins {
kotlin("jvm") version "1.9.22"
application
}
group = "com.feczkob.osmtiles"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("io.github.cdimascio:dotenv-java:2.2.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
testImplementation("com.tngtech.archunit:archunit-junit5:1.2.1")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.1")
}
tasks.withType<Test> {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
sourceSets.all {
languageSettings {
languageVersion = "2.0"
}
}
}
tasks.register<JavaExec>("fetchTiles") {
group = "tiles"
description = "Fetches the tiles from OSM"
mainClass = "com.feczkob.osmtiles.GenerateTilesKt"
classpath = sourceSets.main.get().runtimeClasspath
}
tasks.register<JavaExec>("renameTiles") {
group = "tiles"
description = "Renames the tiles to start from 0,0"
mainClass = "com.feczkob.osmtiles.rename.RenameTilesKt"
classpath = sourceSets.main.get().runtimeClasspath
}