Slackbot
07/25/2022, 6:31 PMClayton Walker
07/25/2022, 6:34 PMkotlin-dsl
lets the extension function resolve.Vampire
07/26/2022, 7:33 AMstdlib-jdk8
. What's the code in question?Clayton Walker
07/26/2022, 6:14 PMval path: Path = <temppath>
val expected = """
<expected dockerfile contents>
""".trimIndent()
val actual = path.resolve("build/docker/Dockerfile").toFile().readText()
assertEquals(expected, actual)
Specifically I have to call toFile().readText()
because I can't get the Path.readText()
method to resolveClayton Walker
07/26/2022, 6:43 PMkotlin-dsl
Vampire
07/27/2022, 10:03 AMkotlin-dsl
plugin also sets this api and language version accordingly.Vampire
07/27/2022, 10:05 AMkotlin("jvm") version embeddedKotlinVersion
in good-plugin to have the embedded kotlin version.Clayton Walker
07/27/2022, 3:00 PM