Skip to content

Commit 5271679

Browse files
committed
Merge branch 'develop'
2 parents 78e151a + 92c03a5 commit 5271679

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,12 @@ plugins {
55
val deploy: Task? by tasks.creating {
66
dependsOn(getTasksByName("publish", true))
77
dependsOn(getTasksByName("publishNpm", true))
8+
}
9+
10+
// This is a WA for the failure of the :model task during publication:
11+
// "Task `:model` of type `org.gradle.api.reporting.model.ModelReport`: invocation of 'Task.project' at execution time is unsupported."
12+
// model task is incompatible with configuration cache, and this WA makes a warning from this error.
13+
// Also, model tasks are going to be completely removed: https://github.com/gradle/gradle/issues/15023
14+
tasks.named("model") {
15+
notCompatibleWithConfigurationCache("uses Task.project")
816
}

0 commit comments

Comments
 (0)