diff --git a/.github/workflows/update_gradle_wrapper.yml b/.github/workflows/update_gradle_wrapper.yml new file mode 100644 index 000000000..d2f6c24ee --- /dev/null +++ b/.github/workflows/update_gradle_wrapper.yml @@ -0,0 +1,33 @@ +name: Gradle wrapper update + +on: + schedule: + - cron: "0 8 * * MON" + +jobs: + update: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v3 + - name: set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: 17 + distribution: zulu + + - name: update gradle + id: gradleUpdate + uses: EdwarDDay/upgrade-gradle-action@v1 + + - name: create pull request + uses: peter-evans/create-pull-request@v3 + with: + commit-message: "Update gradle to ${{ steps.gradleUpdate.outputs.gradle-version }}" + branch: "gradle_update/version_${{ steps.gradleUpdate.outputs.gradle-version }}" + delete-branch: true + title: "Update gradle to ${{ steps.gradleUpdate.outputs.gradle-version }}" + body: | + ${{ steps.gradleUpdate.outputs.version-information }} + + labels: "dependencies,gradle" \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 26f0c049c..80f08d030 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Thu May 18 21:46:55 CEST 2023 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists