Fix Gradle/Google Code resolver for Gradle 1.3 #41
Comments
Do you know what in particular is referencing the ResolverFactory? |
@jeffastorey Reference is here: https://github.com/eriwen/gradle-js-plugin/blob/master/src/main/groovy/com/eriwen/gradle/js/JavaScriptExtension.groovy#L6 Hoping @alkemist can provide some insights. |
Update to plugin version 1.3 after Maven Central syncs in a couple hours. |
Thanks, will do. |
Build seems to be broken after this update... |
@jeffastorey I saw that, but for some reason haven't been able to replicate it. Passes locally with Gradle 1.2/1.3. Ideas welcome. |
It failed for me locally (Ubuntu 12.04 64-bit, Oracle Java 7) both with gradlew and gradle. I did some digging and found that the spec that is failing combined files are not combined in the order they were created. actual: function fn1(){console.log("1")}function fn3(){console.log("3")}function fn2(){console.log("2")}; Maybe in the test you could set the combinejs source to be a LinkedHashSet of the files so the order is guaranteed? |
@jeffastorey @eriwen It failed for me too. Condition not satisfied: file("build/all-min.js").text == 'function fn1(){console.log("1")}function fn2(){console.log("2")}function fn3(){console.log("3")};'
|
Bah. Getting a different test failure on JSHintTest > "build passes with only valid files". I think I'm going to stop guessing and just download VirtualBox/Ubuntu and make it pass there before spamming everyone with commits that fail the build. Reopening this for now. |
Has there been a resolution on this so we can get the build passing again? |
The ResolverFactory seems to have been changed in Gradle 1.3, causing the plugin to break. Need to refactor or remove.
The text was updated successfully, but these errors were encountered: