Wednesday, 6 April 2022

Android: How to build APK without dependencies

I'm working on scanning source code by 3rd party to finding security issues in my Android application. So, when I submit application to 3rd party, I want submit only my source code (Not dependencies, not library).

3rd party is accept APK file only, so I'm finding the way to build my APK without any dependencies. I using gradle to build it.

In Java application, I used https://maven.apache.org/plugins/maven-war-plugin/examples/including-excluding-files-from-war.html to package but I dont know how can do it in Android.

Can we do it by command line when build application or add new profile? I dont want to break the code for scanning and revert code for release

Can I have some advies on it?



from Android: How to build APK without dependencies

No comments:

Post a Comment