Skip to content

Commit

Permalink
Merge branch 'develop' into feat/logging/model-module
Browse files Browse the repository at this point in the history
  • Loading branch information
testersen authored Apr 1, 2024
2 parents 22eb417 + 4dfb167 commit e94364e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ val Project.publishedProjects get() = rootProject.allprojects.filter {
it != project && it.plugins.hasPlugin(PublishPlugin::class.java) &&
it.extensions.getByType(PublishPlugin.Extension::class.java).isPublished
}

val Project.notation get() = "$group:$name:$version"
3 changes: 1 addition & 2 deletions telenor-boot-dependencies/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import io.tnboot.gradle.build.DependencyGroups
import io.tnboot.gradle.build.mavenPublish
import io.tnboot.gradle.build.notation
import io.tnboot.gradle.build.publishedProjects

plugins {
Expand All @@ -17,7 +16,7 @@ val bom = DependencyGroups(
dependencies {
constraints {
bom.dependencies.forEach { add("api", it) }
publishedProjects.forEach { add("api", it.notation) }
publishedProjects.forEach { add("api", "${it.group}:${it.name}:\${tnboot.version}") }
}
}

Expand Down

0 comments on commit e94364e

Please sign in to comment.