Created
February 9, 2012 12:08
-
-
Save sammyrulez/1779558 to your computer and use it in GitHub Desktop.
Grails 2.0 gradle build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grailsVersion = '2.0.0' | |
buildscript { | |
repositories { | |
mavenCentral() | |
mavenRepo urls: 'http://snapshots.repository.codehaus.org' | |
mavenRepo urls: 'http://download.java.net/maven/2/' | |
mavenRepo name: "Grails Repo", urls: "http://repo.grails.org/grails/repo" | |
} | |
dependencies { | |
classpath "org.grails:grails-gradle-plugin:1.1-SNAPSHOT" | |
} | |
} | |
apply plugin: "grails" | |
version = "1.0-SNAPSHOT" | |
repositories { | |
mavenCentral() | |
flatDir dirs: "lib" | |
mavenRepo name: "Grails Repo", urls: "http://repo.grails.org/grails/repo" | |
} | |
configurations { | |
compile.exclude module: "commons-logging" | |
} | |
dependencies { | |
compile "org.grails:grails-crud:${grailsVersion}", | |
"org.grails:grails-dependencies:${grailsVersion}", | |
"org.grails:grails-resources:${grailsVersion}" | |
runtime "org.slf4j:slf4j-log4j12:1.6.2", | |
"com.h2database:h2:1.3.160", | |
"net.sf.ehcache:ehcache-core:2.4.6", | |
"org.grails:grails-plugin-logging:2.0.0.M2" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment