mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-03-30 05:42:15 +02:00
Grails example
This commit is contained in:
28
20-grails/build.gradle
Normal file
28
20-grails/build.gradle
Normal file
@@ -0,0 +1,28 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath "org.grails:grails-gradle-plugin:2.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
version "0.1"
|
||||
group "com.ysoft.training"
|
||||
|
||||
apply plugin: "grails"
|
||||
|
||||
repositories {
|
||||
grails.central() //creates a maven repo for the Grails Central repository (Core libraries and plugins)
|
||||
}
|
||||
|
||||
grails {
|
||||
grailsVersion = '2.3.5'
|
||||
groovyVersion = '2.1.9'
|
||||
springLoadedVersion '1.1.3'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
bootstrap "org.grails.plugins:tomcat:7.0.50" // No container is deployed by default, so add this
|
||||
compile 'org.grails.plugins:resources:1.2' // Just an example of adding a Grails plugin
|
||||
}
|
||||
Reference in New Issue
Block a user