Hi! I pulled the latest changes and wanted to try ...
# kontributors
i
Hi! I pulled the latest changes and wanted to try building project with gradle and went through all the new instructions, but I can’t build because of errors like
Class 'org.intellij.markdown.IElementType' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler
in
KDocRenderer.kt
during
idea:compileKotlin
. Am I missing something?
i
Have you run
ant -f update_dependencies.xml
before running the gradle build?
i
yep
and new gradle sync thingy went successfully
i
Just checked again, builds fine for me. Are you doing it from the command line? Which task are you running?
and what is the result of running
Copy code
ls -l dependencies/markdown.jar
i
It tried both from command line and IDEA. Regarding the commands I tried:
runIde
and
ideaPluginTest
, but it didn’t really matter since both of them have failed on
compileKotlin
task
ls -l dependencies/markdown.jar
gives me
-rw-r--r--  1 ilyazorin  staff  377856 Jan  5  2017 dependencies/markdown.jar
i
my
markdown.jar
is 3 months younger, so it seems that
update_dependencies
step doesn’t work properly. Could you try it in a fresh working dir?
I guess - yes, but this might be not the only incorrect file. You can however backup/delete the whole
dependencies
and
ideaSDK
dirs and rerun
update_dependencies
then.
i
yep just did it
i
Although
update_dependencies
should in fact override everything, so I wonder.
i
I know, me too
looks like now everything is fine. Thanks for the help!
👍 1