File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ plugins {
1111 // id("org.gradlex.logging-capabilities") // logging extension
1212}
1313
14- layout.buildDirectory.set( layout.projectDirectory.asFile.parentFile.resolve(" target/gradle" ) )
14+ layout.buildDirectory = layout.projectDirectory.asFile.parentFile.resolve(" target/gradle" )
1515
1616group = " org.scijava"
1717version = " 0.13" // (effXml / "version").toString()
@@ -100,10 +100,17 @@ publishing {
100100 }
101101 create<MavenPublication >(" pomScijava" ) {
102102 from(components[" javaPlatform" ])
103+ // from(components["versionCatalog"])
103104 }
104105 }
105106}
106107
108+ val versionCatalogElements by configurations
109+ val javaPlatform by components.existing {
110+ this as AdhocComponentWithVariants
111+ addVariantsFromConfiguration(versionCatalogElements) {}
112+ }
113+
107114tasks {
108115 // dependsOn runs only if the src is successful, finalizedBy not
109116 generateCatalogAsToml { dependsOn(computeCatalogAndPlatform) }
You can’t perform that action at this time.
0 commit comments