Skip to content

Commit e281012

Browse files
committed
Update to 6.6.2
1 parent b0dac86 commit e281012

File tree

7 files changed

+69
-53
lines changed

7 files changed

+69
-53
lines changed

.github/workflows/gradle.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
11-
- name: Set up JDK 17
12-
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
10+
- uses: actions/checkout@v4.2.2
11+
- name: Set up JDK 21
12+
uses: actions/setup-java@v4.7.1
1313
with:
14-
java-version: '17'
14+
java-version: '21'
1515
distribution: 'temurin'
1616
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
1717
settings-path: ${{ github.workspace }} # location for the settings.xml file
1818

19-
- uses: burrunan/gradle-cache-action@03c71a8ba93d670980695505f48f49daf43704a6
19+
- uses: burrunan/gradle-cache-action@v3.0.1
2020
name: Build BiomeTool
2121
with:
2222
# Specifies arguments for Gradle execution
@@ -37,8 +37,11 @@ jobs:
3737
kotlin.parallel.tasks.in.project=true
3838
3939
- name: Release
40-
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
40+
uses: softprops/action-gh-release@v2.2.2
4141
if: startsWith(github.ref, 'refs/tags/')
4242
with:
4343
files: |
44-
build/libs/BiomeTool-*-all.jar
44+
build/libs/BiomeTool-*-all.jar
45+
build/libs/BiomeTool-*-linux.jar
46+
build/libs/BiomeTool-*-osx.jar
47+
build/libs/BiomeTool-*-win.jar

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ All of these files bundle the required javafx libraries, so you can run them wit
2727

2828
Note: You **must** be using Java 17. It will not work with earlier versions.
2929

30-
Use Java 17
30+
Use Java 21
3131

3232
## Screenshots
3333

build.gradle.kts

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
import com.github.jengelman.gradle.plugins.shadow.ShadowJavaPlugin
2-
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation
32
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
43
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
54
import java.net.URL
65

76
plugins {
87
application
9-
kotlin("jvm") version "1.9.21"
8+
kotlin("jvm") version "2.1.21"
109
id("org.openjfx.javafxplugin") version "0.1.0"
11-
id("com.github.johnrengelman.shadow") version "7.1.2"
10+
id("com.gradleup.shadow") version "8.3.6"
1211
}
1312

1413
var mainClassName: String by application.mainClass
1514
mainClassName = "com.dfsek.terra.biometool.BiomeToolLauncher"
1615

1716
group = "com.dfsek"
18-
version = "0.4.8"
17+
version = "0.4.9"
1918

2019
val runDir = file("$buildDir/run")
2120

@@ -32,8 +31,8 @@ repositories {
3231
}
3332

3433
java {
35-
targetCompatibility = JavaVersion.VERSION_17
36-
sourceCompatibility = JavaVersion.VERSION_17
34+
targetCompatibility = JavaVersion.VERSION_21
35+
sourceCompatibility = JavaVersion.VERSION_21
3736
}
3837

