Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to modify the exported file name? #97

Open
Just4fun2021 opened this issue Nov 29, 2022 · 0 comments
Open

How to modify the exported file name? #97

Just4fun2021 opened this issue Nov 29, 2022 · 0 comments

Comments

@Just4fun2021
Copy link

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

The above settings have no work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant