Skip to content

Commit

Permalink
test: Add integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
warnyul committed Mar 14, 2024
1 parent 0232dba commit 0fdb879
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions integration-tests/agp-groovy-dsl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ android {
}
}

detekt {
version = libs.versions.detekt.get()
autoCorrect = true
config.setFrom(rootProject.layout.projectDirectory.file('config/detekt/detekt.yml').asFile)
}

kotlin {
jvmToolchain(libs.versions.jvmToolchain.get().toInteger())
}
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/agp-kotlin-dsl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ android {
}
}

detekt {
version = libs.versions.detekt.get()
autoCorrect = true
config.setFrom(rootProject.layout.projectDirectory.file("config/detekt/detekt.yml").asFile)
}

kotlin {
jvmToolchain(libs.versions.jvmToolchain.get().toInt())
}
Expand Down

0 comments on commit 0fdb879

Please sign in to comment.