gpt4 book ai didi

maven - 如何在Intellij Gradle项目中下载Griffon发行版?

转载 作者:行者123 更新时间:2023-12-03 04:04:07 26 4
gpt4 key购买 nike

我正在尝试启动一个Griffon项目。 Griffon存储库可从Bintray获得。我在Intellij中创建了Gradle项目,并将提供的maven存储库添加到build.gradle文件中。但是没有生成项目结构。我需要知道如何在Intellij中正确创建Griffon项目。我正在从我编辑的build.gradle文件中添加代码。

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'
}

最佳答案

请按照http://griffon-framework.org/http://griffon-framework.org/tutorials/1_getting_started.html上的说明进行操作。

请注意,IntelliJ包括可与Griffon 1.x一起使用的Griffon插件,但不适用于Griffon 2.x的。 Griffon 2可以作为正常的Gradle或Maven项目打开/导入。

关于maven - 如何在Intellij Gradle项目中下载Griffon发行版?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32439496/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com