Gradle aar命名及输出脚本
libraryVariants.all {
variant ->
//修改产物输出路径
variant.getPackageLibrary().destinationDir = new File(project.rootDir.absolutePath + "/output")
// if (variant.buildType.name == 'debug') {
variant.outputs.all {
output ->
def outputFile = output.outputFile
// if (outputFile != null && outputFile.name.endsWith('debug.aar')) {
if (ou