Don't generate raster icons for vector
This commit is contained in:
parent
44ef28c053
commit
7c446def54
1 changed files with 5 additions and 2 deletions
|
@ -51,8 +51,9 @@ android {
|
||||||
versionName "3.7.0"
|
versionName "3.7.0"
|
||||||
versionName System.getenv("APK_VERSION")? System.getenv("APK_VERSION").toString(): versionName
|
versionName System.getenv("APK_VERSION")? System.getenv("APK_VERSION").toString(): versionName
|
||||||
versionName System.getenv("APK_VERSION_SUFFIX")? versionName + System.getenv("APK_VERSION_SUFFIX").toString(): versionName
|
versionName System.getenv("APK_VERSION_SUFFIX")? versionName + System.getenv("APK_VERSION_SUFFIX").toString(): versionName
|
||||||
|
defaultConfig {
|
||||||
|
// Stops the Gradle plugin’s automatic rasterization of vectors
|
||||||
|
generatedDensities = []
|
||||||
}
|
}
|
||||||
|
|
||||||
lintOptions {
|
lintOptions {
|
||||||
|
@ -83,6 +84,8 @@ android {
|
||||||
// Don't compress any embedded resources
|
// Don't compress any embedded resources
|
||||||
noCompress "qz"
|
noCompress "qz"
|
||||||
cruncherEnabled = false
|
cruncherEnabled = false
|
||||||
|
// Flag notifies aapt to keep the attribute IDs around
|
||||||
|
additionalParameters "--no-version-vectors"
|
||||||
}
|
}
|
||||||
|
|
||||||
dexOptions {
|
dexOptions {
|
||||||
|
|
Loading…
Reference in a new issue