Skip to content

Commit

Permalink
Update Gradle to 8.10 and improve workflow setup
Browse files Browse the repository at this point in the history
Upgraded the Gradle distribution URL and wrapper version to 8.10. Modified GitHub Actions workflow to use a more streamlined setup with updated Gradle actions and simplified the test run command. Also updated Kotlin plugin to version 2.0.20.
  • Loading branch information
timakden committed Aug 23, 2024
1 parent ebb409f commit 70ab226
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ jobs:
java-version: '21'
distribution: 'liberica'

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build with Gradle
uses: gradle/gradle-build-action@v3
with:
gradle-version: 8.9
arguments: build
- name: Run the tests
run: ./gradlew check
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21
plugins {
idea
id("com.github.ben-manes.versions") version "0.51.0"
kotlin("jvm") version "2.0.10"
kotlin("jvm") version "2.0.20"
}

group = "ru.timakden"
Expand Down Expand Up @@ -51,7 +51,7 @@ tasks {
useJUnitPlatform()
}
wrapper {
gradleVersion = "8.9"
gradleVersion = "8.10"
}
}

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 70ab226

Please sign in to comment.