嗯,最后:
apply from:'http://github.com/breskeby/gradleplugins/raw/master/emmaPlugin/emma.gradle'
不起作用 - 必须下载并在本地放置。所以:
apply from: 'emma.gradle'
作品:-)
题
https://github.com/breskeby/gradleplugins/tree/master/emmaplugin
我无法与当前文档一起使用Gradle 1.7。
解决方案
嗯,最后:
apply from:'http://github.com/breskeby/gradleplugins/raw/master/emmaPlugin/emma.gradle'
不起作用 - 必须下载并在本地放置。所以:
apply from: 'emma.gradle'
作品:-)
其他提示
问题是给定的github.com链接将重定向到raw.githubusercontent.com
尝试
apply from: 'https://raw.githubusercontent.com/breskeby/gradleplugins/master/emmaPlugin/emma.gradle'