allprojects {
repositories {
//...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.TimScriptov:nmmp:Tag'
}
Nmmp(File("path/in.apk"), File("path/out.apk"), File("path/rules.txt"), File("path/mapping.txt"), null/*ApkLogger*/).obfuscate()
new Nmmp(new File("path/in.apk"), new File("path/out.apk"), new File("path/rules.txt"), new File("path/mapping.txt"), null/*ApkLogger*/).obfuscate();