File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
gradle/build-logic/src/main/kotlin Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 11import net.kyori.indra.IndraExtension
22import org.gradle.api.Plugin
33import org.gradle.api.Project
4+ import org.gradle.api.plugins.JavaPlugin
45import org.gradle.kotlin.dsl.configure
6+ import org.gradle.kotlin.dsl.dependencies
7+ import org.gradle.kotlin.dsl.project
58import org.incendo.cloudbuildlogic.city
69import org.incendo.cloudbuildlogic.jmp
710
811class CloudPublishingConventions : Plugin <Project > {
912 override fun apply (target : Project ) {
1013 target.plugins.apply (" org.incendo.cloud-build-logic.publishing" )
1114
15+ if (! target.name.endsWith(" -bom" )) {
16+ target.dependencies {
17+ JavaPlugin .API_CONFIGURATION_NAME (platform(project(" :cloud-bom" )))
18+ }
19+ }
20+
1221 target.extensions.configure(IndraExtension ::class ) {
1322 github(" Incendo" , " cloud" ) {
1423 ci(true )
You can’t perform that action at this time.
0 commit comments