mobile_local_restore/patches/expo-firebase-core+6.0.0.patch

37 lines
885 B
Diff

diff --git a/node_modules/expo-firebase-core/android/build.gradle b/node_modules/expo-firebase-core/android/build.gradle
index 9bda09b..cd66696 100644
--- a/node_modules/expo-firebase-core/android/build.gradle
+++ b/node_modules/expo-firebase-core/android/build.gradle
@@ -35,19 +35,11 @@ buildscript {
}
}
-// Creating sources with comments
-task androidSourcesJar(type: Jar) {
- classifier = 'sources'
- from android.sourceSets.main.java.srcDirs
-}
-
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
- // Add additional sourcesJar to artifacts
- artifact(androidSourcesJar)
}
}
repositories {
@@ -79,6 +71,11 @@ android {
lintOptions {
abortOnError false
}
+ publishing {
+ singleVariant("release") {
+ withSourcesJar()
+ }
+ }
}
dependencies {