subprojects { p -> plugins.withId('java') { p.archivesBaseName = "$rootProject.name-$p.name"; } }