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 {
11
11
// id("org.gradlex.logging-capabilities") // logging extension
12
12
}
13
13
14
- layout.buildDirectory.set( layout.projectDirectory.asFile.parentFile.resolve(" target/gradle" ) )
14
+ layout.buildDirectory = layout.projectDirectory.asFile.parentFile.resolve(" target/gradle" )
15
15
16
16
group = " org.scijava"
17
17
version = " 0.13" // (effXml / "version").toString()
@@ -100,10 +100,17 @@ publishing {
100
100
}
101
101
create<MavenPublication >(" pomScijava" ) {
102
102
from(components[" javaPlatform" ])
103
+ // from(components["versionCatalog"])
103
104
}
104
105
}
105
106
}
106
107
108
+ val versionCatalogElements by configurations
109
+ val javaPlatform by components.existing {
110
+ this as AdhocComponentWithVariants
111
+ addVariantsFromConfiguration(versionCatalogElements) {}
112
+ }
113
+
107
114
tasks {
108
115
// dependsOn runs only if the src is successful, finalizedBy not
109
116
generateCatalogAsToml { dependsOn(computeCatalogAndPlatform) }
You can’t perform that action at this time.
0 commit comments