I not found Secrets.kt in my project
TechComet opened this issue · 1 comments
TechComet commented
Hi,
I not found Secrets.kt in my project
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.klaxit.hiddensecrets:HiddenSecretsPlugin:X.Y.Z"
}
}
apply plugin: 'com.klaxit.hiddensecrets'
./gradlew hideSecret -Pkey=yourKeyToObfuscate
other problem
I copy file from github and add kotlin support to my app and copy file Secrets.kt from github
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':hideSecret'.
> Extension with name 'android' does not exist. Currently registered extension names: [ext, _internalAndroidGradlePluginDependencyCheckerRegistered]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
2 actionable tasks: 1 executed, 1 up-to-date
TechComet commented
./gradlew hideSecret -Pkey=Igbaria -PkeyName=yourName -Ppackage=YourPackageName