Kotlinx.serialization: Improve name of gradle plugin

Created on 6 Sep 2018  路  2Comments  路  Source: Kotlin/kotlinx.serialization

I think the name of the gradle plugin should be changed to have a -gradle-plugin suffix like other gradle plugins:

  • before: kotlinx-gradle-serialization-plugin
  • after: kotlinx-serialization-gradle-plugin

~gradle
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$compilerVersion"
classpath "org.jetbrains.kotlin:kotlin-native-gradle-plugin:${property('konan.version')}"
classpath "org.jetbrains.kotlin:kotlinx-gradle-serialization-plugin:$serializationPluginVersion"
~

Most helpful comment

There is another option of naming, to be consistent with the rest of Kotlin compiler plugins: just kotlinx-serialization. (https://kotlinlang.org/docs/reference/compiler-plugins.html).

All 2 comments

There is another option of naming, to be consistent with the rest of Kotlin compiler plugins: just kotlinx-serialization. (https://kotlinlang.org/docs/reference/compiler-plugins.html).

So it's renamed to kotlin-serialization now.

Was this page helpful?
0 / 5 - 0 ratings