Skip to content

Commit

Permalink
Use kotlin dependency extension where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed Apr 7, 2022
1 parent b587519 commit 1957cae
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Expand Up @@ -441,15 +441,15 @@ internal fun manifestContent(packageName: String = "io.gitlab.arturbosch.detekt.
private val APP_PLUGIN_BLOCK = """
plugins {
id("com.android.application")
id("kotlin-android")
kotlin("android")
id("io.gitlab.arturbosch.detekt")
}
""".trimIndent()

private val LIB_PLUGIN_BLOCK = """
plugins {
id("com.android.library")
id("kotlin-android")
kotlin("android")
id("io.gitlab.arturbosch.detekt")
}
""".trimIndent()
Expand Down
Expand Up @@ -148,7 +148,7 @@ class DetektMultiplatformSpec {
1,
buildFileContent = """
plugins {
id("kotlin-multiplatform")
kotlin("multiplatform")
id("com.android.library")
id("io.gitlab.arturbosch.detekt")
}
Expand Down Expand Up @@ -362,7 +362,7 @@ private fun assertDetektWithClasspath(buildResult: BuildResult) {

private val KMM_PLUGIN_BLOCK = """
plugins {
id("kotlin-multiplatform")
kotlin("multiplatform")
id("io.gitlab.arturbosch.detekt")
}
""".trimIndent()
Expand Down
Expand Up @@ -104,7 +104,7 @@ class ReportMergeSpec {
buildFileContent = """
plugins {
id("com.android.application")
id("kotlin-android")
kotlin("android")
id("io.gitlab.arturbosch.detekt")
}
android {
Expand All @@ -122,7 +122,7 @@ class ReportMergeSpec {
buildFileContent = """
plugins {
id("com.android.library")
id("kotlin-android")
kotlin("android")
}
android {
compileSdkVersion(30)
Expand Down

0 comments on commit 1957cae

Please sign in to comment.