-
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
a3cbe65
commit 8278470
Showing
6 changed files
with
792 additions
and
601 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 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/@unimodules/react-native-adapter/android/build.gradle b/node_modules/@unimodules/react-native-adapter/android/build.gradle | ||
index 4384cb0..6c59a3e 100644 | ||
--- a/node_modules/@unimodules/react-native-adapter/android/build.gradle | ||
+++ b/node_modules/@unimodules/react-native-adapter/android/build.gradle | ||
@@ -1,6 +1,6 @@ | ||
apply plugin: 'com.android.library' | ||
apply plugin: 'kotlin-android' | ||
-apply plugin: 'maven' | ||
+apply plugin: 'maven-publish' | ||
|
||
// Import autolinking script | ||
apply from: "../scripts/autolinking.gradle" | ||
@@ -23,27 +23,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 | ||
} | ||
} | ||
} |
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
Oops, something went wrong.