Enumeration of Gradle artifact types.
- *Note: Based on {@code org.gradle:gradle-tooling-api:8.9}.
+ *Note: Based on {@code org.gradle:gradle-tooling-api:8.10}.
* @see https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_plugin_and_dependency_management * @see https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_configurations_graph * @since 1.0.0 diff --git a/src/main/java/com/github/alexisjehan/mvncheck/core/component/artifact/type/MavenArtifactType.java b/src/main/java/com/github/alexisjehan/mvncheck/core/component/artifact/type/MavenArtifactType.java index 5c37c1a..5ba2796 100644 --- a/src/main/java/com/github/alexisjehan/mvncheck/core/component/artifact/type/MavenArtifactType.java +++ b/src/main/java/com/github/alexisjehan/mvncheck/core/component/artifact/type/MavenArtifactType.java @@ -27,7 +27,7 @@ /** *Enumeration of Maven artifact types.
- *Note: Based on {@code org.apache.maven:maven-core:3.9.8}.
+ *Note: Based on {@code org.apache.maven:maven-core:3.9.9}.
* @see https://maven.apache.org/ref/current/maven-model/maven.html * @since 1.0.0 */ diff --git a/src/test/java/com/github/alexisjehan/mvncheck/core/component/build/resolver/GradleBuildResolverIT.java b/src/test/java/com/github/alexisjehan/mvncheck/core/component/build/resolver/GradleBuildResolverIT.java index 4a39dc7..a0e2d71 100644 --- a/src/test/java/com/github/alexisjehan/mvncheck/core/component/build/resolver/GradleBuildResolverIT.java +++ b/src/test/java/com/github/alexisjehan/mvncheck/core/component/build/resolver/GradleBuildResolverIT.java @@ -56,7 +56,7 @@ final class GradleBuildResolverIT { @Test void testUpToDate() { - assertThat(GradleUtils.VERSION).startsWith("8.9"); // Ensure tests are up-to-date after updating Gradle + assertThat(GradleUtils.VERSION).startsWith("8.10"); // Ensure tests are up-to-date after updating Gradle } @ParameterizedTest @@ -150,6 +150,13 @@ void testResolveSinceGradle68UntilJava22(final String gradleVersion, @TempDir fi testResolveSinceGradle68(gradleVersion, tmpDirectory); } + @ParameterizedTest + @EnabledForJreRange(max = JRE.JAVA_23) + @ValueSource(strings = "8.10") + void testResolveSinceGradle68UntilJava23(final String gradleVersion, @TempDir final Path tmpDirectory) { + testResolveSinceGradle68(gradleVersion, tmpDirectory); + } + private void testResolveUntilGradle67(final String gradleVersion, final Path tmpDirectory) { try (var mockedStaticGradleUtils = Mockito.mockStatic(GradleUtils.class)) { mockedStaticGradleUtils.when(GradleUtils::retrieveOptionalHome)