From f694daf322bbb4ff530a9332547c5c8337c3e0c0 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 8 Jan 2025 18:48:48 +0100 Subject: build: Use more modern arch loom --- build-src/build.gradle.kts | 4 ++-- build-src/src/main/kotlin/ledger-globals.gradle.kts | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'build-src') 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 { this.isReproducibleFileOrder = true } +tasks.withType { + useJUnitPlatform() +} + +tasks.withType { + options.encoding = "UTF-8" +} + + -- cgit