Skip to content

Commit 9fe94ba

Browse files
committed
Adjust test to not trigger deprecation in Gradle 7.x
1 parent cee5827 commit 9fe94ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/gradlex/javamodule/dependencies/test/CustomizationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ void can_add_custom_mapping_via_properties_file_in_custom_location() {
8787
@Test
8888
void can_use_custom_catalog() {
8989
build.settingsFile.appendText("""
90-
dependencyResolutionManagement.versionCatalogs.create("modules") {
90+
dependencyResolutionManagement.versionCatalogs.create("moduleLibs") {
9191
version("org.apache.xmlbeans", "5.0.1")
9292
version("com.fasterxml.jackson.databind", "2.12.5")
9393
}""");
9494
build.appBuildFile.appendText("""
95-
javaModuleDependencies.versionCatalogName.set("modules")""");
95+
javaModuleDependencies.versionCatalogName.set("moduleLibs")""");
9696
build.appModuleInfoFile.writeText("""
9797
module org.gradlex.test.app {
9898
requires com.fasterxml.jackson.databind;

0 commit comments

Comments
 (0)