When I add `compile "org.jetbrains.kotlin:kotlin-r...
# announcements
j
When I add
compile "org.jetbrains.kotlin:kotlin-reflect:${versions.kotlin_version}"
(kotlin 1.4.0), it appears it doesn't fully include the reflection as methods like
primaryConstructor
and
declaredMemberProperties
can't be found. Am I doing something wrong? My jar size increases by 2mb though 🤔
u
Do you have them imported?
import kotlin.reflect.full.*
j
Yes, but for some reason it doesn't find them. Tried to invalidate the cache, but it stil didn't find them
Weird thing is, it does actually compile, so it's just something in the IDE I guess
Solved it by removing
gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin
and doing a gradle sync after that 👍
🤷 1