How To Migrate From Kotlin 1.2 To 1.3 With The Kotlin-dsl Gradle Plugin?
I am currently using the kotlin-dsl Gradle plugin 0.18.2, Kotlin 1.2.51 and Gradle 4.10.2 in my Android project (take a look at the temporary project-setup branch). I like to migra
Solution 1:
The source of the migration problems was a misconfiguration of the buildSrc
folder. I was treating it as a module in the settings.gradle file:
include ':app', ':buildSrc', ':database', ':network'
Instead it should be treated as an included build as stated in the Gradle documentation.
The solution given by Paul Merlin, @eskatos was to simply remove the buildSrc
folder there:
include ':app', ':database', ':network'
Post a Comment for "How To Migrate From Kotlin 1.2 To 1.3 With The Kotlin-dsl Gradle Plugin?"