Browse files

enhanced the gradle install command to also install into GRAILS_HOME/…

…dist
  • Loading branch information...
1 parent c036d4b commit 6d7b0f82b5f35fb3dfd914a622cad83537f4205b @graemerocher graemerocher committed Feb 22, 2011
Showing with 9 additions and 1 deletion.
  1. +9 −1 build.gradle
View
10 build.gradle
@@ -32,7 +32,7 @@ antVersion = "1.7.1"
springVersion = "3.0.3.RELEASE"
-subprojects {
+subprojects { project ->
apply plugin: 'groovy'
apply plugin: 'eclipse'
apply plugin: 'maven'
@@ -168,6 +168,14 @@ subprojects {
jsp21 'javax.servlet.jsp:jsp-api:2.1'
}
+ install.doLast {
+ copy {
+ from(project.libsDir) {
+ include "*-${grailsVersion}.jar"
+ }
+ into "${rootProject.projectDir}/dist"
+ }
+ }
}

0 comments on commit 6d7b0f8

Please sign in to comment.