Skip to content

Commit b7a4003

Browse files
committed
Legacy Tasks explaination
1 parent a249a44 commit b7a4003

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

app/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ import org.jetbrains.compose.internal.de.undercouch.gradle.tasks.download.Downlo
44

55
plugins{
66
id("java")
7-
87
kotlin("jvm") version libs.versions.kotlin
8+
99
alias(libs.plugins.compose.compiler)
1010
alias(libs.plugins.jetbrainsCompose)
1111
alias(libs.plugins.serialization)
12-
1312
alias(libs.plugins.download)
1413
}
1514

@@ -102,7 +101,9 @@ dependencies {
102101
implementation(libs.kaml)
103102
}
104103

105-
// LEGACY ACTIONS
104+
// LEGACY TASKS
105+
// Most of these are shims to be compatible with the old build system
106+
// They should be removed in the future, as we work towards making things more Gradle-native
106107
tasks.register<Copy>("copyCore"){
107108
dependsOn(project(":core").tasks.jar)
108109
from(project(":core").layout.buildDirectory.dir("libs"))

java/build.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ tasks.compileJava{
4444
options.encoding = "UTF-8"
4545
}
4646

47+
// LEGACY TASKS
48+
// Most of these are shims to be compatible with the old build system
49+
// They should be removed in the future, as we work towards making things more Gradle-native
4750
tasks.register<Copy>("extraResources"){
4851
dependsOn(":java:copyCore")
4952
from(".")

0 commit comments

Comments
 (0)