robfletcher / gradle-compass

A SASS / Compass plugin for Gradle
Apache License 2.0
59 stars 39 forks source link

Upgrade dependencies to the latest versions #55

Closed michaelwoodson closed 8 years ago

michaelwoodson commented 8 years ago

These changes upgrade to the latest version of jruby-gradle-plugin. The version of jruby-gradle-plugin currently in use (0.1.9) relies on a torquebox proxy (http://rubygems-proxy.torquebox.org) to resolve dependencies, but at some point the plugin switched to a new proxy (http://rubygems.lasagna.io/). At the time of this writing, the old version will produce an error when trying to resolve dependencies for a clean build and fail to run.

Most of the changes are catching up with the new jruby-gradle-plugin api. There is one issue with dependencies like "rubygems:compass:+" so I had to hardcode to the latest version of compass to get it to work: https://github.com/jruby-gradle/jruby-gradle-plugin/issues/267 Hardcoding the version works for now, but if a new version of compass is released the unit tests will fail.

I also had to tweak the css in the unit tests, the changes were due to subtle differences in how the latest version of compass builds css.

I noticed the WatchSpec doesn't always work, particularly with clean builds. I don't think these changes caused the problem, but maybe the test frameworks should be rolled back to the original version if the Spec hasn't always been problematic.

This pull request updates all the dependencies except for bintray (0.6 -> 1.6) which I couldn't really test. It also adds a plugin to check for new versions.

michaelwoodson commented 8 years ago

I added a workaround for the compass dependency, changed rubygems:compass:+ to rubygems:compass:[0.0,).