Skip to content

Commit

Permalink
Update kotlinpoet to v1.14.2 (#462)
Browse files Browse the repository at this point in the history
* Update kotlinpoet to v1.14.2

* Updates

---------

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 Jul 20, 2023
1 parent e707085 commit 560b2b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jdk = "20"
jvmTarget = "11"
kotlin = "1.9.0"
kotlinCompileTesting = "0.3.0"
kotlinpoet = "1.12.0"
kotlinpoet = "1.14.2"
ksp = "1.9.0-1.0.11"
ktfmt = "0.44"
moshi = "1.15.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class MoshiSealedSymbolProcessorProviderTest {
import com.squareup.moshi.Moshi
import com.squareup.moshi.adapters.PolymorphicJsonAdapterFactory
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.emptySet
@Suppress("DEPRECATION", "unused", "ClassName", "REDUNDANT_PROJECTION", "RedundantExplicitType",
Expand All @@ -90,9 +89,9 @@ class MoshiSealedSymbolProcessorProviderTest {
.withSubtype(BaseType.TypeC.TypeCImpl::class.java, "c")
.create(BaseType::class.java, emptySet(), moshi) as JsonAdapter<BaseType>
public override fun fromJson(reader: JsonReader): BaseType? = runtimeAdapter.fromJson(reader)
override fun fromJson(reader: JsonReader): BaseType? = runtimeAdapter.fromJson(reader)
public override fun toJson(writer: JsonWriter, value_: BaseType?): Unit {
override fun toJson(writer: JsonWriter, value_: BaseType?) {
runtimeAdapter.toJson(writer, value_)
}
}
Expand Down Expand Up @@ -399,7 +398,6 @@ class MoshiSealedSymbolProcessorProviderTest {
import kotlin.ExperimentalStdlibApi
import kotlin.OptIn
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.emptySet
@Suppress("DEPRECATION", "unused", "ClassName", "REDUNDANT_PROJECTION", "RedundantExplicitType",
Expand All @@ -422,9 +420,9 @@ class MoshiSealedSymbolProcessorProviderTest {
.create(BaseType::class.java, emptySet(), moshi_) as JsonAdapter<BaseType>
}
public override fun fromJson(reader: JsonReader): BaseType? = runtimeAdapter.fromJson(reader)
override fun fromJson(reader: JsonReader): BaseType? = runtimeAdapter.fromJson(reader)
public override fun toJson(writer: JsonWriter, value_: BaseType?): Unit {
override fun toJson(writer: JsonWriter, value_: BaseType?) {
runtimeAdapter.toJson(writer, value_)
}
}
Expand Down Expand Up @@ -483,7 +481,6 @@ class MoshiSealedSymbolProcessorProviderTest {
import com.squareup.moshi.Moshi
import com.squareup.moshi.adapters.PolymorphicJsonAdapterFactory
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.emptySet
@Suppress("DEPRECATION", "unused", "ClassName", "REDUNDANT_PROJECTION", "RedundantExplicitType",
Expand All @@ -497,9 +494,9 @@ class MoshiSealedSymbolProcessorProviderTest {
.withSubtype(SubType::class.java, "a")
.create(BaseType::class.java, emptySet(), moshi) as JsonAdapter<BaseType>
public override fun fromJson(reader: JsonReader): BaseType? = runtimeAdapter.fromJson(reader)
override fun fromJson(reader: JsonReader): BaseType? = runtimeAdapter.fromJson(reader)
public override fun toJson(writer: JsonWriter, value_: BaseType?): Unit {
override fun toJson(writer: JsonWriter, value_: BaseType?) {
runtimeAdapter.toJson(writer, value_)
}
}
Expand Down

0 comments on commit 560b2b0

Please sign in to comment.