File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
buildSrc/src/main/kotlin/com/jashmore/gradle Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ import org.gradle.plugins.signing.SigningExtension
1919import org.gradle.plugins.signing.SigningPlugin
2020import java.io.File
2121import java.net.URI
22- import java.text.DateFormat
23- import java.text.SimpleDateFormat
2422import java.time.OffsetDateTime
2523import java.time.format.DateTimeFormatter
2624
@@ -75,9 +73,9 @@ open class ReleasePlugin : Plugin<Project> {
7573
7674 project.subprojects.forEach { subProject ->
7775 val groupId = subProject.group as String
78- val artifactId = subProject.name.replace( " : " , " " )
76+ val artifactId = subProject.name
7977
80- val isExamplesModule = subProject.projectDir. path.contains( " examples " )
78+ val isExamplesModule = subProject.path.startsWith( " :example " )
8179 val moduleCompilesJava = subProject.plugins.hasPlugin(" java" )
8280 if (! isExamplesModule && moduleCompilesJava) {
8381 subProject.pluginManager.apply (MavenPublishPlugin ::class .java)
You can’t perform that action at this time.
0 commit comments