Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the java toolchains plugin
Browse files Browse the repository at this point in the history
slinkydeveloper committed Jan 9, 2024
1 parent d1508d7 commit b5f2cfc
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'

# Setup node
- uses: actions/setup-node@v3
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -79,9 +79,11 @@ allprojects {
}
}

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

4 changes: 4 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -9,6 +9,10 @@

rootProject.name = "restate-e2e"

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.7.0")
}

include(
"contracts",
"services:java-services",

0 comments on commit b5f2cfc

Please sign in to comment.