我在OSX Yosemite上,它带有一个默认的SVN客户端1.7.x.
我使用macports安装1.8.11并使用1.8.11(通过zshell)检出了一个repo.
当我svn通过shell 使用命令时(在zshell和bash上),它指向1.8.11.
但是在IntelliJ 14中,它不情愿地继续尝试使用1.7.x客户端并且错误地说:
SVN: E155021: this client is too old to work with the working copy.
如果我svn通过IntelliJ自己的终端使用命令,我看到它是1.8.11.
如何强制IntelliJ使用1.8.11?
无法在Subversion下的首选项中看到相关选项.
我有几个Gradle脚本可以通过apply from: 'my-build.gradle'.如果我在外部构建文件中使用新插件DSL my-build.gradle,则会因以下错误而失败:
> startup failed:
Only Project build scripts can contain plugins {} blocks
See http://gradle.org/docs/2.3/userguide/plugins.html#sec:plugins_block
for information on the plugins {} block
Run Code Online (Sandbox Code Playgroud)
查看错误消息中指出的文档并未显示限制为何存在.为什么插件声明的位置有限制?
文件供以下参考.
my-build.gradle 文件:
plugins {
id "net.saliman.cobertura" version "2.2.5"
}
Run Code Online (Sandbox Code Playgroud)build.gradle 文件:
apply from: "my-build.gradle"
// Other stuff
Run Code Online (Sandbox Code Playgroud)