Skip to content

Commit

Permalink
Android Lint on non-Android subprojects.
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth J. Shackleton <[email protected]>
  • Loading branch information
kennethshackleton committed May 28, 2024
1 parent a789c6a commit 48cf807
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: 'Licenses'
run: ./gradlew licensee --no-configuration-cache
- name: 'Analyse'
run: ./gradlew detekt ktlintCheck lintDebug ${{ env.SCAN }}
run: ./gradlew detekt ktlintCheck lint -x lintRelease ${{ env.SCAN }}
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down
2 changes: 2 additions & 0 deletions selekt-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

repositories {
mavenCentral()
google()
}

plugins {
kotlin("jvm")
id("com.android.lint")
alias(libs.plugins.dokka)
`maven-publish`
signing
Expand Down
2 changes: 2 additions & 0 deletions selekt-java/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ import org.jetbrains.dokka.gradle.DokkaTaskPartial

repositories {
mavenCentral()
google()
}

plugins {
kotlin("jvm")
kotlin("kapt")
id("com.android.lint")
alias(libs.plugins.kover)
alias(libs.plugins.dokka)
`maven-publish`
Expand Down

0 comments on commit 48cf807

Please sign in to comment.