diff options
Diffstat (limited to 'build-src')
-rw-r--r-- | build-src/build.gradle.kts | 4 | ||||
-rw-r--r-- | build-src/src/main/kotlin/ledger-globals.gradle.kts | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/build-src/build.gradle.kts b/build-src/build.gradle.kts index f203fd6..5e53bfc 100644 --- a/build-src/build.gradle.kts +++ b/build-src/build.gradle.kts @@ -1,11 +1,11 @@ plugins { - kotlin("jvm") version "2.0.20" + `embedded-kotlin` `kotlin-dsl` } repositories { mavenCentral() } dependencies { - implementation("com.google.code.gson:gson:2.11.0") + implementation("com.google.code.gson:gson:2.9.1") // Match loom :) implementation(gradleApi()) } diff --git a/build-src/src/main/kotlin/ledger-globals.gradle.kts b/build-src/src/main/kotlin/ledger-globals.gradle.kts index 0d1c3c4..036c63d 100644 --- a/build-src/src/main/kotlin/ledger-globals.gradle.kts +++ b/build-src/src/main/kotlin/ledger-globals.gradle.kts @@ -13,3 +13,12 @@ tasks.withType<AbstractArchiveTask> { this.isReproducibleFileOrder = true } +tasks.withType<Test> { + useJUnitPlatform() +} + +tasks.withType<JavaCompile> { + options.encoding = "UTF-8" +} + + |