Skip to content

Commit

Permalink
Enable stable config cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Feb 25, 2023
1 parent 690ece7 commit 0423e68
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ gradlePlugin {
}
}

tasks.named('publishPlugins') {
notCompatibleWithConfigurationCache("https://github.com/gradle/gradle/issues/21283")
}

publishPlugins.dependsOn 'check'

test {
Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.caching=true
org.gradle.unsafe.configuration-cache=true
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")

0 comments on commit 0423e68

Please sign in to comment.