Moosphan / app-code-obfuscation

Android plugin code obfuscation tool, based on ASM, implants meaningless code during compilation.
Apache License 2.0
38 stars 4 forks source link

how to use this #10

Open ramanveerji opened 4 months ago

ramanveerji commented 4 months ago

I have imported the plugin as follows in plugins section. plugins{ id("cn.dorck.component.publisher") version "1.0.4" }

but i do not know how to do other things, can you write step by step code in order to use in my code. I am a newbie and needs your help.

indieexplore commented 4 months ago

@ramanveerji Just follow the Quick start section, only two steps you need to follow. Or you can see the sample project for reference.

ramanveerji commented 4 months ago

@ramanveerji Just follow the Quick start section, only two steps you need to follow. Or you can see the sample project for reference.

I don't understand step 2. I mean where to put that code. I have enabled proguard and minify already. Please guide about step 2. I have a kotlin app.

indieexplore commented 4 months ago

@ramanveerji In your app/build.gradle file.

indieexplore commented 4 months ago

You can refer to the configuration in the sample: app/build.gradle.kts

ramanveerji commented 4 months ago

You can refer to the configuration in the sample: app/build.gradle.kts

image

indieexplore commented 4 months ago

@ramanveerji This plugin is not support for AGP 8.0 and above yet, we will adapt in future.

ramanveerji commented 4 months ago

@ramanveerji This plugin is not support for AGP 8.0 and above yet, we will adapt in future.

Okay I hope to see it soon.

xxhubx commented 4 months ago

I also have same error, and hope to see it as soon as posible :)