Skip to content

Commit

Permalink
Fix build for sample apps.
Browse files Browse the repository at this point in the history
  • Loading branch information
christiandeange committed Nov 12, 2023
1 parent 6b013f6 commit 7a1f15e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
12 changes: 0 additions & 12 deletions bluesky/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,3 @@ lexicons {

tasks.apiDump.dependsOn(tasks.assemble)
tasks.apiCheck.dependsOn(tasks.assemble)

configurations.all {
resolutionStrategy {
dependencySubstitution {
substitute(module("sh.christian.ozone:api-gen-runtime:$version"))
.using(project(":api-gen-runtime"))

substitute(module("sh.christian.ozone:api-gen-runtime-internal:$version"))
.using(project(":api-gen-runtime-internal"))
}
}
}
10 changes: 10 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,14 @@ plugins {
allprojects {
group = property("POM_GROUP_ID").toString()
version = property("POM_VERSION").toString()

configurations.all {
resolutionStrategy.dependencySubstitution {
substitute(module("$group:api-gen-runtime:$version"))
.using(project(":api-gen-runtime"))

substitute(module("$group:api-gen-runtime-internal:$version"))
.using(project(":api-gen-runtime-internal"))
}
}
}

0 comments on commit 7a1f15e

Please sign in to comment.