Oliver.O
09/07/2026, 10:23 PMstagingRepository(...)?
• Use GradleUp/nmcp?
• Use GradleUp/librarian?
• Anything else?jw
09/07/2026, 10:45 PMjw
09/07/2026, 10:47 PMOliver.O
09/07/2026, 10:50 PMjw
09/07/2026, 10:51 PMOliver.O
09/07/2026, 10:54 PMjw
09/07/2026, 10:55 PMOliver.O
09/07/2026, 10:57 PMjw
09/07/2026, 10:58 PMjw
09/07/2026, 11:01 PMOliver.O
09/07/2026, 11:40 PMjw
09/07/2026, 11:42 PMOliver.O
09/07/2026, 11:47 PMBernd Prünster
09/08/2026, 3:52 AMmbonnin
09/08/2026, 10:14 AMmbonnin
09/08/2026, 10:15 AMmbonnin
09/08/2026, 10:16 AMmbonnin
09/08/2026, 10:17 AMmbonnin
09/08/2026, 10:18 AMmbonnin
09/08/2026, 10:24 AMnmcp {
extraFiles(localM2)
}
But you have to manage the local repo yourself, delete stale contents, etc...Oliver.O
09/08/2026, 10:26 AMextraFiles, right?mbonnin
09/08/2026, 10:27 AMmbonnin
09/08/2026, 10:29 AMsigning {} blockmbonnin
09/08/2026, 10:30 AMmbonnin
09/08/2026, 10:31 AMpublishing {} and signing {} blocks for localM2 it should all work?Oliver.O
09/08/2026, 10:33 AMaddTestBalloonPluginFromProject(projects.testBalloonCompilerPlugin) invocations for examples and other stuff, and just write the build script with the usual plugin block. This also brings better test coverage for these parts.
And with one included build, another one (or two) doesn't make a big difference, and helps to avoid back-referencing the top-level build from a subordinate included build.Oliver.O
09/08/2026, 10:34 AMBut if you're using regularYes, I guess nature will find a way. It's just that IIRC, by default, local publications would not use signing (or at least, not insist on it). I need to do some homework.andpublishing {}blocks for localM2 it should all work?signing {}
Oliver.O
09/09/2026, 6:24 PMmbonnin
09/09/2026, 7:32 PMdependencies.add("nmcpAggregation", dependencies.project(":"))mbonnin
09/09/2026, 7:33 PMOliver.O
09/09/2026, 7:33 PMmbonnin
09/09/2026, 7:33 PMpopulateAggregationStagingRepository.map { it.outputs } doesn't seem to workmbonnin
09/09/2026, 7:34 PM./gradlew :outgoingVariants , I get this:
> Cannot convert the provided notation to a File: org.gradle.api.internal.tasks.DefaultTaskOutputs@6f103bf4.
The following types/formats are supported:
- A String or CharSequence path, for example 'src/main/java' or '/usr/include'.
- A String or CharSequence URI, for example 'file:/usr/include'.
- A File instance.
- A Path instance.
- A Directory instance.
- A RegularFile instance.
- A URI or URL instance of file.
- A TextResource instance.mbonnin
09/09/2026, 7:34 PMextraFiles(populateAggregationStagingRepository.map { stagingRepository })Oliver.O
09/09/2026, 7:35 PMOliver.O
09/09/2026, 7:36 PMmbonnin
09/09/2026, 7:36 PMmbonnin
09/09/2026, 7:37 PMextraFiles(populateAggregationStagingRepository.map { it.outputs.files })
?mbonnin
09/09/2026, 7:37 PMOliver.O
09/09/2026, 7:44 PMextensions.getByType(NmcpExtension::class.java).apply {
extraFiles(populateAggregationStagingRepository.map { populateAggregationStagingRepository })
}
and
dependencies.add("nmcpAggregation", dependencies.project(":"))
both in the root plugin's apply method, and I'm still getting it.mbonnin
09/09/2026, 7:45 PMmbonnin
09/09/2026, 7:46 PMCannot convert the provided notation to a File: org.gradle.api.internal.tasks.DefaultTaskOutputs@6f103bf4. it's because the extraFiles are registered as an outgoing artifact so it should be a single file pointing to a directory. I'll fix thatOliver.O
09/09/2026, 7:48 PMOliver.O
09/09/2026, 7:53 PM.map { stagingRepository }. But fixing that still gave me "there are no files to publish" with nmcpZipAggregation.mbonnin
09/09/2026, 7:54 PMmbonnin
09/09/2026, 8:15 PMmbonnin
09/09/2026, 8:16 PMOliver.O
09/09/2026, 8:17 PMmbonnin
09/09/2026, 8:19 PMOliver.O
09/09/2026, 8:20 PMAny-typed is part of the 🐘 ecosystem.mbonnin
09/09/2026, 8:21 PMmbonnin
09/09/2026, 8:22 PM