From b7a4003f4a1c474d7baf7a3f67d1a40b734c477f Mon Sep 17 00:00:00 2001 From: Stef Tervelde Date: Fri, 20 Dec 2024 18:07:16 +0100 Subject: [PATCH] Legacy Tasks explaination --- app/build.gradle.kts | 7 ++++--- java/build.gradle.kts | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 818a8313c..383c26fd0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -4,12 +4,11 @@ import org.jetbrains.compose.internal.de.undercouch.gradle.tasks.download.Downlo plugins{ id("java") - kotlin("jvm") version libs.versions.kotlin + alias(libs.plugins.compose.compiler) alias(libs.plugins.jetbrainsCompose) alias(libs.plugins.serialization) - alias(libs.plugins.download) } @@ -102,7 +101,9 @@ dependencies { implementation(libs.kaml) } -// LEGACY ACTIONS +// LEGACY TASKS +// Most of these are shims to be compatible with the old build system +// They should be removed in the future, as we work towards making things more Gradle-native tasks.register("copyCore"){ dependsOn(project(":core").tasks.jar) from(project(":core").layout.buildDirectory.dir("libs")) diff --git a/java/build.gradle.kts b/java/build.gradle.kts index 65a960944..0f8e05278 100644 --- a/java/build.gradle.kts +++ b/java/build.gradle.kts @@ -44,6 +44,9 @@ tasks.compileJava{ options.encoding = "UTF-8" } +// LEGACY TASKS +// Most of these are shims to be compatible with the old build system +// They should be removed in the future, as we work towards making things more Gradle-native tasks.register("extraResources"){ dependsOn(":java:copyCore") from(".")