Skip to content

Commit c742cfb

Browse files
authored
[fix] Fix Android build error on react-native 0.67 (#90)
1 parent f6b6461 commit c742cfb

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

android/build.gradle

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
apply plugin: 'com.android.library'
22
apply plugin: 'kotlin-android'
3-
apply plugin: 'maven'
43

54
buildscript {
65
// Simple helper that allows the root project to override versions declared by this library.
@@ -17,31 +16,6 @@ buildscript {
1716
}
1817
}
1918

20-
// Upload android library to maven with javadoc and android sources
21-
configurations {
22-
deployerJars
23-
}
24-
25-
// Creating sources with comments
26-
task androidSourcesJar(type: Jar) {
27-
classifier = 'sources'
28-
from android.sourceSets.main.java.srcDirs
29-
}
30-
31-
// Put the androidSources and javadoc to the artifacts
32-
artifacts {
33-
archives androidSourcesJar
34-
}
35-
36-
uploadArchives {
37-
repositories {
38-
mavenDeployer {
39-
configuration = configurations.deployerJars
40-
repository(url: mavenLocal().url)
41-
}
42-
}
43-
}
44-
4519
android {
4620
compileSdkVersion safeExtGet("compileSdkVersion", 30)
4721

0 commit comments

Comments
 (0)