Skip to content

Instantly share code, notes, and snippets.

@dexterous
Created April 8, 2011 22:00
Show Gist options
  • Save dexterous/910817 to your computer and use it in GitHub Desktop.
Save dexterous/910817 to your computer and use it in GitHub Desktop.
// http://code.google.com/p/spock/source/browse/trunk/spock-example/build.gradle
apply plugin: "groovy"
apply plugin: "idea"
apply plugin: "eclipse"
repositories {
mavenCentral()
mavenRepo urls: "http://m2repo.spockframework.org/snapshots"
}
dependencies {
groovy("org.codehaus.groovy:groovy-all:1.6.9") {
exclude module: 'junit'
exclude module: "ant"
exclude module: "ant-launcher"
}
testCompile "org.spockframework:spock-core:0.6-groovy-1.6-SNAPSHOT"
testCompile "org.hamcrest:hamcrest-core:1.2"
testRuntime "cglib:cglib-nodep:2.2"
testRuntime "org.objenesis:objenesis:1.2"
testRuntime "com.h2database:h2:1.2.147"
}
task collectJars(type: Copy) {
into "$buildDir/output/lib"
from configurations.testRuntime
}
task wrapper(type: Wrapper) {
gradleVersion = "0.9-rc-3"
jarPath = "wrapper"
}
# http://github.com/c42/goldberg/raw/master/Gemfile
source 'http://rubygems.org'
gem 'rails', '3.0.5'
gem 'sqlite3', '~> 1.3.3', :platforms => :ruby
gem 'haml', '~> 3.0.25'
platform :jruby do
gem 'jdbc-sqlite3', '~> 3.6.0'
gem 'activerecord-jdbcsqlite3-adapter'
end
group :development, :test do
gem "ruby-debug", "~> 0.10.4", :platforms => [:ruby_18, :jruby]
gem "ruby-debug19", "~> 0.11.6", :platforms => :ruby_19
gem 'rspec-rails', '~> 2.5.0'
gem 'stirlitz', '~> 0.0.1.1'
if RUBY_PLATFORM == 'java'
# See https://github.com/carlhuda/bundler/issues/1100
gem 'mongrel', '~> 1.0'
else
gem 'mongrel', '~> 1.2.0.pre2'
end
gem 'spork', '~> 0.9.0.rc'
gem 'factory_girl_rails', '~> 1.0.1'
end
// http://github.com/visionmedia/express/blob/master/package.json
{
"name": "express",
"description": "Sinatra inspired web development framework",
"version": "2.2.1",
"author": "TJ Holowaychuk <tj@vision-media.ca>",
"contributors": [
{ "name": "TJ Holowaychuk", "email": "tj@vision-media.ca" },
{ "name": "Aaron Heckmann", "email": "aaron.heckmann+github@gmail.com" },
{ "name": "Ciaran Jessup", "email": "ciaranj@gmail.com" },
{ "name": "Guillermo Rauch", "email": "rauchg@gmail.com" }
],
"dependencies": {
"connect": ">= 1.2.3 < 2.0.0",
"mime": ">= 0.0.1",
"qs": ">= 0.0.6"
},
"keywords": ["framework", "sinatra", "web", "rest", "restful"],
"repository": "git://github.com/visionmedia/express",
"main": "index",
"bin": { "express": "./bin/express" },
"engines": { "node": ">= 0.4.1 < 0.5.0" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment