Skip to content

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

fix(android): artifacts never published because of naming

Calin-Teodord8db858e7cf9
diff --git a/android/build.gradle b/android/build.gradle
index 7b1220fb30..abab72b850 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -85,7 +85,7 @@ allprojects {
// on and which are not available in third-party Maven repositories need to
// be deployed in a Maven repository of ours.
- if (project.name.startsWith('react-native-')) {
+ if (project.name.contains('react-native')) {
apply plugin: 'maven-publish'
publishing {
publications {}
@@ -116,7 +116,7 @@ allprojects {
}
}
- if (project.name.startsWith('react-native-')) {
+ if (project.name.contains('react-native')) {
def npmManifest = project.file('../package.json')
def json = new JsonSlurper().parseText(npmManifest.text)
diff --git a/android/sdk/build.gradle b/android/sdk/build.gradle
index 07f05ee5f5..f1e7d44486 100644
--- a/android/sdk/build.gradle
+++ b/android/sdk/build.gradle
@@ -235,7 +235,7 @@ publishing {
def groupId = it.moduleGroup
def artifactId = it.moduleName
- if (artifactId.startsWith('react-native-')) {
+ if (artifactId.contains('react-native')) {
groupId = rootProject.ext.moduleGroupId
}