Skip to content

Commit

Permalink
chore(build): Bump ktlint to stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed Nov 7, 2023
1 parent f2d12f8 commit c44617e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,11 @@ jib {
if ("jibBuildTar" in requestedTasks || "jibDockerBuild" in requestedTasks) {
platform {
// todo: better logic
architecture = when (System.getProperty("os.arch")) {
"aarch64" -> "arm64"
else -> "amd64"
}
architecture =
when (System.getProperty("os.arch")) {
"aarch64" -> "arm64"
else -> "amd64"
}
os = "linux"
}
} else {
Expand All @@ -146,13 +147,14 @@ jib {
}

tasks {
val webpackTask = if (isDevelopment()) {
"jsBrowserDevelopmentWebpack"
} else {
"jsBrowserProductionWebpack"
}.let { taskName ->
named<KotlinWebpack>(taskName)
}
val webpackTask =
if (isDevelopment()) {
"jsBrowserDevelopmentWebpack"
} else {
"jsBrowserProductionWebpack"
}.let { taskName ->
named<KotlinWebpack>(taskName)
}

named<Jar>("jvmJar") {
rootProject.indraGit.applyVcsInformationToManifest(manifest)
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
adventure = "4.14.0"
kotlin = "1.9.20"
ktlint = "0.50.0"
ktlint = "1.0.1"
ktor = "2.3.5"

[plugins]
Expand Down

0 comments on commit c44617e

Please sign in to comment.