How to create jar file for Android project of client?


(aleksg) #1

I need to supply my jar file for customer’s Android project.
What way I should assemble this jar?
Now I have ‘apply java’ in my build and I can run all tasks supplied by java plugin.
But if I want create jar for Android application so I have to run build with
plugin: ‘com.android.application’ instead ‘java’ plugin, correct?
So I should remove from build all tasks supplied by java plugin and assemble jar based on android tasks, correct?
Advise please how correctly to deal with this?
Thanks in advance.