diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index 42f4ad6dc6..a831658c4a 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -22,7 +22,7 @@ jobs: java-version: 17 distribution: 'temurin' - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 - name: Run check style # ignore lengthy console setup tasks run: ./gradlew --continue clean checkstyleMain checkstyleTest checkstyleIntegrationTest checkstyleSlowIntegrationTest checkstyleJmh -PmaxCheckstyleWarnings=0 -x attachHermesConsole -x prepareIndexTemplate diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98d0785c68..14f4b85c97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: java-version: 17 distribution: 'temurin' - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 - name: Build with Gradle run: ./gradlew assemble - name: Run task with Gradle diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index eda69f9d27..529665fd8d 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -13,4 +13,4 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: gradle/wrapper-validation-action@v1 + - uses: gradle/wrapper-validation-action@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d0bec195f..e21d7db11f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: java-version: '17' distribution: 'temurin' - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 - name: Release if: github.ref == 'refs/heads/master' run: ./gradlew release -Prelease.customPassword=${GITHUB_TOKEN} -Prelease.customUsername=${GITHUB_ACTOR} -Prelease.forceVersion=${FORCE_VERSION} diff --git a/build.gradle b/build.gradle index 0c855d7a33..2fae0f1441 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ buildscript { plugins { id 'java' - id 'pl.allegro.tech.build.axion-release' version '1.13.6' + id 'pl.allegro.tech.build.axion-release' version '1.17.0' id 'io.github.gradle-nexus.publish-plugin' version '1.0.0' } @@ -182,6 +182,7 @@ subprojects { tasks.withType(JavaCompile) { options.compilerArgs << "-Xlint:unchecked,deprecation" + options.compilerArgs << "-parameters" } test {