Skip to content

Commit 1e3f6c7

Browse files
authored
Merge pull request #263 from hotwired/suppress_glide_lint_error
Suppress Glide lint error
2 parents 463dc04 + 7f20219 commit 1e3f6c7

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

demo/android-lint.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<!-- https://github.com/bumptech/glide/issues/4940 -->
3+
<lint>
4+
<issue id="NotificationPermission">
5+
<ignore regexp="com.bumptech.glide.request.target.NotificationTarget" />
6+
</issue>
7+
</lint>
8+

demo/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,21 @@ android {
3939
test.java.srcDirs += 'src/test/kotlin'
4040
debug.java.srcDirs += 'src/debug/kotlin'
4141
}
42+
43+
lint {
44+
lintConfig = file("android-lint.xml")
45+
}
46+
4247
namespace 'dev.hotwire.turbo.demo'
4348
}
4449

4550
dependencies {
4651
implementation fileTree(include: ['*.jar'], dir: 'libs')
4752
implementation 'com.google.android.material:material:1.8.0'
4853
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
49-
implementation 'androidx.recyclerview:recyclerview:1.2.1'
54+
implementation 'androidx.recyclerview:recyclerview:1.3.0'
5055
implementation 'androidx.browser:browser:1.5.0'
51-
implementation 'com.github.bumptech.glide:glide:4.14.2'
56+
implementation 'com.github.bumptech.glide:glide:4.15.1'
5257

5358
implementation project(':turbo')
5459
}

0 commit comments

Comments
 (0)