https://kotlinlang.org logo
#atrium
Title
# atrium
a

Anes

07/14/2020, 8:17 AM
Hi, I am tried to clone the project and build it, when I try to sync the project it fails with no output. Building it using command line works fine and all the tests passes. my work envirement is: jdk 8, intellij 2020.1.3.
r

robstoll

07/14/2020, 10:28 AM
What do you mean exactly with sync? Can you make a screen-cast so that we can exactly see what you are doing.
a

Anes

07/15/2020, 4:47 PM
r

robstoll

07/15/2020, 6:48 PM
Looks like you have not imported the project as gradle project. Make sure you import it by choosing the build.gradle and then select "import as project"
You should get the project
atrium
in the gradle window
a

Anes

07/16/2020, 9:34 PM
I selected the project level
build.gradle
, then ‘import as project’ , the
atrium
project is shown in the gradle window but still I am getting the same issue.
r

robstoll

07/17/2020, 6:37 AM
still without any error message?
a

Anes

07/17/2020, 9:35 AM
yes no error message
r

robstoll

07/17/2020, 9:48 AM
Can you please try out of it works with jdk11?
I'll try out jdk8 but probably not this week
Does intellij ask what gradle you want to use during the import? If so, choose the wrapper (not local gradle)
What helps as well sometimes is to invalidate the cache of intellij. Try this + re-import. I found similar error descriptions and there it had something to do with the jdk installation. Do you encounter the same problem with other projects?
a

Anes

07/17/2020, 10:12 AM
I tried
jdk14
and
jdk8
, I will try
jdk11
. It doesn’t ask what
gradle
to choose but I tried to use both the local and the wrapper. I don’t have the same problem with other projects
r

robstoll

07/17/2020, 10:16 AM
Very strange, I never had this problem and I have setup the project at different PCs.
Do you see any errors in the IntelliJ log?
a

Anes

07/18/2020, 7:02 AM
no errors in the event log
I changed the both the project jdk and
Gradle
jvm to jdk14 and now it’s working, Thanks for your help
r

robstoll

07/18/2020, 9:25 AM
Cool, I guess you plan to contribute to Atrium (or why have you setup the project?) Let me know which task you want to tackle and in case you hit other problems
a

Anes

07/18/2020, 10:29 PM
Thank you I am trying to get around the codebase, I will keep you posted if I hit a problem.
5 Views