3938
val javafxModules = listOf(
@@ -47,7 +46,7 @@ val javafxModules = listOf(
4746
)
4847

4948
javafx {
50-
version = "17.0.9"
49+
version = "21.0.2"
5150
modules = javafxModules.map { "javafx.$it" }
5251
}
5352

@@ -100,7 +99,7 @@ dependencies {
10099
implementation(kotlin("stdlib"))
101100
implementation(kotlin("reflect"))
102101

103-
val terraGitHash = "3aef97738"
102+
val terraGitHash = "af9fb211a"
104103

105104
bootstrapTerraAddon("com.dfsek.terra:api-addon-loader:0.1.0-BETA+$terraGitHash")
106105
bootstrapTerraAddon("com.dfsek.terra:manifest-addon-loader:1.0.0-BETA+$terraGitHash")
@@ -121,7 +120,7 @@ dependencies {
121120
terraAddon("com.dfsek.terra:config-feature:1.0.0-BETA+$terraGitHash")
122121
terraAddon("com.dfsek.terra:config-flora:1.0.1-BETA+$terraGitHash")
123122
terraAddon("com.dfsek.terra:config-locators:1.1.1-BETA+$terraGitHash")
124-
terraAddon("com.dfsek.terra:config-noise-function:1.1.0-BETA+$terraGitHash")
123+
terraAddon("com.dfsek.terra:config-noise-function:1.2.0-BETA+$terraGitHash")
125124
terraAddon("com.dfsek.terra:config-number-predicate:1.0.0-BETA+$terraGitHash")
126125
terraAddon("com.dfsek.terra:config-ore:1.1.1-BETA+$terraGitHash")
127126
terraAddon("com.dfsek.terra:config-palette:1.0.0-BETA+$terraGitHash")
@@ -141,21 +140,21 @@ dependencies {
141140
terraAddon("com.dfsek.terra:terrascript-function-sampler:1.0.0-BETA+$terraGitHash")
142141

143142

144-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
143+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2")
145144

146-
implementation("com.dfsek.terra:base:6.4.1-BETA+$terraGitHash")
145+
implementation("com.dfsek.terra:base:6.6.2-BETA+$terraGitHash")
147146

148-
implementation("ca.solo-studios:slf4k:0.5.3")
147+
implementation("ca.solo-studios:slf4k:0.5.4")
149148

150-
implementation("ch.qos.logback:logback-classic:1.4.14")
149+
implementation("ch.qos.logback:logback-classic:1.5.18")
151150

152-
implementation("com.google.guava:guava:32.1.3-jre")
151+
implementation("com.google.guava:guava:33.4.8-jre")
153152

154153
implementation("no.tornado:tornadofx:1.7.20") {
155154
exclude("org.jetbrains.kotlin")
156155
}
157156

158-
implementation("commons-io:commons-io:2.15.1")
157+
implementation("commons-io:commons-io:2.19.0")
159158

160159
for (javafxModule in javafxModules) {
161160
val mavenCoordinates = "org.openjfx:javafx-$javafxModule:${javafx.version}"
@@ -166,15 +165,15 @@ dependencies {
166165
}
167166

168167
// Jansi for terminal colouring on Windows
169-
windowsImplementation("org.fusesource.jansi:jansi:2.4.1")
168+
windowsImplementation("org.fusesource.jansi:jansi:2.4.2")
170169
}
171170

172171
tasks.test {
173172
useJUnitPlatform()
174173
}
175174

176175
tasks.withType<KotlinCompile>() {
177-
kotlinOptions.jvmTarget = "17"
176+
kotlinOptions.jvmTarget = "21"
178177
}
179178

180179
val jar by tasks.jar
@@ -192,12 +191,6 @@ tasks.withType<ShadowJar>() {
192191
configurations.add(project.configurations.runtimeClasspath.orNull)
193192
exclude("META-INF/INDEX.LIST", "META-INF/*.SF", "META-INF/*.DSA", "META-INF/*.RSA", "module-info.class")
194193

195-
tasks.register<ConfigureShadowRelocation>(
196-
ConfigureShadowRelocation.taskName(this)
197-
) {
198-
this@withType.dependsOn(this)
199-
}
200-
201194
doFirst {
202195
archiveVersion.set(project.version.toString())
203196
}
@@ -263,7 +256,7 @@ val downloadDefaultPacks: Task by tasks.creating() {
263256
group = "application"
264257

265258
doFirst {
266-
val defaultPack = URL("https://github.com/PolyhedralDev/TerraOverworldConfig/releases/download/latest/default.zip")
259+
val defaultPack = URL("https://github.com/PolyhedralDev/TerraOverworldConfig/releases/download/v1.5.1/default.zip")
267260
val fileName = defaultPack.file.substring(defaultPack.file.lastIndexOf("/"))
268261

269262
file("$runDir/packs/").mkdirs()

gradle/wrapper/gradle-wrapper.jar

-15.7 KB
Binary file not shown.
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=9d926787066a081739e8200858338b4a69e837c3a821a33aca9db09dd4a41026
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
3+
distributionSha256Sum=7197a12f450794931532469d4ff21a59ea2c1cd59a3ec3f89c035c3c420a6999
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
5+
networkTimeout=10000
6+
validateDistributionUrl=true
57
zipStoreBase=GRADLE_USER_HOME
68
zipStorePath=wrapper/dists

gradlew

Lines changed: 28 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 9 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)