-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f456e9b
commit 4956304
Showing
4 changed files
with
151 additions
and
322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
diff --git a/node_modules/expo-file-system/android/build.gradle b/node_modules/expo-file-system/android/build.gradle | ||
index fd2598b..99c634f 100644 | ||
--- a/node_modules/expo-file-system/android/build.gradle | ||
+++ b/node_modules/expo-file-system/android/build.gradle | ||
@@ -1,6 +1,6 @@ | ||
apply plugin: 'com.android.library' | ||
apply plugin: 'kotlin-android' | ||
-apply plugin: 'maven' | ||
+apply plugin: 'maven-publish' | ||
|
||
group = 'host.exp.exponent' | ||
version = '13.2.1' | ||
@@ -20,27 +20,16 @@ buildscript { | ||
} | ||
} | ||
|
||
-//Upload android library to maven with javadoc and android sources | ||
-configurations { | ||
- deployerJars | ||
-} | ||
- | ||
//Creating sources with comments | ||
task androidSourcesJar(type: Jar) { | ||
classifier = 'sources' | ||
from android.sourceSets.main.java.srcDirs | ||
} | ||
|
||
-//Put the androidSources and javadoc to the artifacts | ||
-artifacts { | ||
- archives androidSourcesJar | ||
-} | ||
- | ||
-uploadArchives { | ||
- repositories { | ||
- mavenDeployer { | ||
- configuration = configurations.deployerJars | ||
- repository(url: mavenLocal().url) | ||
+publishing { | ||
+ publications { | ||
+ mavenLocal(MavenPublication) { | ||
+ artifact androidSourcesJar | ||
} | ||
} | ||
} |
Oops, something went wrong.