Skip to content

Commit

Permalink
Add abortOnError lint option
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Jan 27, 2023
1 parent 9716229 commit 9e78104
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,18 @@ android {
excludes.add("/META-INF/{AL2.0,LGPL2.1}")
}
}

buildTypes {
create("benchmark") {
signingConfig = signingConfigs.getByName("debug")
matchingFallbacks += listOf("release")
isDebuggable = false
}
}

lint {
abortOnError = false
}
}

dependencies {
Expand Down
4 changes: 4 additions & 0 deletions benchmark/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ android {
}
}

lint {
abortOnError = false
}

targetProjectPath = ":app"
experimentalProperties["android.experimental.self-instrumenting"] = true
}
Expand Down

0 comments on commit 9e78104

Please sign in to comment.