@@ -21,10 +21,6 @@ android {
21
21
}
22
22
}
23
23
24
- configurations {
25
- javadocDeps
26
- }
27
-
28
24
dependencies {
29
25
implementation fileTree(dir : ' libs' , include : [' *.jar' ])
30
26
implementation ' androidx.annotation:annotation:1.1.0'
@@ -37,7 +33,6 @@ dependencies {
37
33
38
34
// Branch
39
35
api ' io.branch.sdk.android:library:5.1.0'
40
- javadocDeps ' io.branch.sdk.android:library:5.1.0'
41
36
implementation (' com.google.android.gms:play-services-ads-identifier:17.0.0' )
42
37
// for Huawei devices without GMS, adding it requires bumping up min api level to 19 though, so we
43
38
// 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 {
49
44
implementation ' com.adobe.marketing.mobile:sdk-core:1.10.0'
50
45
}
51
46
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
-
84
47
apply from : ' https://raw.githubusercontent.com/BranchMetrics/GradleToMavenOptionalDependencies/master/gradle-maven-push.gradle'
0 commit comments