summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2019-01-23 14:12:38 +0100
committerTobrun <tobrun@mapbox.com>2019-01-23 16:01:27 +0100
commit24b4ddf41628a0b0f3f0d59ac00db57ccd99a39e (patch)
tree3b61c50cb823f156746a97555c52e49f4e995c0f /platform
parented64cccb43635301c06a943513c29798893051b8 (diff)
downloadqtlocation-mapboxgl-24b4ddf41628a0b0f3f0d59ac00db57ccd99a39e.tar.gz
[android] - remove deprecated javacompile, resolve AS 3.3.0 warning on deprecation
Diffstat (limited to 'platform')
-rw-r--r--platform/android/gradle/gradle-javadoc.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/gradle/gradle-javadoc.gradle b/platform/android/gradle/gradle-javadoc.gradle
index be3be0d0dd..410fba1dba 100644
--- a/platform/android/gradle/gradle-javadoc.gradle
+++ b/platform/android/gradle/gradle-javadoc.gradle
@@ -4,7 +4,7 @@ android.libraryVariants.all { variant ->
description = "Generates javadoc for build $name"
failOnError = false
destinationDir = new File(destinationDir, variant.baseName)
- source = variant.getJavaCompiler().source
+ source = variant.sourceSets.collect { it.java.sourceFiles }.inject { m, i -> m + i }
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")