我正在努力让 IntelliJ 15 Ultimate Edition 与 Grails 3 私有(private)依赖项一起使用。基本上我有一个存储库( Artifact ),我的私有(private)插件在其中发布。我的应用程序可以正确编译/运行/提取所有插件,但 IntelliJ 只是没有获取依赖项。正如您可以想象的那样,这是代码自动完成等的噩梦。
Here's output from the gradle overview in IntelliJ
这是 build.gradle 中插件的配置 - 这些环境变量肯定已设置 - 我也尝试在 ~/.m2/settings.xml 中包含凭据,但仍然无法正常工作。
repositories {
maven {
url "http://maven.hidden.co/plugins-release-local"
credentials {
username System.getenv('REPO_USERNAME')
password System.getenv('REPO_PASSWORD')
}
}
}
请帮忙。我要疯了。
最佳答案
关于maven - IntelliJ 没有引入 Grails 3 私有(private)依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36017971/