Skip to content

Commit

Permalink
Merge pull request #227 from usefulness/renovate/maven.ktlint
Browse files Browse the repository at this point in the history
Update maven.ktlint to v1.3.1
  • Loading branch information
renovate[bot] authored Jul 2, 2024
2 parents 74a8b9f + 21d4916 commit e478ccb
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ TODO.md
.gradle/
build/
local.properties
.kotlin
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ google-agp = "8.5.0"
google-ksp = "2.0.0-1.0.22"
maven-junit = "5.10.3"
maven-assertj = "3.26.0"
maven-ktlint = "1.2.1"
maven-ktlint = "1.3.1"
maven-commons = "2.16.1"
maven-binarycompatibilityvalidator = "0.14.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ internal class KotlinProjectTest : WithGradleTest.Kotlin() {
kotlinSourceFile(
"CustomClass.kt",
"""
data class CustomClass(val value: Int)
data class CustomClass(
val value: Int,
)
""".trimIndent(),
)
Expand All @@ -281,7 +283,9 @@ internal class KotlinProjectTest : WithGradleTest.Kotlin() {
kotlinSourceFile(
"CustomClass.kt",
"""
data class CustomClass(val modified: Int)
data class CustomClass(
val modified: Int,
)
""".trimIndent(),
)
Expand All @@ -301,7 +305,9 @@ internal class KotlinProjectTest : WithGradleTest.Kotlin() {
kotlinSourceFile(
"CustomClass.kt",
"""
data class CustomClass(val modifiedEditorconfig: Int)
data class CustomClass(
val modifiedEditorconfig: Int,
)
""".trimIndent(),
)
Expand All @@ -313,7 +319,9 @@ internal class KotlinProjectTest : WithGradleTest.Kotlin() {
kotlinSourceFile(
"WrongFilename.kt",
"""
data class AnotherCustomClass(val modifiedEditorconfig: Int)
data class AnotherCustomClass(
val modifiedEditorconfig: Int,
)
""".trimIndent(),
)
Expand All @@ -338,7 +346,9 @@ internal class KotlinProjectTest : WithGradleTest.Kotlin() {
kotlinSourceFile(
"CustomClass.kt",
"""
data class CustomClass(val value: Int)
data class CustomClass(
val value: Int,
)
""".trimIndent(),
)
Expand All @@ -353,7 +363,9 @@ internal class KotlinProjectTest : WithGradleTest.Kotlin() {
kotlinSourceFile(
"CustomClass.kt",
"""
data class CustomClass(val modified: Int)
data class CustomClass(
val modified: Int,
)
""".trimIndent(),
)
Expand All @@ -373,7 +385,9 @@ internal class KotlinProjectTest : WithGradleTest.Kotlin() {
kotlinSourceFile(
"CustomClass.kt",
"""
data class CustomClass(val modifiedEditorconfig: Int)
data class CustomClass(
val modifiedEditorconfig: Int,
)
""".trimIndent(),
)
Expand All @@ -385,7 +399,9 @@ internal class KotlinProjectTest : WithGradleTest.Kotlin() {
kotlinSourceFile(
"WrongFilename.kt",
"""
data class AnotherCustomClass(val modifiedEditorconfig: Int)
data class AnotherCustomClass(
val modifiedEditorconfig: Int,
)
""".trimIndent(),
)
Expand Down

0 comments on commit e478ccb

Please sign in to comment.