Android Studio - How To Use An Executable Jar File From Gradle
So I have a custom_rules.xml file Im trying to rebuild in gradle. so far I have no problem figuring everything else out but the last part Im trying to accomplish is running a speci
Solution 1:
You could probably use the JavaExec task. Something like this:
task signApk(type: JavaExec) {
classpath files('path/to/executable.jar')
main 'com.foo.MainClass'
args ['-foo', 'bar']
}
Post a Comment for "Android Studio - How To Use An Executable Jar File From Gradle"