Skip to content

Commit

Permalink
Merge pull request #369 from ikovalyov/renovate/com.diffplug.spotless…
Browse files Browse the repository at this point in the history
…-6.x

chore(deps): update plugin com.diffplug.spotless to v6.25.0
  • Loading branch information
ikovalyov authored Jun 29, 2024
2 parents 15333ab + 02fd7d4 commit b38e467
Show file tree
Hide file tree
Showing 67 changed files with 929 additions and 1,091 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew jvmTest
run: ./gradlew jvmTest jsTest
spotless:

runs-on: ubuntu-latest

steps:
Expand Down
30 changes: 14 additions & 16 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
kotlin("plugin.allopen") version "2.0.0"
kotlin("plugin.serialization") version "2.0.0"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("com.diffplug.spotless") version "6.17.0"
id("com.diffplug.spotless") version "6.25.0"
id("idea")
}

Expand Down Expand Up @@ -49,7 +49,7 @@ kotlin {
}
}
}
js {
js(IR) {
browser {
commonWebpackConfig {
cssSupport {
Expand Down Expand Up @@ -81,8 +81,8 @@ kotlin {
implementation(kotlin("stdlib-js"))
implementation(
project.dependencies.enforcedPlatform(
"org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:1.0.0-pre.763"
)
"org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:1.0.0-pre.763",
),
)
implementation("org.jetbrains.kotlin-wrappers:kotlin-react")
implementation("org.jetbrains.kotlin-wrappers:kotlin-react-dom")
Expand Down Expand Up @@ -131,8 +131,8 @@ kotlin {
configurations["kapt"].dependencies.addAll(
listOf(
project.dependencies.create("io.micronaut:micronaut-inject-java:3.10.4"),
project.dependencies.create("info.picocli:picocli-codegen:4.7.6")
)
project.dependencies.create("info.picocli:picocli-codegen:4.7.6"),
),
)
if (System.getProperty("os.name").lowercase(Locale.getDefault()).contains("mac")) {
implementation("io.micronaut:micronaut-runtime-osx")
Expand All @@ -146,8 +146,8 @@ kotlin {
configurations["kaptTest"].dependencies.addAll(
listOf(
project.dependencies.create("io.micronaut:micronaut-inject-java:3.10.4"),
project.dependencies.create("info.picocli:picocli-codegen:4.7.6")
)
project.dependencies.create("info.picocli:picocli-codegen:4.7.6"),
),
)

implementation(kotlin("test-junit5"))
Expand Down Expand Up @@ -208,23 +208,21 @@ spotless {
val files = project.fileTree(rootDir)
files.include("**/*.kt")
target(files)
ktlint("0.47.1")
.setUseExperimental(true)
ktlint("1.3.0")
.editorConfigOverride(
mapOf(
"max_line_length" to "256",
"insert_final_newline" to "true"
)
"insert_final_newline" to "true",
),
)
}
kotlinGradle {
ktlint("0.47.1")
.setUseExperimental(true)
ktlint("1.3.0")
.editorConfigOverride(
mapOf(
"max_line_length" to "256",
"insert_final_newline" to "true"
)
"insert_final_newline" to "true",
),
)
}
}
Loading

0 comments on commit b38e467

Please sign in to comment.