adwiv / android-fat-aar

Gradle script that allows you to merge and embed dependencies in generted aar file
The Unlicense
1.46k stars 435 forks source link

How to modify the exported file name? #97

Open Just4fun2021 opened 1 year ago

Just4fun2021 commented 1 year ago

android.libraryVariants.all { variant -> variant.outputs.all { output -> def aar = output.outputFile if (aar != null && aar.name.endsWith('.aar')) { outputFileName = "tgasdkv${android.defaultConfig.versionName}" + '' + ENV + "_${variant.buildType.name}.aar" println(outputFileName) } } }

The above settings have no work