mavenintellij-ideagradlegriffon

How to download Griffon distribution in Intellij Gradle project?


I am trying to start a Griffon project. The Griffon repository is available from bintray. I created a Gradle project in Intellij and added the maven repository provided into the build.gradle file. But the project structure is not being generated. I need to know how create a Griffon project in Intellij correctly. I am adding the code from the build.gradle file that i edited.

apply plugin: 'java'

sourceCompatibility = 1.5
version = '1.0'

repositories {
mavenCentral()

   maven {
      url  "http://dl.bintray.com/griffon/griffon"
  }
}

dependencies {
 testCompile group: 'junit', name: 'junit', version: '4.11'
}

Solution

  • Please follow the instructions found at http://griffon-framework.org/ and http://griffon-framework.org/tutorials/1_getting_started.html.

    Note that IntelliJ includes a Griffon plugin that works with Griffon 1.x but does not work with Griffon 2.x. Griffon 2 can be opened/imported as a normal Gradle or Maven project.