Anyone found a better way and preferably a multipl...
# android
j
Anyone found a better way and preferably a multiplatform on doing this with later gradle versions?:
Copy code
libraryVariants.all { variant ->
    variant.outputs.each { output ->
        def outputFile = output.outputFile
        if (outputFile != null && outputFile.name.endsWith('.aar')) {
            def fileName = "${archivesBaseName}-${version}.aar"
            output.outputFile = new File(outputFile.parent, fileName)
        }
    }
}
The above no longer seems to work