eriwen/gradle-js-plugin — pull request #22 by jnewman (2012-06-24 00:09:29+00:00)
Title: Roughing some things out for CommonJS components

Mostly, I wanted to see if you think this is headed in the right direction. Things are going a bit slower than I hoped, but I think I'm starting to figure out how groovy works (hopefully next changes will be less hacky). Pretty sure my Gradle is non-idiomatic.

I put all the changes in a branch, but I'm happy to switch to whichever source strategy you'd prefer.

At this point my main concerns for CommonJS are:

1. Do we prefer creating a series of adapters for every repo type (the path I've started down).
2. Should we attempt to setup a way to clone/checkout, so we can download repos easier (maybe there's a better way to do this w/ various VCSs).
3. I'm currently thinking the right thing to do is putting these packages inside dependencies, but I'm super unsure about this:

dependencies {
commonJs {
version '>1.4'
url 'https://github.com/jquery/jquery.git'
name 'jQuery'
}
}

I'm assuming this changeset will mostly be a learning experience, so please grade harshly.

Thanks,
Josh