Skip to content

Commit 6b835fe

Browse files
jpenillalynxplay
authored andcommitted
Allow cache writes
1 parent b1a23a1 commit 6b835fe

File tree

5 files changed

+4
-2
lines changed

5 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ jobs:
2222
distribution: 'temurin'
2323
- name: Setup Gradle
2424
uses: gradle/actions/setup-gradle@v4
25+
with:
26+
cache-read-only: ${{ github.ref != 'refs/heads/master' && github.ref != 'refs/heads/multi-project' }}
2527
- name: Build
2628
run: ./gradlew build

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
id("com.gradleup.shadow") version "8.3.5"
1010
}
1111

12-
java.disableAutoTargetJvm() // Allow consuming JVM 21 projects (i.e. paper_1_21_4) even though our release is 17
12+
java.disableAutoTargetJvm() // Allow consuming JVM 21 projects (i.e. paper_1_21_5) even though our release is 17
1313

1414
dependencies {
1515
compileOnly("io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT")

paper_1_21_4/src/main/java/my/plugin/hooks/paper_1_21_4/PaperHooks1_21_4.java renamed to paper_1_21_5/src/main/java/my/plugin/hooks/paper_1_21_4/PaperHooks1_21_4.java

File renamed without changes.

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ rootProject.name = "paperweight-test-plugin"
77
include("paper_hooks")
88
include("paper_1_17_1")
99
include("paper_1_19_4")
10-
include("paper_1_21_4")
10+
include("paper_1_21_5")

0 commit comments

Comments
 (0)