klaxit / hidden-secrets-gradle-plugin

🔒 Deeply hide secrets on Android
MIT License
395 stars 40 forks source link

hideSecret Generating Files in Root 's`src/main/` #70

Closed StuStirling closed 1 year ago

StuStirling commented 1 year ago

When using the plugin I was expecting the files to be generated in app/src/main/cpp however they were just placed in the root of my project. Is it the intention the required files are not put in the main app module?

Something like the following might be useful when running different flavors. ./gradlew hideSecrets -Pkey=1234 -PkeyName=Tester -Pdirectory=app/src/qa

StuStirling commented 1 year ago

Ok, I was too hasty. The problem was that I was applying the plugin in my root build.gradle file.

I missed the following in the ReadMe..

In your Module level build.gradle: