Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

android: make Maven repo used for publising configurable

Saúl Ibarra Corretgédfeb26597b77
diff --git a/android/build.gradle b/android/build.gradle
index c3453c0836..e69866c1e5 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -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
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index a66933347a..70a10583e5 100644
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -201,6 +201,6 @@ publishing {
}
repositories {
- maven { url "file:${rootProject.projectDir}/../../jitsi-maven-repository/releases" }
+ maven { url "file:${rootProject.ext.mavenRepo}" }
}
}