Skip to content

Commit

Permalink
Update dependency com.facebook:ktfmt to v0.49 (#580)
Browse files Browse the repository at this point in the history
* Update dependency com.facebook:ktfmt to v0.49

* Spotless

* Fix CI kotlin

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zac Sweers <pandanomic@gmail.com>
  • Loading branch information
renovate[bot] and ZacSweers authored Apr 29, 2024
1 parent ebf92c5 commit a5fc4ed
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
java: [ '21' ]
kotlin: [ '1.9.22' ]
kotlin: [ '1.9.23' ]
ksp_enabled: [ true, false ]
k2_enabled: [ true, false ]
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kotlin = "1.9.22"
kotlinCompileTesting = "0.4.1"
kotlinpoet = "1.16.0"
ksp = "1.9.23-1.0.20"
ktfmt = "0.47"
ktfmt = "0.49"
moshi = "1.15.1"
okhttp = "4.12.0"
retrofit = "2.11.0"
Expand Down
1 change: 1 addition & 0 deletions moshi-ir/moshi-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ val copyVersionTemplatesProvider =
expand(mapOf("projectVersion" to "${project.property("VERSION_NAME")}"))
filteringCharset = "UTF-8"
}

// endregion

tasks.withType<KotlinCompile>().configureEach {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ class KotlinJsonAdapterTest {

enum class KotlinEnum {
A,
B
B,
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class MessageTest(type: Type) {
.addLast(KotlinJsonAdapterFactory())
.build()
),
CODEGEN
CODEGEN,
}

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ObjectSerializationTest(type: Type) {
.addLast(KotlinJsonAdapterFactory())
.build()
),
CODEGEN
CODEGEN,
}

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ReflectOnlyTests(type: Type) {
.add(MetadataMoshiSealedJsonAdapterFactory())
.addLast(KotlinJsonAdapterFactory())
.build()
)
),
}

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class SealedInterfaceMessageTest(type: Type) {
.addLast(KotlinJsonAdapterFactory())
.build()
),
CODEGEN
CODEGEN,
}

companion object {
Expand Down

0 comments on commit a5fc4ed

Please sign in to comment.