@survicate/react-native-survicate 1.1.15 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +0 -50
- package/package.json +1 -1
package/android/build.gradle
CHANGED
|
@@ -76,53 +76,3 @@ dependencies {
|
|
|
76
76
|
implementation 'com.facebook.react:react-native:+' // From node_modules
|
|
77
77
|
implementation 'com.survicate:survicate-sdk:1.7.0'
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
afterEvaluate { project ->
|
|
81
|
-
// some Gradle build hooks ref:
|
|
82
|
-
// https://www.oreilly.com/library/view/gradle-beyond-the/9781449373801/ch03.html
|
|
83
|
-
task androidJavadoc(type: Javadoc) {
|
|
84
|
-
source = android.sourceSets.main.java.srcDirs
|
|
85
|
-
classpath += files(android.bootClasspath)
|
|
86
|
-
project.getConfigurations().getByName('implementation').setCanBeResolved(true)
|
|
87
|
-
classpath += files(project.getConfigurations().getByName('implementation').asList())
|
|
88
|
-
include '**/*.java'
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
task androidJavadocJar(type: Jar, dependsOn: androidJavadoc) {
|
|
92
|
-
archiveClassifier = 'javadoc'
|
|
93
|
-
from androidJavadoc.destinationDir
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
task androidSourcesJar(type: Jar) {
|
|
97
|
-
archiveClassifier = 'sources'
|
|
98
|
-
from android.sourceSets.main.java.srcDirs
|
|
99
|
-
include '**/*.java'
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
android.libraryVariants.all { variant ->
|
|
103
|
-
def compileTask
|
|
104
|
-
if (variant.hasProperty('javaCompileProvider')){
|
|
105
|
-
compileTask = variant.javaCompileProvider.get()
|
|
106
|
-
}else{
|
|
107
|
-
compileTask = variant.javaCompile
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
def name = variant.name.capitalize()
|
|
111
|
-
task "jar${name}"(type: Jar, dependsOn: compileTask) {
|
|
112
|
-
from compileTask.destinationDir
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
artifacts {
|
|
117
|
-
archives androidSourcesJar
|
|
118
|
-
archives androidJavadocJar
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
publishing {
|
|
122
|
-
publications {
|
|
123
|
-
maven(MavenPublication) {
|
|
124
|
-
artifact androidSourcesJar
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
package/package.json
CHANGED