diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index 64b032c..51e0c10 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -11,10 +11,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'zulu' - name: Setup Gradle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c723e8..19881cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,10 +12,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '17' + java-version: '21' distribution: 'zulu' - name: Setup Gradle diff --git a/build.gradle.kts b/build.gradle.kts index 8c6ab81..0008747 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -35,7 +35,7 @@ dependencies { compileOnly("com.github.Elikill58:Negativity:2.7.1") //other dependencies implementation("com.moandjiezana.toml:toml4j:0.7.2") - compileOnly("org.leavesmc.leaves:leaves-api:1.20.6-R0.1-SNAPSHOT") + compileOnly("org.leavesmc.leaves:leaves-api:1.21-R0.1-SNAPSHOT") implementation("dev.jorel:commandapi-bukkit-shade-mojang-mapped:${commandAPIVer}") implementation("dev.jorel:commandapi-bukkit-kotlin:${commandAPIVer}") implementation("org.jetbrains.kotlin:kotlin-stdlib:1.9.0")