Simplify fetch of Geode artifacts. Reset geode version re: GEODE-8016
Authored-by: Robert Houghton <rhoughton@pivotal.io>
(cherry picked from commit a7895d505fc4f309934eeb7e35b112e0a0852c50)
diff --git a/build.gradle b/build.gradle
index d4b2302..1f2cfce 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,14 +23,19 @@
allprojects {
repositories {
- if (geodeRepositoryUrl != "") {
- maven {
- url geodeRepositoryUrl
- }
+ mavenCentral() {
+ content {
+ excludeGroup 'org.apache.geode'
+ }
}
- mavenCentral()
- maven {
- url 'https://storage.googleapis.com/maven.apachegeode-ci.info/snapshots'
+
+ if (!gradle.usingGeodeCompositeBuild) {
+ maven {
+ url project.findProperty('geodeRepositoryUrl') ?: 'https://maven.apachegeode-ci.info/snapshots'
+ content {
+ includeGroup 'org.apache.geode'
+ }
+ }
}
}
}
diff --git a/gradle.properties b/gradle.properties
index ee9169f..7dba56c 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -14,8 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-version = 1.13.0-SNAPSHOT
-geodeVersion = 1.13.0-SNAPSHOT
+version = 1.13.0-build.0
+geodeVersion = 1.13.+
# release properties, set these on the command line to validate against
# a release candidate