mirror of
https://github.com/meowarex/rl-mobile.git
synced 2026-10-15 07:53:12 +11:00
Offline Repatch + Force Incompatible (Dev Option)
This commit is contained in:
1 parent
aae2f54fab
commit
189e3d28a2
25 files changed
+607
-493
No files matched your search
@@ -228,3 +228,13 @@ fun ProviderFactory.execIgnoreCode(vararg command: String): String = try {
|
||||
} catch (_: Exception) {
|
||||
""
|
||||
}
|
||||
|
||||
// Sync Local Cached Assets with Repo Releases to keep them up to date
|
||||
val syncBundledManifest by tasks.registering(Copy::class) {
|
||||
val src = rootProject.rootDir.resolve("../patches/manifest.json")
|
||||
onlyIf { src.exists() }
|
||||
from(src)
|
||||
into(layout.projectDirectory.dir("src/main/assets"))
|
||||
rename { "patches-manifest.json" }
|
||||
}
|
||||
tasks.named("preBuild") { dependsOn(syncBundledManifest) }
|
||||
Reference in new issue
Block a user