Set up keystore

This commit is contained in:
2024-11-13 17:04:38 +01:00
parent 42692ce94e
commit 8342512703
6 changed files with 73 additions and 5 deletions

View File

@@ -22,3 +22,15 @@ dependencies {
}
group = "ltd.hlaeja"
tasks {
named("processResources") {
dependsOn("copyKeystore")
}
register<Copy>("copyKeystore") {
group = "hlaeja"
from("cert/keystore.p12")
into("${layout.buildDirectory.get()}/resources/main/cert")
onlyIf { file("cert/keystore.p12").exists() }
}
}