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 System.getenv("APK_VERSION")? System.getenv("APK_VERSION").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 {
|
||||
|
@ -83,6 +84,8 @@ android {
|
|||
// Don't compress any embedded resources
|
||||
noCompress "qz"
|
||||
cruncherEnabled = false
|
||||
// Flag notifies aapt to keep the attribute IDs around
|
||||
additionalParameters "--no-version-vectors"
|
||||
}
|
||||
|
||||
dexOptions {
|
||||
|
|
Loading…
Reference in a new issue