We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0592c63 commit b7d8733Copy full SHA for b7d8733
1 file changed
server/build.gradle
@@ -58,19 +58,20 @@ spotless {
58
}
59
60
task createKeys(type: JavaExec) {
61
- main = 'dev.findfirst.security.util.KeyGenerator' // Replace with the fully qualified class name of your utility
+ main = 'dev.findfirst.security.util.KeyGenerator'
62
classpath = sourceSets.main.runtimeClasspath
63
executable = javaToolchains.launcherFor(java.toolchain).get().executablePath
64
- doLast {
+ doLast {
65
def keyFile = file("${projectDir}/src/main/resources/app.key")
66
println "Keys generated at: ${keyFile}"
67
68
copy {
69
from keyFile.getParent()
70
include "app.*"
71
into "${buildDir}/resources/main"
72
+ }
73
-}}
74
+}
75
76
tasks.named("build") {
77
dependsOn("spotlessApply")
0 commit comments