From be4e8f7a9ac827abab71bd87f8a8e3ba7a81e63e Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 19 Apr 2023 09:10:29 -0400 Subject: [PATCH] Migrating to Java 17 because of the new IntelliJ version --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/run-ui-tests.yml | 4 ++-- build.gradle.kts | 2 +- gradle.properties | 2 ++ 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e5cb0d..fd34bf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,12 +48,12 @@ jobs: - name: Gradle Wrapper Validation uses: gradle/wrapper-validation-action@v1.0.4 - # Setup Java 11 environment for the next steps + # Setup Java 17 environment for the next steps - name: Setup Java uses: actions/setup-java@v3 with: distribution: zulu - java-version: 11 + java-version: 17 # Set environment variables - name: Export Properties diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fb8f261..7d57e0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,12 +23,12 @@ jobs: with: ref: ${{ github.event.release.tag_name }} - # Setup Java 11 environment for the next steps + # Setup Java 17 environment for the next steps - name: Setup Java uses: actions/setup-java@v3 with: distribution: zulu - java-version: 11 + java-version: 17 # Set environment variables - name: Export Properties diff --git a/.github/workflows/run-ui-tests.yml b/.github/workflows/run-ui-tests.yml index 1e4456d..0eb49b5 100644 --- a/.github/workflows/run-ui-tests.yml +++ b/.github/workflows/run-ui-tests.yml @@ -35,12 +35,12 @@ jobs: - name: Fetch Sources uses: actions/checkout@v3 - # Setup Java 11 environment for the next steps + # Setup Java 17 environment for the next steps - name: Setup Java uses: actions/setup-java@v3 with: distribution: zulu - java-version: 11 + java-version: 17 # Run IDEA prepared for UI testing - name: Run IDE diff --git a/build.gradle.kts b/build.gradle.kts index 5b1c72c..e05d084 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -63,7 +63,7 @@ dependencies { // Set the JVM language level used to compile sources and generate files - Java 11 is required since 2020.3 kotlin { jvmToolchain { - languageVersion.set(JavaLanguageVersion.of(11)) + languageVersion.set(JavaLanguageVersion.of(17)) } } diff --git a/gradle.properties b/gradle.properties index 8bd0597..8e850ee 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,3 +19,5 @@ gradleVersion = 7.5.1 # Opt-out flag for bundling Kotlin standard library -> https://plugins.jetbrains.com/docs/intellij/kotlin.html#kotlin-standard-library # suppress inspection "UnusedProperty" kotlin.stdlib.default.dependency = false + +org.gradle.jvmargs=-Xmx1024m "-XX:MaxMetaspaceSize=512m" \ No newline at end of file