Skip to content

Commit

Permalink
Fix Gradle warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
turansky committed Dec 25, 2024
1 parent dd58e5a commit e3a848c
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion actions-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies {
jsMainImplementation(libs.coroutines.core)
}

val syncWithWrappers by tasks.creating(SyncWrappers::class) {
val syncWithWrappers by tasks.registering(SyncWrappers::class) {
from(generatedDir)
into(kotlinWrappersDir("kotlin-actions-toolkit"))
}
6 changes: 3 additions & 3 deletions browser-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fun isFromWrapperProject(wp: WrapperProject): Spec<FileTreeElement> {
}
}

val syncKotlinJs by tasks.creating(SyncWrappers::class) {
val syncKotlinJs by tasks.registering(SyncWrappers::class) {
from(generatedDir) {
include(isFromWrapperProject(WrapperProject.JS))

Expand All @@ -142,15 +142,15 @@ val syncKotlinJs by tasks.creating(SyncWrappers::class) {
into(kotlinWrappersDir("kotlin-js"))
}

val syncKotlinWeb by tasks.creating(SyncWrappers::class) {
val syncKotlinWeb by tasks.registering(SyncWrappers::class) {
from(generatedDir) {
include(isFromWrapperProject(WrapperProject.WEB))
}

into(kotlinWrappersDir("kotlin-web"))
}

val syncKotlinBrowser by tasks.creating(SyncWrappers::class) {
val syncKotlinBrowser by tasks.registering(SyncWrappers::class) {
from(generatedDir) {
include(isFromWrapperProject(WrapperProject.BROWSER))
}
Expand Down
4 changes: 2 additions & 2 deletions cesium-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ dependencies {
jsMainImplementation(kotlinWrappers.browser)
}

val syncCesiumEngine by tasks.creating(SyncWrappers::class) {
val syncCesiumEngine by tasks.registering(SyncWrappers::class) {
from(generatedDir) {
include("cesium/engine/")
}
into(kotlinWrappersDir("kotlin-cesium-engine"))
}

val syncCesiumWidgets by tasks.creating(SyncWrappers::class) {
val syncCesiumWidgets by tasks.registering(SyncWrappers::class) {
from(generatedDir) {
include("cesium/widgets/")
}
Expand Down
2 changes: 1 addition & 1 deletion csstype-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
jsMainImplementation(kotlinWrappers.js)
}

val syncWithWrappers by tasks.creating(SyncWrappers::class) {
val syncWithWrappers by tasks.registering(SyncWrappers::class) {
from(generatedDir) {
include("web/cssom/**")
}
Expand Down
2 changes: 1 addition & 1 deletion popper-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies {
jsMainImplementation(kotlinWrappers.browser)
}

val syncWithWrappers by tasks.creating(SyncWrappers::class) {
val syncWithWrappers by tasks.registering(SyncWrappers::class) {
from(generatedDir)
into(kotlinWrappersDir("kotlin-popper"))
}
2 changes: 1 addition & 1 deletion react-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {
jsMainImplementation(kotlinWrappers.reactCore)
}

val syncWithWrappers by tasks.creating(SyncWrappers::class) {
val syncWithWrappers by tasks.registering(SyncWrappers::class) {
from(generatedDir)
into(kotlinWrappersDir("kotlin-react-dom"))
}
4 changes: 2 additions & 2 deletions react-query-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ dependencies {
jsMainImplementation(kotlinWrappers.reactCore)
}

val syncCoreWrappers by tasks.creating(SyncWrappers::class) {
val syncCoreWrappers by tasks.registering(SyncWrappers::class) {
from(generatedDir) {
include("tanstack/query/")
}
into(kotlinWrappersDir("kotlin-tanstack-query-core"))
}

val syncReactWrappers by tasks.creating(SyncWrappers::class) {
val syncReactWrappers by tasks.registering(SyncWrappers::class) {
from(generatedDir) {
include("tanstack/react/")
}
Expand Down
2 changes: 1 addition & 1 deletion react-table-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {
jsMainImplementation(kotlinWrappers.reactCore)
}

val syncWithWrappers by tasks.creating(SyncWrappers::class) {
val syncWithWrappers by tasks.registering(SyncWrappers::class) {
from(generatedDir) {
include("tanstack/table/")
}
Expand Down
2 changes: 1 addition & 1 deletion react-virtual-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies {
jsMainImplementation(kotlinWrappers.reactCore)
}

val syncWithWrappers by tasks.creating(SyncWrappers::class) {
val syncWithWrappers by tasks.registering(SyncWrappers::class) {
from(generatedDir)
into(kotlinWrappersDir("kotlin-tanstack-virtual-core"))
}

0 comments on commit e3a848c

Please sign in to comment.