diff options
author | Vitaly Takmazov | 2019-03-29 15:25:14 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-03-29 15:25:14 +0300 |
commit | 094ba10354418ada0cea5f9e22f4487d950bbcd2 (patch) | |
tree | dd6c68f6c0e62b5e9355481558a53ec3caeaec56 /build.gradle | |
parent | 650534477174e4159f1e3fc5a2db01abcec6b1f1 (diff) |
load test key from resources in default configuration
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/build.gradle b/build.gradle index 2be23040..03c59e35 100644 --- a/build.gradle +++ b/build.gradle @@ -186,24 +186,8 @@ bootRun { sourceResources sourceSets.main } -bootRun.dependsOn ':generateDebugKey' compileFrontend.dependsOn 'yarn' processResources.dependsOn 'compileFrontend' sourceCompatibility = JavaVersion.VERSION_11 -targetCompatibility = JavaVersion.VERSION_11 - -class GenKey extends DefaultTask { - @OutputFile - String keystore - - @TaskAction - def generate() { - ant.genkey(alias: "1", keystore: keystore.toString(), storetype: "PKCS12", keyalg: "RSA", storepass: "secret", dname: "CN=localhost", keysize: 2048) - } -} - -task generateDebugKey(type: GenKey) { - keystore = "${projectDir}/juick.p12" -} - +targetCompatibility = JavaVersion.VERSION_11
\ No newline at end of file |