mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
fix not getting environment variable
This commit is contained in:
parent
36a2bd23a6
commit
71e0761476
2 changed files with 3 additions and 3 deletions
1
.github/workflows/gradle.yml
vendored
1
.github/workflows/gradle.yml
vendored
|
|
@ -19,7 +19,6 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ group = "xyz.alexcrea"
|
||||||
version = "1.11.3"
|
version = "1.11.3"
|
||||||
|
|
||||||
val effectiveVersion = "$version" +
|
val effectiveVersion = "$version" +
|
||||||
{(if(project.hasProperty("smallCommitHash")) "-${project.property("smallCommitHash")}" else "")}
|
{ (if (System.getenv("SMALL_COMMIT_HASH") != null) "-${System.getenv("SMALL_COMMIT_HASH")!!}" else "") }
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
// EcoEnchants
|
// EcoEnchants
|
||||||
|
|
@ -118,7 +118,8 @@ allprojects {
|
||||||
|
|
||||||
// Set target version
|
// Set target version
|
||||||
tasks.withType<JavaCompile>().configureEach {
|
tasks.withType<JavaCompile>().configureEach {
|
||||||
sourceCompatibility = "16" // We aim for java 16 for minecraft 1.16.5. even if it not really suported by custom anvil.
|
sourceCompatibility =
|
||||||
|
"16" // We aim for java 16 for minecraft 1.16.5. even if it not really suported by custom anvil.
|
||||||
targetCompatibility = "16"
|
targetCompatibility = "16"
|
||||||
|
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue