File tree 5 files changed +13
-8
lines changed
5 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ jobs:
15
15
- name : Checkout latest code
16
16
uses : actions/checkout@v2
17
17
18
- - name : Set up JDK 17
18
+ - name : Set up JDK 21
19
19
uses : actions/setup-java@v2
20
20
with :
21
21
distribution : ' temurin'
22
- java-version : 17
22
+ java-version : 21
23
23
24
24
- name : Change wrapper permissions
25
25
run : chmod +x ./gradlew
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
3
3
`java- library`
4
4
`maven- publish`
5
5
kotlin(" jvm" ) version " 1.9.20"
6
- id(" com .github.johnrengelman .shadow" ) version " 8.0.0 "
6
+ id(" io .github.goooler .shadow" ) version " 8.1.7 "
7
7
id(" com.willfp.libreforge-gradle-plugin" ) version " 1.0.0"
8
8
}
9
9
@@ -23,7 +23,7 @@ allprojects {
23
23
apply (plugin = " java" )
24
24
apply (plugin = " kotlin" )
25
25
apply (plugin = " maven-publish" )
26
- apply (plugin = " com .github.johnrengelman .shadow" )
26
+ apply (plugin = " io .github.goooler .shadow" )
27
27
28
28
repositories {
29
29
mavenLocal()
@@ -44,7 +44,7 @@ allprojects {
44
44
45
45
java {
46
46
withSourcesJar()
47
- toolchain.languageVersion.set(JavaLanguageVersion .of(17 ))
47
+ toolchain.languageVersion.set(JavaLanguageVersion .of(21 ))
48
48
}
49
49
50
50
tasks {
@@ -55,7 +55,7 @@ allprojects {
55
55
56
56
compileKotlin {
57
57
kotlinOptions {
58
- jvmTarget = " 17 "
58
+ jvmTarget = " 21 "
59
59
}
60
60
}
61
61
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.7-bin.zip
4
+ networkTimeout =10000
5
+ validateDistributionUrl =true
4
6
zipStoreBase =GRADLE_USER_HOME
5
7
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -2,12 +2,15 @@ pluginManagement {
2
2
repositories {
3
3
gradlePluginPortal()
4
4
mavenLocal()
5
- maven(" https://repo.jpenilla.xyz/snapshots/" )
6
5
maven(" https://repo.auxilor.io/repository/maven-public/" )
7
6
maven(" https://repo.papermc.io/repository/maven-public/" )
8
7
}
9
8
}
10
9
10
+ plugins {
11
+ id(" org.gradle.toolchains.foojay-resolver-convention" ) version " 0.8.0"
12
+ }
13
+
11
14
rootProject.name = " EcoMobs"
12
15
13
16
// Core
You can’t perform that action at this time.
0 commit comments