https://github.com/breskeby/gradleplugins/tree/master/emmaPlugin
我无法让它与当前文档的 gradle 1.7 一起使用。
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'