This is an automated email from the ASF dual-hosted git repository. rhoughton pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/geode-examples.git
commit 42b7f8e86238bf576f4e5f8b12fe18172918aa98 Author: Robert Houghton <[email protected]> AuthorDate: Fri Feb 28 10:14:59 2020 -0800 this is the way --- build.gradle | 6 +++++- settings.gradle | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 604243b..06582f8 100644 --- a/build.gradle +++ b/build.gradle @@ -53,7 +53,9 @@ task installGeode(type: Copy) { if (gradle.usingGeodeCompositeBuild) { dependsOn(gradle.includedBuild('geode').task(':geode-assembly:distTar')) } - from tarTree(configurations.geodeDistribution.singleFile) + from { + tarTree(configurations.geodeDistribution.singleFile) + } into buildDir } @@ -61,6 +63,8 @@ subprojects { apply plugin: 'java-library' dependencies { + // All callouts to org.apache.geode here, need to be specified in settings.gradle + // for composite build to work api(platform("org.apache.geode:geode-all-bom:$geodeVersion")) implementation("org.apache.geode:geode-core") implementation("org.apache.geode:geode-cq") diff --git a/settings.gradle b/settings.gradle index 19ac5c0..ebbbaac 100644 --- a/settings.gradle +++ b/settings.gradle @@ -56,8 +56,10 @@ if (gradle.ext.usingGeodeCompositeBuild) { includeBuild(geodeDirectory) { it.dependencySubstitution { // Any submodule used by examples must should be listed here + it.substitute it.module("org.apache.geode:geode-all-bom") with it.project(':boms:geode-all-bom') it.substitute it.module("org.apache.geode:geode-cq") with it.project(':geode-cq') it.substitute it.module("org.apache.geode:geode-core") with it.project(':geode-core') + it.substitute it.module("org.apache.geode:geode-logging") with it.project(':geode-logging') it.substitute it.module("org.apache.geode:apache-geode") with it.project(':geode-assembly') } }
