Skip to content

Commit

Permalink
Add Vendor information to Dagger's Lint Custom Checks Registry.
Browse files Browse the repository at this point in the history
Fixes: #2582
RELNOTES=Updates dagger-lint to avoid displaying a warning due to missing Vendor information.
PiperOrigin-RevId: 426939318
  • Loading branch information
danysantiago authored and Dagger Team committed Feb 7, 2022
1 parent 33ba899 commit cb33cc5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions java/dagger/lint/DaggerIssueRegistry.kt
Expand Up @@ -16,6 +16,7 @@
package dagger.lint

import com.android.tools.lint.client.api.IssueRegistry
import com.android.tools.lint.client.api.Vendor
import com.android.tools.lint.detector.api.CURRENT_API
import com.android.tools.lint.detector.api.Issue
import com.google.auto.service.AutoService
Expand All @@ -37,4 +38,10 @@ class DaggerIssueRegistry : IssueRegistry() {
// that might not work. This value eventually has to be updated as newer Api become available.
override val api: Int = 11
override val issues: List<Issue> = DaggerKotlinIssueDetector.issues
override val vendor = Vendor(
vendorName = "Google",
identifier = "com.google.dagger:dagger-lint",
feedbackUrl = "https://github.com/google/dagger/issues",
contact = "https://github.com/google/dagger"
)
}

0 comments on commit cb33cc5

Please sign in to comment.