Skip to content

Commit

Permalink
Removed Javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
nsingh-branch committed Feb 11, 2022
1 parent 39fc085 commit 4482626
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions AdobeBranchExtension/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ android {
}
}

configurations {
javadocDeps
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.annotation:annotation:1.1.0'
Expand All @@ -37,7 +33,6 @@ dependencies {

// Branch
api 'io.branch.sdk.android:library:5.1.0'
javadocDeps 'io.branch.sdk.android:library:5.1.0'
implementation ('com.google.android.gms:play-services-ads-identifier:17.0.0')
// for Huawei devices without GMS, adding it requires bumping up min api level to 19 though, so we
// leave it up to the client to add it following Branch documentation here: https://help.branch.io/developers-hub/docs/android-basic-integration
Expand All @@ -49,36 +44,4 @@ dependencies {
implementation 'com.adobe.marketing.mobile:sdk-core:1.10.0'
}

//------------- Javadocs ---------------//
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
options.addStringOption('charSet', 'UTF-8')
}

task docs(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath = files(((Object) android.bootClasspath.join(File.pathSeparator)))
}

task javadocs(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
classpath += configurations.javadocDeps

exclude '**/R.html', '**/R.*.html', '**/index.html'

options {
links "http://docs.oracle.com/javase/8/docs/api/"
linksOffline "http://d.android.com/reference","${android.sdkDirectory}/docs/reference"

tags = [ "apiNote", "implSpec", "implNote" ]
}
}

task javadocJar(type: Jar, dependsOn: javadocs) {
classifier = 'javadoc'
from javadocs.destinationDir
}

apply from: 'https://raw.githubusercontent.com/BranchMetrics/GradleToMavenOptionalDependencies/master/gradle-maven-push.gradle'

0 comments on commit 4482626

Please sign in to comment.