https://kotlinlang.org logo
g

gaetan

09/30/2017, 2:19 PM
@raniejade I have the same behaviour on https://github.com/data2viz/data2viz No problem with gradle compilation but not working in intellij. However, it’s better now with the beta than previously. Before lastest release I had problems like “unresolved reference” during parsing of code in editor. Now it’s ok during edition and I can live without intellij idea compilation.
r

raniejade

09/30/2017, 3:18 PM
i don't have any problem compiling common modules, but it fails when compiling platform ones (jvm).
g

gaetan

09/30/2017, 3:19 PM
As a workaround just use gradle.
r

raniejade

09/30/2017, 3:19 PM
gradle fails for me
i'm using gradle 4.2 btw
g

gaetan

09/30/2017, 3:20 PM
Take a look on my gradle build (gradle 3.5.1): https://github.com/data2viz/data2viz/blob/master/build.gradle#L59-L99
You can see its execution on travis: https://travis-ci.org/data2viz/data2viz
r

raniejade

09/30/2017, 3:23 PM
Thanks, I'll take a look. I'll try downgrading gradle.
👍 1
Downgraded to 3.5.1, same problem. hmmm
g

gaetan

09/30/2017, 4:09 PM
Seems to be a bug.
r

raniejade

10/01/2017, 1:22 PM
@gaetan got it working, also found out to make IDEA work you need to explicitly specify a dependency to the common module.
2 Views