christophsturm
11/06/2020, 4:12 PMpackage r2dbcfun
object ProjectConfig {
const val eap = false
val kotlinVersion = if (eap) "1.4.20-RC" else "1.4.10"
}
in my normal build file i have an import for it:
import r2dbcfun.ProjectConfig
still in the plugins block i have to specify the whole package:
kotlin("jvm").version(r2dbcfun.ProjectConfig.kotlinVersion)
probably because the plugins block is treated separately from the build file.
idea shows the package as grayed out and wants to remove it, which results in an invalid build filechristophsturm
11/06/2020, 4:13 PMJavier
11/06/2020, 4:54 PMchristophsturm
11/08/2020, 6:35 PM