Skip to content

Commit

Permalink
Fix all the JVM toolchain stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Sep 4, 2024
1 parent 37ece2c commit 1e70634
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
jvm-version: [17]
jvm-version: [ 11 ]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion basics/basics-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {
// Setup Java/Kotlin compiler target
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
languageVersion.set(JavaLanguageVersion.of(11))
}
}

Expand Down
3 changes: 3 additions & 0 deletions basics/basics-kotlin/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ allprojects {

java {
// Configure the java toolchain to use. If not found, it will be downloaded automatically
toolchain { languageVersion = JavaLanguageVersion.of(17) }
toolchain { languageVersion = JavaLanguageVersion.of(11) }
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}

rootProject.name = "food-ordering-app"
include("restaurant", "restate-app")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}

rootProject.name = "food-ordering-app"
include("restaurant", "restate-app")

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}

rootProject.name = "java-spring"
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}
3 changes: 3 additions & 0 deletions patterns-use-cases/sagas/sagas-java/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}
2 changes: 1 addition & 1 deletion patterns-use-cases/sagas/sagas-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ dependencies {
// Setup Java/Kotlin compiler target
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
languageVersion.set(JavaLanguageVersion.of(11))
}
}
3 changes: 3 additions & 0 deletions patterns-use-cases/sagas/sagas-kotlin/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}
2 changes: 1 addition & 1 deletion templates/kotlin-gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {
// Setup Java/Kotlin compiler target
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
languageVersion.set(JavaLanguageVersion.of(11))
}
}

Expand Down
3 changes: 3 additions & 0 deletions templates/kotlin-gradle/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}

0 comments on commit 1e70634

Please sign in to comment.