@@ -21,10 +21,6 @@ android {
2121 }
2222}
2323
24- configurations {
25- javadocDeps
26- }
27-
2824dependencies {
2925 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
3026 implementation ' androidx.annotation:annotation:1.1.0'
@@ -37,7 +33,6 @@ dependencies {
3733
3834 // Branch
3935 api ' io.branch.sdk.android:library:5.1.0'
40- javadocDeps ' io.branch.sdk.android:library:5.1.0'
4136 implementation (' com.google.android.gms:play-services-ads-identifier:17.0.0' )
4237 // for Huawei devices without GMS, adding it requires bumping up min api level to 19 though, so we
4338 // leave it up to the client to add it following Branch documentation here: https://help.branch.io/developers-hub/docs/android-basic-integration
@@ -49,36 +44,4 @@ dependencies {
4944 implementation ' com.adobe.marketing.mobile:sdk-core:1.10.0'
5045}
5146
52- // ------------- Javadocs ---------------//
53- tasks. withType(Javadoc ) {
54- options. addStringOption(' Xdoclint:none' , ' -quiet' )
55- options. addStringOption(' encoding' , ' UTF-8' )
56- options. addStringOption(' charSet' , ' UTF-8' )
57- }
58-
59- task docs (type : Javadoc ) {
60- source = android. sourceSets. main. java. srcDirs
61- classpath = files(((Object ) android. bootClasspath. join(File . pathSeparator)))
62- }
63-
64- task javadocs (type : Javadoc ) {
65- source = android. sourceSets. main. java. srcDirs
66- classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
67- classpath + = configurations. javadocDeps
68-
69- exclude ' **/R.html' , ' **/R.*.html' , ' **/index.html'
70-
71- options {
72- links " http://docs.oracle.com/javase/8/docs/api/"
73- linksOffline " http://d.android.com/reference" ," ${ android.sdkDirectory} /docs/reference"
74-
75- tags = [ " apiNote" , " implSpec" , " implNote" ]
76- }
77- }
78-
79- task javadocJar (type : Jar , dependsOn : javadocs) {
80- classifier = ' javadoc'
81- from javadocs. destinationDir
82- }
83-
8447apply from : ' https://raw.githubusercontent.com/BranchMetrics/GradleToMavenOptionalDependencies/master/gradle-maven-push.gradle'
0 commit comments