From 7a1f15ea58c4fdbcb22af4c08dd5c0328aa4edcf Mon Sep 17 00:00:00 2001 From: Christian De Angelis Date: Sat, 11 Nov 2023 20:39:23 -0500 Subject: [PATCH] Fix build for sample apps. --- bluesky/build.gradle.kts | 12 ------------ build.gradle.kts | 10 ++++++++++ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/bluesky/build.gradle.kts b/bluesky/build.gradle.kts index aacc4c9f..00f01570 100644 --- a/bluesky/build.gradle.kts +++ b/bluesky/build.gradle.kts @@ -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")) - } - } -} diff --git a/build.gradle.kts b/build.gradle.kts index 0cdf5f8f..de9862d2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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")) + } + } }