Error:(46, 0) Could not find method kotlin() for a...
# announcements
j
Error:(46, 0) Could not find method kotlin() for arguments [build_4fp1tow4qcx2530bdrl2gp05n$_run_closure2$_closure19$_closure20@78ae7c54] on source set 'main' of type org.gradle.api.internal.tasks.DefaultSourceSet.
m
so… after uninstalling Kotlin plugin, you may remove that line about kotlin from the defaultSourceSet… doesn’t you?
j
I uninstalled the plugin
and gradle still gives the same errors
in or outside of intellij
m
Then I’m afraid I couldn’t help you… sorry.
j
Intellij installed this plugin
now I cant get rid of it
m
I will remove the
kotlin { srcDirs = [] }
from gradle file.