feat(patcher): patch the native image client and serve it a local main feed

This commit is contained in:
Fiereu committed 2026-08-02 15:39:05 +02:00
1 parent 3b19a81201
commit d36c630d53
12 files changed
+71 -16

No files matched your search

+30 -3
View File
@@ -50,20 +50,47 @@ tasks.register("copyKeysGame") {
dependsOn("copyPublicKeyGame", "copyPrivateKeyGame")
}
tasks.register<Copy>("copyPublicKeyFeed") {
group = "openmmo"
description = "Copy feed keys from \":keys\" to the current projects resources directory"
from(project(":keys").tasks.getByName("generateFeed").outputs.files) { include("*.public.pem") }
into(project.layout.projectDirectory.dir(KEYS_RESOURCE_LOCATION))
}
tasks.register<Copy>("copyPrivateKeyFeed") {
group = "openmmo"
description = "Copy feed keys from \":keys\" to the current projects resources directory"
from(project(":keys").tasks.getByName("generateFeed").outputs.files) { include("*.private.pem") }
into(project.layout.projectDirectory.dir(KEYS_RESOURCE_LOCATION))
}
tasks.register("copyKeysFeed") {
group = "openmmo"
description = "Copies all feed keys from \":keys\" to the current projects resources directory"
dependsOn("copyPublicKeyFeed", "copyPrivateKeyFeed")
}
tasks.register("copyPublicKeys") {
group = "openmmo"
description = "Copies all public keys from \":keys\" to the current projects resources directory"
dependsOn("copyPublicKeyChat", "copyPublicKeyGame")
dependsOn("copyPublicKeyChat", "copyPublicKeyGame", "copyPublicKeyFeed")
}
tasks.register("copyKeys") {
group = "openmmo"
description = "Copies all keys from \":keys\" to the current projects resources directory"
dependsOn("copyKeysChat", "copyKeysGame")
dependsOn("copyKeysChat", "copyKeysGame", "copyKeysFeed")
}
val keyCopyTasks =
listOf("copyPublicKeyChat", "copyPrivateKeyChat", "copyPublicKeyGame", "copyPrivateKeyGame")
listOf(
"copyPublicKeyChat",
"copyPrivateKeyChat",
"copyPublicKeyGame",
"copyPrivateKeyGame",
"copyPublicKeyFeed",
"copyPrivateKeyFeed",
)
tasks.matching {
it.name.startsWith("spotless") || it.name.startsWith("sonarlint") || it.name == "jooqCodegen"