Skip to content

Commit

Permalink
Up JDK 11 -> 22 & Gradle 8.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-x committed Jul 31, 2024
1 parent b12fdf9 commit 1f2cd46
Show file tree
Hide file tree
Showing 7 changed files with 209 additions and 153 deletions.
2 changes: 1 addition & 1 deletion backend/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`maven-publish`
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "2.0.0"
}

dependencies {
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

val javaVersion = JavaVersion.VERSION_11
val javaVersion = JavaVersion.VERSION_22

plugins {
base
kotlin("jvm") version "1.7.10"
kotlin("jvm") version "2.0.0"
}

allprojects {
Expand Down
11 changes: 4 additions & 7 deletions frontend/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
kotlin("jvm") version "1.7.10"
id("org.openjfx.javafxplugin") version "0.0.13"
kotlin("jvm") version "2.0.0"
id("org.openjfx.javafxplugin") version "0.0.14"
}

val gprUser: String? = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME") ?: System.getenv("GITHUB_ACTOR")
Expand All @@ -19,18 +19,15 @@ repositories {
dependencies {
implementation(projects.backend)

implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1")
implementation("com.displee:disio:2.2")
implementation("com.displee:rs-cache-library:6.8.1")
// if (gprUser != null && gprKey != null) {
// implementation("io.blurite:rscm:1.0")
// }
implementation("org.fxmisc.richtext:richtextfx:0.10.9")
implementation("com.google.code.gson:gson:2.9.0")
}

javafx {
version = "11"
version = "22"
modules = listOf("javafx.controls", "javafx.fxml")
}

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 1f2cd46

Please sign in to comment.