Add RSA key gen Gradle task

Fixes #325
This commit is contained in:
Kyle Stevenson
2017-09-18 07:40:31 -07:00
parent ee78d2cd05
commit ddc7beeeea
+10
View File
@@ -1 +1,11 @@
description = 'Apollo Utilities'
task(genRsa, dependsOn: classes, type: JavaExec) {
def utilSubproject = project(':util')
def utilClasspath = utilSubproject.sourceSets.main.runtimeClasspath
main = 'org.apollo.util.tools.RsaKeyGenerator'
classpath = utilClasspath
jvmArgs = ['-Xmx1024M']
workingDir = project.rootDir
}