Skip to content

Commit

Permalink
refactor lint module name
Browse files Browse the repository at this point in the history
  • Loading branch information
cgspine committed Jul 12, 2019
1 parent b3be801 commit 570afdb
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion arch/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
api project(':arch-annotation')
compileOnly project(':qmui')
testImplementation 'junit:junit:4.12'
lintChecks project(':qmuilintrule')
lintChecks project(':lintrule')
}

// deploy
Expand Down
File renamed without changes.
7 changes: 6 additions & 1 deletion qmuilint/build.gradle → lint/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@ android {
}

dependencies {
lintPublish project(':qmuilintrule')
lintPublish project(':lintrule')
}

File deployConfig = rootProject.file('gradle/deploy.properties')
if (deployConfig.exists()) {
apply from: rootProject.file('gradle/deploy.gradle')
}
3 changes: 3 additions & 0 deletions lint/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<manifest
package="com.qmuiteam.qmui.lint">
</manifest>
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions qmui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ dependencies {
api "com.android.support:appcompat-v7:$supportVersion"
api "com.android.support:design:$supportVersion"
api "com.android.support:support-vector-drawable:$supportVersion" // need Gradle Plugin v1.5.0 or above
lintChecks project(':qmuilintrule')
lintChecks project(':lintrule')
//test
testImplementation 'junit:junit:4.12'
}

// deploy
//File deployConfig = rootProject.file('gradle/deploy.properties')
//if (deployConfig.exists()) {
// apply from: rootProject.file('gradle/deploy.gradle')
//}
File deployConfig = rootProject.file('gradle/deploy.properties')
if (deployConfig.exists()) {
apply from: rootProject.file('gradle/deploy.gradle')
}
2 changes: 1 addition & 1 deletion qmuidemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ dependencies {
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation project(':lib')
api project(':qmuilint')
api project(':lint')
implementation project(':qmui')
implementation project(':arch')
annotationProcessor project(':compiler')
Expand Down
3 changes: 0 additions & 3 deletions qmuilint/src/main/AndroidManifest.xml

This file was deleted.

2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include ':qmuidemo', ':qmui', ':lib', ':compiler', ':qmuilint', ':qmuilintrule', ':arch', ':arch-compiler', ':arch-annotation'
include ':qmuidemo', ':qmui', ':lib', ':compiler', ':lint', ':lintrule', ':arch', ':arch-compiler', ':arch-annotation'

0 comments on commit 570afdb

Please sign in to comment.