Skip to content

Commit 80b065c

Browse files
leticiarossidsn5ft
authored andcommitted
Updating Gradle file.
Disabling VectorRaster check. PiperOrigin-RevId: 260149366
1 parent 7241e71 commit 80b065c

File tree

4 files changed

+1
-210
lines changed

4 files changed

+1
-210
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ subprojects {
196196

197197
lintOptions {
198198
baseline file("baseline.xml")
199-
disable 'IconLauncherShape', 'IconDuplicates', 'SwitchIntDef', 'PxUsage', 'PrivateResource', 'GradleDependency', 'GradleOverrides'
199+
disable 'IconLauncherShape', 'IconDuplicates', 'SwitchIntDef', 'PxUsage', 'PrivateResource', 'GradleDependency', 'GradleOverrides', 'VectorRaster'
200200
warningsAsErrors true
201201
}
202202

demos/java/io/material/demo/shrine/products/baseline.xml

Lines changed: 0 additions & 154 deletions
Original file line numberDiff line numberDiff line change
@@ -60,160 +60,6 @@
6060
column="9"/>
6161
</issue>
6262

63-
<issue
64-
id="VectorRaster"
65-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
66-
errorLine1=" android:tint=&quot;?attr/colorControlNormal&quot;>"
67-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
68-
<location
69-
file="res/drawable/ic_add_shopping_cart_vd_theme_24.xml"
70-
line="21"
71-
column="19"/>
72-
</issue>
73-
74-
<issue
75-
id="VectorRaster"
76-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
77-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
78-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
79-
<location
80-
file="res/drawable/ic_add_shopping_cart_vd_theme_24.xml"
81-
line="23"
82-
column="26"/>
83-
</issue>
84-
85-
<issue
86-
id="VectorRaster"
87-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
88-
errorLine1=" android:tint=&quot;?attr/colorControlNormal&quot;>"
89-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
90-
<location
91-
file="res/drawable/ic_arrow_drop_down_vd_theme_24.xml"
92-
line="21"
93-
column="23"/>
94-
</issue>
95-
96-
<issue
97-
id="VectorRaster"
98-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
99-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
100-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
101-
<location
102-
file="res/drawable/ic_arrow_drop_down_vd_theme_24.xml"
103-
line="23"
104-
column="28"/>
105-
</issue>
106-
107-
<issue
108-
id="VectorRaster"
109-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
110-
errorLine1=" android:tint=&quot;?attr/colorControlNormal&quot;>"
111-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
112-
<location
113-
file="res/drawable/ic_favorite_vd_theme_24.xml"
114-
line="21"
115-
column="23"/>
116-
</issue>
117-
118-
<issue
119-
id="VectorRaster"
120-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
121-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
122-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
123-
<location
124-
file="res/drawable/ic_favorite_vd_theme_24.xml"
125-
line="23"
126-
column="28"/>
127-
</issue>
128-
129-
<issue
130-
id="VectorRaster"
131-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
132-
errorLine1=" android:tint=&quot;?attr/colorControlNormal&quot;>"
133-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
134-
<location
135-
file="res/drawable/ic_filter_list_vd_theme_24.xml"
136-
line="21"
137-
column="23"/>
138-
</issue>
139-
140-
<issue
141-
id="VectorRaster"
142-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
143-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
144-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
145-
<location
146-
file="res/drawable/ic_filter_list_vd_theme_24.xml"
147-
line="23"
148-
column="28"/>
149-
</issue>
150-
151-
<issue
152-
id="VectorRaster"
153-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
154-
errorLine1=" android:tint=&quot;?attr/colorControlNormal&quot;>"
155-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
156-
<location
157-
file="res/drawable/ic_search_vd_theme_24.xml"
158-
line="21"
159-
column="23"/>
160-
</issue>
161-
162-
<issue
163-
id="VectorRaster"
164-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
165-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
166-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
167-
<location
168-
file="res/drawable/ic_search_vd_theme_24.xml"
169-
line="23"
170-
column="28"/>
171-
</issue>
172-
173-
<issue
174-
id="VectorRaster"
175-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
176-
errorLine1=" android:tint=&quot;?attr/colorControlNormal&quot;>"
177-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
178-
<location
179-
file="res/drawable/ic_shopping_cart_vd_theme_24.xml"
180-
line="21"
181-
column="23"/>
182-
</issue>
183-
184-
<issue
185-
id="VectorRaster"
186-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
187-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
188-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
189-
<location
190-
file="res/drawable/ic_shopping_cart_vd_theme_24.xml"
191-
line="23"
192-
column="28"/>
193-
</issue>
194-
195-
<issue
196-
id="VectorRaster"
197-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
198-
errorLine1=" android:tint=&quot;?attr/colorControlNormal&quot;>"
199-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
200-
<location
201-
file="res/drawable/ic_shrine_vd_theme_24.xml"
202-
line="21"
203-
column="23"/>
204-
</issue>
205-
206-
<issue
207-
id="VectorRaster"
208-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
209-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
210-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
211-
<location
212-
file="res/drawable/ic_shrine_vd_theme_24.xml"
213-
line="23"
214-
column="28"/>
215-
</issue>
216-
21763
<issue
21864
id="GradleDependency"
21965
message="A newer version of com.google.code.gson:gson than 2.2.4 is available: 2.8.2"

lib/baseline.xml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -170,39 +170,6 @@
170170
column="3"/>
171171
</issue>
172172

173-
<issue
174-
id="VectorRaster"
175-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
176-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
177-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
178-
<location
179-
file="java/com/google/android/material/textfield/res/drawable/mtrl_ic_arrow_drop_down.xml"
180-
line="25"
181-
column="24"/>
182-
</issue>
183-
184-
<issue
185-
id="VectorRaster"
186-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
187-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
188-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
189-
<location
190-
file="java/com/google/android/material/textfield/res/drawable/mtrl_ic_arrow_drop_up.xml"
191-
line="25"
192-
column="24"/>
193-
</issue>
194-
195-
<issue
196-
id="VectorRaster"
197-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
198-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;"
199-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
200-
<location
201-
file="java/com/google/android/material/textfield/res/drawable/mtrl_ic_cancel.xml"
202-
line="25"
203-
column="24"/>
204-
</issue>
205-
206173
<issue
207174
id="PrivateResource"
208175
message="The resource `@styleable/TextAppearance_android_textSize` is marked as private in androidx.appcompat:appcompat"

testing/java/com/google/android/material/testapp/baseline.xml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -71,28 +71,6 @@
7171
column="7"/>
7272
</issue>
7373

74-
<issue
75-
id="VectorRaster"
76-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
77-
errorLine1=" android:tint=&quot;?attr/colorControlNormal&quot;>"
78-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
79-
<location
80-
file="res/drawable/vector_icon.xml"
81-
line="22"
82-
column="23"/>
83-
</issue>
84-
85-
<issue
86-
id="VectorRaster"
87-
message="Resource references will not work correctly in images generated for this vector icon for API &lt; 21; check generated icon to make sure it looks acceptable"
88-
errorLine1=" android:fillColor=&quot;@android:color/white&quot;/>"
89-
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
90-
<location
91-
file="res/drawable/vector_icon.xml"
92-
line="25"
93-
column="32"/>
94-
</issue>
95-
9674
<issue
9775
id="GradleDependency"
9876
message="A newer version of androidx.multidex:multidex than 2.0.0 is available: 2.0.1"

0 commit comments

Comments
 (0)