Add ivy repo

This commit is contained in:
Victor Shcherb 2021-01-15 14:42:50 +01:00
parent 946d5d8d29
commit a9c1119c4b
3 changed files with 10 additions and 1 deletions

View file

@ -27,6 +27,12 @@ android {
afterEvaluate { afterEvaluate {
publishing { publishing {
repositories {
ivy {
url = System.getenv("OSMAND_BINARIES_IVY_ROOT") ?: "./"
}
}
publications { publications {
release(IvyPublication) { release(IvyPublication) {
// Applies the component for the release build variant. // Applies the component for the release build variant.

View file

@ -342,6 +342,7 @@ project.afterEvaluate {
publishing { publishing {
repositories { repositories {
ivy { ivy {
url = System.getenv("OSMAND_BINARIES_IVY_ROOT") ?: "./"
version = "0.1-SNAPSHOT" version = "0.1-SNAPSHOT"
} }
} }

View file

@ -20,10 +20,12 @@ buildscript {
} }
} }
allprojects { allprojects {
group "net.osmand" group "net.osmand"
version "1.0" version "1.0"
repositories { repositories {
ivy { ivy {
name = "OsmAndBinariesIvy" name = "OsmAndBinariesIvy"