Skip to content

Commit

Permalink
Merge pull request #23 from abema/rename-lint
Browse files Browse the repository at this point in the history
Rename lint module
  • Loading branch information
momomomo111 authored Jun 19, 2023
2 parents d44d88e + 6fd4d5b commit f784b4b
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,13 @@ gradle-app.setting
### Gradle Patch ###
**/build/

# Generated by lint
/lint-results.sarif

# Other
.idea/vcs.xml
local.properties
.idea/kotlinScripting.xml
.idea/deploymentTargetDropDown.xml

# End of https://www.toptal.com/developers/gitignore/api/gradle,intellij
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ allprojects {
```groovy
dependencies {
// Flagfit
implementation 'com.github.abema.flagfit:flagfit:1.0.0'
implementation 'com.github.abema.flagfit:flagfit:1.1.0'
// Flagfit flagtype
implementation 'com.github.abema.flagfit:flagfit-flagtype:1.0.0'
implementation 'com.github.abema.flagfit:flagfit-flagtype:1.1.0'
// Flagfit lint
lintChecks 'com.github.abema.flagfit:lint:1.0.0'
lintChecks 'com.github.abema.flagfit:flagfit-lint:1.1.0'
}
```

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lint/build.gradle → flagfit-lint/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ dependencies {

jar {
manifest {
attributes 'Lint-Registry-v2': 'tv.abema.lint.IssueRegistry'
attributes 'Lint-Registry-v2': 'tv.abema.flagfit.IssueRegistry'
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tv.abema.lint
package tv.abema.flagfit

import com.android.tools.lint.detector.api.AnnotationInfo
import com.android.tools.lint.detector.api.AnnotationUsageInfo
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tv.abema.lint
package tv.abema.flagfit

import com.android.tools.lint.client.api.IssueRegistry
import com.android.tools.lint.client.api.Vendor
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tv.abema.flagfit.IssueRegistry
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tv.abema.lint
package tv.abema.flagfit

import com.android.tools.lint.checks.infrastructure.LintDetectorTest
import com.android.tools.lint.checks.infrastructure.TestFile
Expand All @@ -8,10 +8,10 @@ import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runners.JUnit4
import tv.abema.lint.DeadlineExpiredDetector.Companion.CURRENT_TIME
import tv.abema.lint.DeadlineExpiredDetector.Companion.ISSUE_DEADLINE_EXPIRED
import tv.abema.lint.DeadlineExpiredDetector.Companion.ISSUE_DEADLINE_SOON
import tv.abema.lint.DeadlineExpiredDetector.Companion.TIME_ZONE
import tv.abema.flagfit.DeadlineExpiredDetector.Companion.CURRENT_TIME
import tv.abema.flagfit.DeadlineExpiredDetector.Companion.ISSUE_DEADLINE_EXPIRED
import tv.abema.flagfit.DeadlineExpiredDetector.Companion.ISSUE_DEADLINE_SOON
import tv.abema.flagfit.DeadlineExpiredDetector.Companion.TIME_ZONE

@RunWith(JUnit4::class)
class DeadlineExpiredDetectorText : LintDetectorTest() {
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion sample-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies {
// Flagfit flagtype
implementation project(':flagfit-flagtype')
// Flagfit lint
lintChecks project(':lint')
lintChecks project(':flagfit-lint')
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include ':flagfit'
include ':flagfit-flagtype'
include ':lint'
include ':flagfit-lint'
include ':sample-android'

0 comments on commit f784b4b

Please sign in to comment.