diff --git a/build.gradle b/build.gradle index b8994d758..b555e34e6 100644 --- a/build.gradle +++ b/build.gradle @@ -359,10 +359,13 @@ configure(subprojects.findAll { project -> project.subprojects.isEmpty() && apply from: "${project.rootDir}/proto.gradle" } -// enable publishing for all subproject except for "example applications" +// enable publishing for all subprojects except for some not intended to be or not ready yet +// (e.g. "example applications" or modules still in beta) configure(subprojects.findAll { project -> project.subprojects.isEmpty() && !project.pluginManager.hasPlugin('org.springframework.boot') && - project.name.indexOf('-example-application') < 0 }) { + project.name.indexOf('-example-application') < 0 && + !project.name.startsWith('lightning-commons-') && + !project.name.startsWith('lightning-regtest-') }) { apply from: "${project.rootDir}/publish.gradle" }