We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78e151a + 92c03a5 commit 5271679Copy full SHA for 5271679
build.gradle.kts
@@ -5,4 +5,12 @@ plugins {
5
val deploy: Task? by tasks.creating {
6
dependsOn(getTasksByName("publish", true))
7
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")
16
}
0 commit comments