Skip to content

Commit

Permalink
Merge pull request #263 from hotwired/suppress_glide_lint_error
Browse files Browse the repository at this point in the history
Suppress Glide lint error
  • Loading branch information
mbarta authored Mar 17, 2023
2 parents 463dc04 + 7f20219 commit 1e3f6c7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions demo/android-lint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- https://github.com/bumptech/glide/issues/4940 -->
<lint>
<issue id="NotificationPermission">
<ignore regexp="com.bumptech.glide.request.target.NotificationTarget" />
</issue>
</lint>

9 changes: 7 additions & 2 deletions demo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,21 @@ android {
test.java.srcDirs += 'src/test/kotlin'
debug.java.srcDirs += 'src/debug/kotlin'
}

lint {
lintConfig = file("android-lint.xml")
}

namespace 'dev.hotwire.turbo.demo'
}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.recyclerview:recyclerview:1.3.0'
implementation 'androidx.browser:browser:1.5.0'
implementation 'com.github.bumptech.glide:glide:4.14.2'
implementation 'com.github.bumptech.glide:glide:4.15.1'

implementation project(':turbo')
}
Expand Down

0 comments on commit 1e3f6c7

Please sign in to comment.