This repository was archived by the owner on May 1, 2020. It is now read-only.

Description
When processing squidb-android/build.gradle using the new gradle plugin, we get Gradle sync failed: Not valid. on this block:
libraryVariants.all { variant ->
variant.outputs.each { output ->
// THIS LINE FAILS
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.aar')) {
def fileName = "${archivesBaseName}-${version}.aar"
output.outputFile = new File(outputFile.parent, fileName)
}
}
}
Looks like using outputFile is not supported: https://developer.android.com/studio/preview/features/new-android-plugin-migration.html#variant_api
For our purposes (cross platform compilation), can I safely remove this block? Doing so seems to compile.