Philipp Mayer
12/03/2021, 11:00 AMsimon.vergauwen
12/03/2021, 11:14 AMsimon.vergauwen
12/03/2021, 11:15 AMPhilipp Mayer
12/03/2021, 11:46 AMthanh
12/03/2021, 12:18 PMoptics
with kotlin 1.6.0
, it works fine. I believe Kotlin 1.6.0 still supports kapt
as usualsimon.vergauwen
12/03/2021, 12:18 PMkapt
but of course still only for jvm
.thanh
12/03/2021, 12:19 PMPhilipp Mayer
12/03/2021, 12:30 PMthanh
12/03/2021, 12:35 PMapply plugin: 'kotlin-kapt'
is enough I think.Javier
12/03/2021, 1:08 PMPhilipp Mayer
12/03/2021, 1:17 PMplugins {
val kotlinVersion = "1.5.31"
id("org.springframework.boot") version "2.5.1"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
kotlin("jvm") version kotlinVersion
kotlin("plugin.spring") version kotlinVersion
kotlin("kapt") version kotlinVersion
}
changing the kotlinVersion
to 1.6.0
will break the build as there is no version for kapt. Omitting the version will also not work.thanh
12/03/2021, 2:31 PMthanh
12/03/2021, 2:32 PM2.6.0
, it should work