https://kotlinlang.org logo
Title
r

Robert

12/10/2018, 10:49 PM
One final question before I'm off to bed. My project doesn't seem to find any java related resources. For example when I try to import anything from the java namespace
java.etc
java turns red and is unresolved. I'm using gradle in IntelliJ IDEA CE. This is my multiplatform gradle file: https://gist.github.com/RdeWilde/eee5e77880971f77ee61518a5b447d7d Is there anything that i am missing?
s

snowe

12/10/2018, 11:18 PM
is your project sdk set?
right click on your module, choose
Open Module Settings
, choose
Project
and make sure your SDK is chosen
r

Robert

12/11/2018, 5:27 AM
@snowe my SDK is jdk 1.8.0
s

snowe

12/11/2018, 4:04 PM
Does your module have an sdk as well?
r

Robert

12/11/2018, 6:43 PM
Yes, the same as the project @snowe
s

snowe

12/11/2018, 7:30 PM
hmm….
r

Robert

12/11/2018, 8:11 PM
Is there any other info I can provide? It seems my project setup just can't find any java classes and types 😞
Idk how much it matters, but as said, I am using a #multiplatform project. Maybe that has some effect on whether or not you can use native Java classes?
I think it is related to multiplatform, I asked over at the specific channel.
s

snowe

12/11/2018, 8:26 PM
I did not see that multiplatform bit. whoops.
yes you might be better off asking over there.
r

Robert

12/11/2018, 8:27 PM
Seems that multiplatform is the cause, thank you for your help anyway 🙂
s

snowe

12/11/2018, 8:29 PM
sorry i couldn’t be more help. good luck!