https://kotlinlang.org logo
#kapt
Title
# kapt
t

thana

01/19/2019, 1:09 PM
hi. I added
id 'org.jetbrains.kotlin.kapt' version '1.3.11'
to my
plugins
block, but it seems the
kapt
configuration is still missing. i always get an error
Could not find method kapt() for arguments [com.github.dzuvic:jtsgen-processor:0.4.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Any idea?
g

gildor

01/20/2019, 12:18 AM
It should work
Do you have minimal example where this doesn't work
t

thana

01/20/2019, 10:07 AM
No not yet. the problem might be connnected to the project being a multiplatform project. should it work in such a context? (In the end im just curious, i think i cant use annotations anyway, as they are implemented in java only)
g

gildor

01/20/2019, 11:31 AM
No, KAPT is JVM only feature because based on Java APT and JSR-269
t

thana

01/20/2019, 1:28 PM
Alright. Thank you.
2 Views