Skip to content

Commit ed660fa

Browse files
committed
Deps: Add wordpress lint dependency (2.0.0) to aztec module
Release Notes: https://github.com/wordpress-mobile/ WordPress-Lint-Android/releases/tag/2.0.0 Since the 'aztec' module is still using Java files in it, it makes sense to utilize the 'org.wordpress:lint' library on it. All other modules are all Kotlin, with no Java files in it. As such, there is no point in utilizing the 'org.wordpress:lint' library on any other module. FYI: As of version '2.0.0' has only one rule, which informs about missing null annotation on Java classes.
1 parent 1614ca1 commit ed660fa

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

aztec/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ dependencies {
7272
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlinCoroutinesVersion"
7373

7474
implementation 'org.apache.commons:commons-lang3:3.8.1'
75+
76+
lintChecks "org.wordpress:lint:$wordpressLintVersion"
7577
}
7678

7779
project.afterEvaluate {

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ ext {
6969
}
7070

7171
ext {
72+
// mixed
7273
gradlePluginVersion = '3.3.1'
7374
kotlinCoroutinesVersion = '1.6.4'
7475
tagSoupVersion = '1.2.1'
@@ -80,5 +81,9 @@ ext {
8081
wordpressUtilsVersion = '3.5.0'
8182
espressoVersion = '3.0.1'
8283

84+
// other
85+
wordpressLintVersion = '2.0.0'
86+
87+
// project
8388
aztecProjectDependency = project.hasProperty("aztecVersion") ? "org.wordpress:aztec:${project.getProperty("aztecVersion")}" : project(":aztec")
8489
}

0 commit comments

Comments
 (0)