Skip to content

Commit

Permalink
Legacy Tasks explaination
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefterv committed Dec 20, 2024
1 parent a249a44 commit b7a4003
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down Expand Up @@ -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<Copy>("copyCore"){
dependsOn(project(":core").tasks.jar)
from(project(":core").layout.buildDirectory.dir("libs"))
Expand Down
3 changes: 3 additions & 0 deletions java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Copy>("extraResources"){
dependsOn(":java:copyCore")
from(".")
Expand Down

0 comments on commit b7a4003

Please sign in to comment.