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

Support apk / apklib artefacts #22

Open
Vorta1 opened this issue May 25, 2018 · 4 comments
Open

Support apk / apklib artefacts #22

Vorta1 opened this issue May 25, 2018 · 4 comments

Comments

@Vorta1
Copy link

Vorta1 commented May 25, 2018

Hello,

bit of a long shot, but would it be possible for your plugin to do the same strip-jar process it does for jar artefacts for andrioid apk & apklib build artefacts?

We build these using the com.simpligility.maven.plugins.android-maven-plugin, which generates a META-INF folder and adds in a copy of an AndroidMainifest.xml file during the build which are date-time stamped with the machine time of the build, which means the md5sum of the resulting artefact (apklib/apk) isn't reproducible.

Is this something your plugin could help with?

Kind regards

Pete.

@Zlika
Copy link
Owner

Zlika commented May 29, 2018

Hi,
I'm not an Android developer so I'm not familiar with the Android manifest files and the Android build process. But you can propose a Pull Request :-)

@Zlika
Copy link
Owner

Zlika commented Oct 20, 2018

Hi @Vorta1,
Could you give me the address of a public repository with an Android project using the android-maven-plugin, so I can take a look at the produced artifacts?
Regards

@Vorta1
Copy link
Author

Vorta1 commented Dec 2, 2018

@Zlika I will see what I can do 👍

@Vorta1
Copy link
Author

Vorta1 commented Feb 5, 2019

So I've had a go at making a simple Android project in maven:

https://github.com/Vorta1/simple-android-app-build

However despite my best efforts I can't come up with a way to avoid the build machine having to have the required platform of the Android SDK available for it to work...

I believe the quickest way is to go to https://developer.android.com/studio/, scroll down to 'Command line tools only', download for your OS, run the sdk manager and download a platform of your choice, I chose platform level 25.

Update this project's pom file for the android-maven-plugin configuration section and set the 'platform' level you chose to download and the 'path' to where the sdk is installed on your build machine.

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

No branches or pull requests

2 participants