File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ architectury.minecraft = libs.versions.minecraft.get()
2121val localProperties = kotlin.runCatching { loadProperties(" $rootDir /local.properties" ) }.getOrNull()
2222
2323val String .prop: String
24- get() = rootProject.properties[this ]!! .toString()
24+ get() = rootProject.properties[this ].toString()
2525
2626val String .local: String
27- get() = localProperties?.get(this )!! .toString()
27+ get() = localProperties?.get(this ).toString()
2828
2929val String .env: String
30- get() = System .getenv(this )!!
30+ get() = System .getenv(this )
3131
3232val String .localOrEnv: String
33- get() = localProperties?.get(this )?.toString() ? : System .getenv(this .uppercase())!!
33+ get() = localProperties?.get(this )?.toString() ? : System .getenv(this .uppercase())
3434
3535subprojects {
3636 apply (plugin = " dev.architectury.loom" )
You can’t perform that action at this time.
0 commit comments