Skip to content

Commit

Permalink
Update the gradle-tooling-api dependency to 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisJehan committed Apr 13, 2023
1 parent f1823cd commit 2d0016f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Improve resolving _Gradle_ build files by filtering to exclude local repositories

### Notes
- Update the `gradle-tooling-api` dependency to `8.1`
- Update `mockito-core` and `mockito-junit-jupiter` dependencies to `5.3.0`
- Update the `license-maven-plugin` plugin to `4.2`
- Update the `jacoco-maven-plugin` plugin to `0.8.9`
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<dependency>
<groupId>org.gradle</groupId>
<artifactId>gradle-tooling-api</artifactId>
<version>8.0.2</version>
<version>8.1</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/**
* <p>Enumeration of <i>Gradle</i> artifact types.</p>
* <p><b>Note</b>: Based on {@code org.gradle:gradle-tooling-api:8.0.1}.</p>
* <p><b>Note</b>: Based on {@code org.gradle:gradle-tooling-api:8.1}.</p>
* @see <a href="https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_plugin_and_dependency_management">https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_plugin_and_dependency_management</a>
* @see <a href="https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_configurations_graph">https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_configurations_graph</a>
* @since 1.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ final class GradleBuildResolverIT {

@Test
void testUpToDate() {
assertThat(GradleUtils.getVersion()).startsWith("8.0"); // Ensure tests are up-to-date after updating Gradle
assertThat(GradleUtils.getVersion()).startsWith("8.1"); // Ensure tests are up-to-date after updating Gradle
}

@ParameterizedTest
Expand Down Expand Up @@ -108,7 +108,14 @@ void testResolveSinceGradle68UntilJava18(final String gradleVersion, @TempDir fi
}

@ParameterizedTest
@EnabledForJreRange(max = JRE.JAVA_19)
@ValueSource(strings = {"7.6", "8.0"})
void testResolveSinceGradle68UntilJava19(final String gradleVersion, @TempDir final Path tmpDirectory) {
testResolveSinceGradle68(gradleVersion, tmpDirectory);
}

@ParameterizedTest
@ValueSource(strings = "8.1")
void testResolveSinceGradle68UntilJavaLatest(final String gradleVersion, @TempDir final Path tmpDirectory) {
testResolveSinceGradle68(gradleVersion, tmpDirectory);
}
Expand Down

0 comments on commit 2d0016f

Please sign in to comment.