Fix keystore not matching
This commit is contained in:
parent
14f1d046ab
commit
bb7bfaad26
|
|
@ -51,10 +51,7 @@ android {
|
|||
kotlinCompilerExtensionVersion = composeVersion
|
||||
}
|
||||
|
||||
sourceSets["main"].assets.srcDirs(
|
||||
projects.patch.dependencyProject.projectDir.resolve("src/main/assets"),
|
||||
rootProject.projectDir.resolve("out/assets")
|
||||
)
|
||||
sourceSets["main"].assets.srcDirs(rootProject.projectDir.resolve("out/assets"))
|
||||
}
|
||||
|
||||
afterEvaluate {
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ tasks.jar {
|
|||
from(configurations.runtimeClasspath.get().map { if (it.isDirectory) it else zipTree(it) })
|
||||
|
||||
into("assets") {
|
||||
from(projects.patch.dependencyProject.projectDir.resolve("src/main/assets"))
|
||||
from("src/main/assets")
|
||||
from("${rootProject.projectDir}/out/assets")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,8 +20,3 @@ dependencies {
|
|||
implementation("com.beust:jcommander:1.82")
|
||||
implementation("com.google.code.gson:gson:2.8.9")
|
||||
}
|
||||
|
||||
sourceSets["main"].resources {
|
||||
srcDirs("src/main/java")
|
||||
include("**/*.*")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@ public class LSPatch {
|
|||
// parse the app appComponentFactory full name from the manifest file
|
||||
String appComponentFactory;
|
||||
try (var is = manifestEntry.open()) {
|
||||
var pair =ManifestParser.parseManifestFile(is);
|
||||
var pair = ManifestParser.parseManifestFile(is);
|
||||
if (pair == null)
|
||||
throw new PatchError("Failed to parse AndroidManifest.xml");
|
||||
appComponentFactory = pair.appComponentFactory == null ? "" : pair.appComponentFactory;
|
||||
|
|
|
|||
Loading…
Reference in New Issue