Skip to content

Commit 97ca981

Browse files
committed
ci
1 parent 2614178 commit 97ca981

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ jobs:
1717
git config user.name github-actions[bot]
1818
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
1919
- name: Setup Java
20-
uses: actions/setup-java@v1
20+
uses: actions/setup-java@v4
2121
with:
2222
java-version: 17
23+
distribution: 'zulu'
2324
- name: Setup Python
2425
uses: actions/setup-python@v5
2526
with:

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ architectury.minecraft = libs.versions.minecraft.get()
2121
val localProperties = kotlin.runCatching { loadProperties("$rootDir/local.properties") }.getOrNull()
2222

2323
val String.prop: String
24-
get() = rootProject.properties[this]!!.toString()
24+
get() = rootProject.properties[this].toString()
2525

2626
val String.local: String
27-
get() = localProperties?.get(this)!!.toString()
27+
get() = localProperties?.get(this).toString()
2828

2929
val String.env: String
30-
get() = System.getenv(this)!!
30+
get() = System.getenv(this)
3131

3232
val String.localOrEnv: String
33-
get() = localProperties?.get(this)?.toString() ?: System.getenv(this.uppercase())!!
33+
get() = localProperties?.get(this)?.toString() ?: System.getenv(this.uppercase())
3434

3535
subprojects {
3636
apply(plugin = "dev.architectury.loom")

0 commit comments

Comments
 (0)