And it is still not the end :-(
I'm able to get the APK to my SignTask in the new way by using
BuildableArtifact, but how to put it to the input of next task I mean
assemble, bundle or connectedAndroidTest tasks :-(
Before when I was using variant.outputs. I simply get instance of
ApkVariantOutput a and I simply set *output.outputFileName =
signTask.outputFile.getName()*
Whole code looks like this:
File assembleOutputFile = output.outputFile
signTask.outputFile = new File(assembleOutputFile.parent,
assembleOutputFile.name.replaceFirst("[,-]unsigned", ""))
signTask.inputFile = signTask.outputFile
// hack to keep proper final name also when assemble task will be skipped
output.outputFileName = signTask.outputFile.getName()
xxxxx
--
You received this message because you are subscribed to the Google Groups
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.