Skip to content

Commit 20324af

Browse files
committed
Use configuration cache
Supposedly, `org.gradle.configuration-cache.problems=warn` has been fixed in Gradle 9 and should allow the plugin to publish despite the fact that the publish plugin is not yet compatible with it. If this build fails, they lied.
1 parent 002658f commit 20324af

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
build:
12-
uses: MinecraftForge/SharedActions/.github/workflows/gradle.yml@main
12+
uses: MinecraftForge/SharedActions/.github/workflows/gradle.yml@v0
1313
with:
1414
java: 17
1515
gradle_tasks: "publish publishPlugins"

gradle.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ org.gradle.caching=true
22
org.gradle.parallel=true
33
org.gradle.configureondemand=true
44

5-
#org.gradle.configuration-cache=true
6-
#org.gradle.configuration-cache.parallel=true
5+
org.gradle.configuration-cache=true
6+
org.gradle.configuration-cache.parallel=true
7+
org.gradle.configuration-cache.problems=warn
78

89
systemProp.org.gradle.unsafe.suppress-gradle-api=true

0 commit comments

Comments
 (0)