android: make Maven repo used for publising configurable

This commit is contained in:
Saúl Ibarra Corretgé 2019-04-03 11:59:18 +02:00 committed by Saúl Ibarra Corretgé
parent 384f7d7890
commit dfeb26597b
2 changed files with 5 additions and 2 deletions

View File

@ -55,7 +55,7 @@ allprojects {
publishing {
publications {}
repositories {
maven { url "file:${rootProject.projectDir}/../../jitsi-maven-repository/releases" }
maven { url "file:${rootProject.ext.mavenRepo}" }
}
}
}
@ -171,6 +171,9 @@ ext {
// of ours.
moduleGroupId = 'com.facebook.react'
// Maven repo where artifacts will be published
mavenRepo = System.env.MVN_REPO ?: "${rootProject.projectDir}/../../jitsi-maven-repository/releases"
// Glide
excludeAppGlideModule = true
glideVersion = "4.7.1" // keep in sync with react-native-fast-image

View File

@ -201,6 +201,6 @@ publishing {
}
repositories {
maven { url "file:${rootProject.projectDir}/../../jitsi-maven-repository/releases" }
maven { url "file:${rootProject.ext.mavenRepo}" }
}
}