Skip to content

Commit bd10eff

Browse files
authored
It's also valid to have the root project contain code (#198)
1 parent 1d9e71a commit bd10eff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

nmcp/src/main/kotlin/nmcp/plugins.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ internal fun nmcpSettings(settings: Settings) {
3535
project.subprojects {
3636
project.dependencies.add(nmcpConsumerConfigurationName, project.dependencies.create(it))
3737
}
38-
} else {
39-
project.pluginManager.withPlugin("maven-publish") {
40-
project.pluginManager.apply("com.gradleup.nmcp")
41-
}
38+
}
39+
project.pluginManager.withPlugin("maven-publish") {
40+
project.pluginManager.apply("com.gradleup.nmcp")
4241
}
4342
}
4443
}

0 commit comments

Comments
 (0)