In Intellij I think you can import the project by using the
"import by gradle file" functionality (I'm using Intellij too),
then it should resolve the dependencies and configure the source
paths (the project's only dependencies are groovy and gradle). I'm
not sure that it will configure/download the Gradle API, so if it
doesn't then you need to download it manually and configure it.
Other important things:
- There are not unit tests yet, this is something that is on the
planning (and really important actually) - As a contributor you'd
best fork the project and work on the 'develop' branch. - I'm
always installing the GradleFx project to my local repo while
testing with "mvn install". Using mavenLocal() in my test project
instead of mavenCentral() so it uses my locally installed GradleFx
without i get a BUILD FAILED.
So I run it again with @-debug --stacktrace@ and wrote all output
to the attached gradlew.log which I attached.
When commenting out the everything after
/********* artifact signing *********
But I can't import the project into IntelliJ (I tried to use the
1.0-rc) even when commenting out the part above.
It always end with the message als found in the idea.log I
attached: Can't resolve gradle project at
Do I need to have something maven specific installed on my
k, I found how to import it into Intellij. I expected the
Intellij auto import to work correctly but apparently it doesn't.
So this is what you have to do:
1. add "apply plugin: 'idea'" to the GradleFx build.gradle file
2. execute the "gradle idea" command from the command line
3. In Intellij go to "File -> Open project" and choose the
For people interested in working on GradleFx with Eclipse:
1. install Groovy Eclipse plugin
2. give the GradleFx a Groovy nature
3. add all the jars from Gradle's 'lib' dir to the classpath
and Eclipse should now be able to compile without errors.
I'm currently using Gradle 1.0 RC 2. There are two minor changes
that affect GradleFx:
1. In org.gradlefx.tasks.compile.CompC there is an
This file has moved to
2. In build.gradle replace packaging =
'jar' with ext.packaging = 'jar'
I just use Gradle to build and publish to the local repo as
I did this by replacing the signing and
uploadArchives blocks in build.gradle with
I also added build.gradle to my gitignore so I
never accidentally push this change upstream.
Now I just type gradle install and I use
mavenLocal() when I use/test the plugin.