Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Fix Layout Inspector's Compose tree for dev flavor (#8363)

Cette révision appartient à :
stevenyomi 2022-10-30 23:42:06 +08:00 révisé par GitHub
Parent dd1923fe88
révision 57bba9e5ab
Aucune clé n'a été trouvée pour cette signature dans la base de données
ID de la clé GPG: 4AEE18F83AFDEB23

Voir le fichier

@ -113,7 +113,6 @@ android {
"META-INF/README.md",
"META-INF/NOTICE",
"META-INF/*.kotlin_module",
"META-INF/*.version",
))
}
@ -296,6 +295,11 @@ androidComponents {
variantBuilder.enable = variantBuilder.productFlavors.containsAll(listOf("default" to "dev"))
}
}
onVariants(selector().withFlavor("default" to "standard")) {
// Only excluding in standard flavor because this breaks
// Layout Inspector's Compose tree
it.packaging.resources.excludes.add("META-INF/*.version")
}
}
tasks {