android: make Maven repo used for publising configurable
This commit is contained in:
parent
384f7d7890
commit
dfeb26597b
|
@ -55,7 +55,7 @@ allprojects {
|
||||||
publishing {
|
publishing {
|
||||||
publications {}
|
publications {}
|
||||||
repositories {
|
repositories {
|
||||||
maven { url "file:${rootProject.projectDir}/../../jitsi-maven-repository/releases" }
|
maven { url "file:${rootProject.ext.mavenRepo}" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -171,6 +171,9 @@ ext {
|
||||||
// of ours.
|
// of ours.
|
||||||
moduleGroupId = 'com.facebook.react'
|
moduleGroupId = 'com.facebook.react'
|
||||||
|
|
||||||
|
// Maven repo where artifacts will be published
|
||||||
|
mavenRepo = System.env.MVN_REPO ?: "${rootProject.projectDir}/../../jitsi-maven-repository/releases"
|
||||||
|
|
||||||
// Glide
|
// Glide
|
||||||
excludeAppGlideModule = true
|
excludeAppGlideModule = true
|
||||||
glideVersion = "4.7.1" // keep in sync with react-native-fast-image
|
glideVersion = "4.7.1" // keep in sync with react-native-fast-image
|
||||||
|
|
|
@ -201,6 +201,6 @@ publishing {
|
||||||
|
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven { url "file:${rootProject.projectDir}/../../jitsi-maven-repository/releases" }
|
maven { url "file:${rootProject.ext.mavenRepo}" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue