nebula-plugins / nebula-kotlin-plugin

Provides the Kotlin plugin via the Gradle plugin portal, automatically depends on the standard library, and allows Kotlin library versions to be omitted
Apache License 2.0
57 stars 12 forks source link

Warning on kotlin 1.3.70 #37

Closed mattbroekhuis closed 4 years ago

mattbroekhuis commented 4 years ago

plugins { id 'nebula.kotlin' version '1.3.70'

The 'org.jetbrains.kotlin.platform.*' plugins are deprecated and will no longer be available in Kotlin 1.4. Please migrate the project to the 'org.jetbrains.kotlin.multiplatform' plugin. See: https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html

DanielThomas commented 4 years ago

Weird to deprecate something in favor of something still considered experimental in 1.2 and 1.3. We could maybe have nebula.kotlin apply the multi-project plugin with a jvm target.

I'd hoped to be able to retire this plugin eventually, having it replaced with core features in the upstream plugin. I'll take a look at see how we're doing on parity now.

DanielThomas commented 4 years ago

I finally got a chance to take a look at the multiplatform plugin. It supports all of the ergonomic features we had such as JVM targets and library version management and is a complete migration from the existing plugin. We'll continue to release 1.x releases of this plugin but will retire it otherwise and recommend migrating to the multiplatform plugin