Skip to content

Commit

Permalink
Use latest kotlinter
Browse files Browse the repository at this point in the history
  • Loading branch information
Daeda88 committed Nov 27, 2023
1 parent a60cdad commit 2cf79ba
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 40 deletions.
18 changes: 0 additions & 18 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,6 @@ buildscript {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${project.extra["kaluga.kotlinVersion"]}")
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:${project.extra["kaluga.atomicFuGradlePluginVersion"]}")
}

configurations.classpath {
resolutionStrategy {
// Temporarily override ktlint version until kotlinter is updated
// Required because Composable methods require an override for function naming rules
force(
"com.pinterest.ktlint:ktlint-rule-engine:1.0.1",
"com.pinterest.ktlint:ktlint-rule-engine-core:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-core:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-checkstyle:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-json:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-html:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-plain:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-sarif:1.0.1",
"com.pinterest.ktlint:ktlint-ruleset-standard:1.0.1"
)
}
}
}

plugins {
Expand Down
20 changes: 0 additions & 20 deletions example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,3 @@ plugins {
kotlin("multiplatform").apply(false)
id("kaluga-library-components")
}

buildscript {
configurations.classpath {
resolutionStrategy {
// Temporarily override ktlint version until kotlinter is updated
// Required because Composable methods require an override for function naming rules
force(
"com.pinterest.ktlint:ktlint-rule-engine:1.0.1",
"com.pinterest.ktlint:ktlint-rule-engine-core:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-core:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-checkstyle:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-json:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-html:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-plain:1.0.1",
"com.pinterest.ktlint:ktlint-cli-reporter-sarif:1.0.1",
"com.pinterest.ktlint:ktlint-ruleset-standard:1.0.1"
)
}
}
}
2 changes: 1 addition & 1 deletion example/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ kotlin.mpp.import.enableKgpDependencyResolution=true
kaluga.androidGradlePluginVersion=8.1.3
kaluga.kotlinVersion=1.9.21
kaluga.googleServicesGradlePluginVersion=4.4.0
kaluga.kotlinterGradlePluginVersion=4.0.0
kaluga.kotlinterGradlePluginVersion=4.1.0
kaluga.atomicFuGradlePluginVersion=0.22.0
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ kotlin.mpp.import.enableKgpDependencyResolution=true
kaluga.androidGradlePluginVersion=8.1.3
kaluga.kotlinVersion=1.9.21
kaluga.googleServicesGradlePluginVersion=4.4.0
kaluga.kotlinterGradlePluginVersion=4.0.0
kaluga.kotlinterGradlePluginVersion=4.1.0
kaluga.atomicFuGradlePluginVersion=0.22.0


Expand Down

0 comments on commit 2cf79ba

Please sign in to comment.