We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there any way to upload apks for multiple flavors during a single build?
I've tried the following, but only the first apk gets uploaded since the ndUpload task can run only once during the build.
ndUpload
android.applicationVariants.all { variant -> def nimbledroidUpload = task "nimbledroidUpload${variant.name.capitalize()}" << { nimbledroid.variant = variant.name ndUpload.execute() } variant.assemble.finalizedBy(nimbledroidUpload) }
It might be enough to have a public NdUploadTask class, so multiple upload tasks can be created that way:
NdUploadTask
task "nimbledroidUpload${variant.name.capitalize()}" (type: NdUploadTask) << { ... }
That task should have its own variant property instead of the global one.
variant
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there any way to upload apks for multiple flavors during a single build?
I've tried the following, but only the first apk gets uploaded since the
ndUpload
task can run only once during the build.It might be enough to have a public
NdUploadTask
class, so multiple upload tasks can be created that way:That task should have its own
variant
property instead of the global one.The text was updated successfully, but these errors were encountered: