Skip to content

Commit 3cf4f93

Browse files
committed
Remove KotlinJsonAdapterFactory (moshi-kotlin) dependency from generated code
1 parent 14724fa commit 3cf4f93

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

gradle-plugin/plugin/src/main/resources/kotlin/tools/GeneratedCodeConverters.kt.mustache

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
package {{packageName}}.tools
22

33
import com.squareup.moshi.Moshi
4-
import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
54
import retrofit2.Converter
65
import retrofit2.converter.moshi.MoshiConverterFactory
76

87
object GeneratedCodeConverters {
98
private val moshi = Moshi.Builder()
109
.add(XNullableAdapterFactory())
11-
.add(KotlinJsonAdapterFactory())
1210
.add(TypesAdapterFactory())
1311
.build()
1412

0 commit comments

Comments
 (0)