From a9c1119c4b4d5be1d3e935554cb031a53212ef01 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Fri, 15 Jan 2021 14:42:50 +0100 Subject: [PATCH] Add ivy repo --- OsmAnd-api/build.gradle | 6 ++++++ OsmAnd/build.gradle.lib | 1 + build.gradle | 4 +++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/OsmAnd-api/build.gradle b/OsmAnd-api/build.gradle index 2c1f864f5c..4e2be4bc34 100644 --- a/OsmAnd-api/build.gradle +++ b/OsmAnd-api/build.gradle @@ -27,6 +27,12 @@ android { afterEvaluate { publishing { + repositories { + ivy { + url = System.getenv("OSMAND_BINARIES_IVY_ROOT") ?: "./" + } + } + publications { release(IvyPublication) { // Applies the component for the release build variant. diff --git a/OsmAnd/build.gradle.lib b/OsmAnd/build.gradle.lib index f71d4a76a0..6b0f4da990 100644 --- a/OsmAnd/build.gradle.lib +++ b/OsmAnd/build.gradle.lib @@ -342,6 +342,7 @@ project.afterEvaluate { publishing { repositories { ivy { + url = System.getenv("OSMAND_BINARIES_IVY_ROOT") ?: "./" version = "0.1-SNAPSHOT" } } diff --git a/build.gradle b/build.gradle index b2c1082c91..2f7736470a 100644 --- a/build.gradle +++ b/build.gradle @@ -20,10 +20,12 @@ buildscript { } } + + allprojects { group "net.osmand" version "1.0" - + repositories { ivy { name = "OsmAndBinariesIvy"