Skip to content

Commit 5e3b455

Browse files
authored
Disable lint tasks while building release (#5963)
1 parent 72457d0 commit 5e3b455

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207
KEYSTORE_PASSWORD: android
208208
# Disable lint tasks since we have a dedicated job for this in the workflow
209209
run: |
210-
./gradlew :common:assemble :app:assembleRelease :wear:assembleRelease :automotive:assembleRelease -x lint
210+
./gradlew :common:assemble :app:assembleRelease :wear:assembleRelease :automotive:assembleRelease
211211
212212
unit_tests:
213213
name: "Unit Tests"

build-logic/convention/src/main/kotlin/AndroidCommonConventionPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import com.android.build.api.dsl.ApplicationExtension
32
import io.homeassistant.companion.android.androidConfig
43
import io.homeassistant.companion.android.getPluginId
@@ -78,6 +77,7 @@ class AndroidCommonConventionPlugin : Plugin<Project> {
7877
}
7978

8079
lint {
80+
checkReleaseBuilds = false
8181
// Lint task should fail if there are issues so the CI doesn't allow addition of lint issue.
8282
abortOnError = true
8383
// This is an aggressive settings but it helps keeping the code base out of warnings

0 commit comments

Comments
 (0)