turansky
03/27/2020, 11:35 AMkotllin-dsl
version compatible with kotlin plugin 1.4-M1
?eskatos
03/27/2020, 12:40 PMkotlin-dsl
plugin is intended to use the version of Kotlin embedded in Gradle. So, no version guaranteed to be compatible.
Did you try applying the kotlin-dsl
plugin on a build that uses the 1.4-M1 of the kotlin gradle plugin? With what Gradle version? Does it fail? How?turansky
03/27/2020, 1:20 PM6.3
with kotlin-dsl
1.3.5
Kotlin 1.4-M1
eskatos
03/27/2020, 1:27 PMkotlin-dsl
plugin.turansky
03/27/2020, 1:28 PMeskatos
03/27/2020, 1:29 PMturansky
03/27/2020, 1:29 PMbuildSrc
don’t work correctlyeskatos
03/27/2020, 1:31 PMturansky
03/27/2020, 1:34 PMbuildSrc
String.replace
don’t replace all entries
Some List
elements are losteskatos
03/27/2020, 1:36 PMstdlib
incompatibilities between 1.3 and 1.4 ... I suppose that’s a “strange error” like the warning says. 🤷♂️turansky
03/27/2020, 1:37 PMeskatos
03/27/2020, 1:38 PMkotlin-dsl
plugin, giving up on its features, and simply use the kotlin gradle plugin in your buildSrc.turansky
03/27/2020, 1:41 PMkotlin-dsl
applied in buildSrc
by default. Right?eskatos
03/27/2020, 1:44 PMkotlin-dsl
plugin isn’t applied by default, you have to do it:
// buildSrc/build.gradle.kts
plugins { `kotlin-dsl` }
If you do, then my suggestion is to remove this plugin application from your buildSrc, giving up on its features.turansky
03/27/2020, 1:53 PMkotlin-dsl
!1.4
?eskatos
03/27/2020, 6:49 PMrusshwolf
03/28/2020, 1:40 AMkotlin-dsl
plugin? I don’t think I’ve ever seen a kotlin buildSrc configuration that doesn’t use it. The need in my case is to be able to define helper functions used in kotlin build scripts in the rest of the project.louiscad
03/28/2020, 11:09 AMkotlin("jvm")
is the one @russhwolfturansky
04/02/2020, 3:24 PMbuildSrc
- no success with 1.4-M1
Invalid String.replace
Invalid collection operations
• Gradle plugin & ordinal projects - no WA required