[android] - remove deprecated javacompile, resolve AS 3.3.0 warning on deprecation

This commit is contained in:
tobrun
2019-01-23 14:12:38 +01:00
committed by Tobrun
parent ed64cccb43
commit 24b4ddf416

View File

@@ -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")