Serenity-core: Importing serenity-core into Eclipse via Gradle import feature

Created on 20 Jul 2016  路  4Comments  路  Source: serenity-bdd/serenity-core

Hi - I'm trying to import the serenity-core project into Eclipse using the Gradle import feature. I'm using STS (Spring Tool Suite 3.8 which implements Eclipse) and Eclipse Buildship (Eclipse Plug-ins for Gradle - STS Gradle migration).

When I choose to import gradle project and point it at serenity-bdd/serenity-core/gradle I get, "Could not find 'build.gradle' in the root folder. Is it a Gradle project?"

I'm a total newbie to Gradle so I think this is easily answered, but what is the best way for me to develop/extend serenity core using Eclipse/STS as my IDE?

Thanks,
Rob

question

All 4 comments

Got a little further. Now seeing an error ("One of setGitDir or setWorkTree must be called.") after clicking the 'Build Model' button.

screen shot 2016-07-21 at 8 30 00 am

Any help here appreciated.
What IDE's are others using to work w/ the Serenity-core/java project?

Hi, I'm using IntelliJ

I think most of the core contributors are using IntelliJ. But Serenity uses the equivalent of a multi-module gradle project, so Gradle may be having trouble handling this. I'll have a look in STS when I get a spare moment.

Closed for lack of activity.

Was this page helpful?
0 / 5 - 0 ratings