summaryrefslogtreecommitdiff
path: root/platform/android/gradle
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2018-03-05 14:05:50 +0100
committerTobrun <tobrun@mapbox.com>2018-03-05 14:55:27 +0100
commit1785a98e4f6f4571cfd8fdc5518c0bc2c0921268 (patch)
treed5e893b757b896c54051394938417cb41a7758c3 /platform/android/gradle
parentc0bb9aaa818d0ec2a76b7651b3d46b720686d210 (diff)
downloadqtlocation-mapboxgl-1785a98e4f6f4571cfd8fdc5518c0bc2c0921268.tar.gz
[android] - make javadoc configuration compatible with Gradle 4.4
Diffstat (limited to 'platform/android/gradle')
-rw-r--r--platform/android/gradle/gradle-javadoc.gradle13
1 files changed, 5 insertions, 8 deletions
diff --git a/platform/android/gradle/gradle-javadoc.gradle b/platform/android/gradle/gradle-javadoc.gradle
index 39372b4378..cf7f8f743b 100644
--- a/platform/android/gradle/gradle-javadoc.gradle
+++ b/platform/android/gradle/gradle-javadoc.gradle
@@ -1,21 +1,18 @@
android.libraryVariants.all { variant ->
def name = variant.name
- // noinspection GroovyAssignabilityCheck
task "javadoc$name"(type: Javadoc) {
description = "Generates javadoc for build $name"
failOnError = false
destinationDir = new File(destinationDir, variant.baseName)
- source = files(variant.javaCompile.source)
- classpath = files(variant.javaCompile.classpath.files) + files(android.bootClasspath)
- options.windowTitle("Mapbox Android SDK $VERSION_NAME Reference")
- options.docTitle("Mapbox Android SDK $VERSION_NAME")
- options.header("Mapbox Android SDK $VERSION_NAME Reference")
+ source = variant.javaCompile.source
+ options.windowTitle("Mapbox Maps SDK for Android $VERSION_NAME Reference")
+ options.docTitle("Mapbox Maps SDK for Android $VERSION_NAME")
+ options.header("Mapbox Maps SDK for Android $VERSION_NAME Reference")
options.bottom("&copy; 2015&ndash;2018 Mapbox. All rights reserved.")
options.links("http://docs.oracle.com/javase/7/docs/api/")
options.linksOffline("http://d.android.com/reference/", "$System.env.ANDROID_HOME/docs/reference")
options.overview("src/main/java/overview.html")
options.group("Mapbox Android SDK", "com.mapbox.*")
- options.group("Third Party Libraries", "com.almeros.*")
- exclude '**/R.java', '**/BuildConfig.java', 'com/almeros/**'
+ exclude '**/R.java', '**/BuildConfig.java'
}
}