File tree Expand file tree Collapse file tree 2 files changed +8
-18
lines changed
Expand file tree Collapse file tree 2 files changed +8
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,15 +13,16 @@ dependencyResolutionManagement {
1313
1414 // repositories { .. }
1515 versionCatalogs {
16- // create("libs") {
17- // from("org.scijava:gradle-catalog:0.11")
18- // library("my-lib", "com.mycompany:mylib:1.2")
19- // }
20- // maybeCreate("libs").version("groovy", "3.0.9")
21- // maybeCreate("libs").library("groovy-core", "org.codehaus.groovy:groovy:2.4.15")
16+ // create("libs") {
17+ // from("org.scijava:gradle-catalog:0.11")
18+ // library("my-lib", "com.mycompany:mylib:1.2")
19+ // }
20+ // maybeCreate("libs").version("groovy", "3.0.9")
21+ // maybeCreate("libs").library("groovy-core", "org.codehaus.groovy:groovy:2.4.15")
2222
2323 // fails with "Could not resolve all artifacts for configuration 'incomingCatalogForLibs0'."
24- create(" libs" ).from(files(" ../catalog/build/version-catalog/libs.versions.toml" ))
24+ if (file(" ../catalog/build/version-catalog/libs.versions.toml" ).exists())
25+ create(" libs" ).from(files(" ../catalog/build/version-catalog/libs.versions.toml" ))
2526 }
2627
2728 includeBuild(" ../catalog" )
You can’t perform that action at this time.
0 commit comments