Permalink
Browse files

Apply gradle gaelyk plugin to website project

  • Loading branch information...
1 parent 524e236 commit 1afa79cf4792b395f537415467b94db8885f9da4 @erdi erdi committed Oct 16, 2012
View
@@ -9,4 +9,6 @@ out
.classpath
.project
.settings
-website/war/api
+website/war/api
+website/war/WEB-INF/classes
+website/war/WEB-INF/lib
View
@@ -1,11 +1,27 @@
defaultTasks 'clean', 'build', 'templateProjectZip'
+final groovyVersion = '2.0.4'
+
allprojects {
apply plugin: 'idea'
version = '1.3-SNAPSHOT'
group = 'org.gaelyk'
}
+subprojects {
+ ext.appEngineVersion = '1.7.1'
+
+ apply plugin: 'groovy'
+
+ repositories {
+ mavenCentral()
+ }
+
+ dependencies {
+ groovy "org.codehaus.groovy:groovy-all:$groovyVersion"
+ }
+}
+
ext.templateProjectDir = 'template-project'
ext.gradleWrapperDir = 'gradle'
View
@@ -22,9 +22,6 @@ test {
}
-final appEngineVersion = '1.7.1'
-final groovyVersion = '2.0.4'
-
// various directory places and file names
final tmpProj = '../template-project'
final zipName = "${buildDir}/gaelyk-template-project-${version}.zip"
@@ -51,12 +48,7 @@ sourceSets {
}
}
-repositories {
- mavenCentral()
-}
-
dependencies {
- groovy "org.codehaus.groovy:groovy-all:$groovyVersion"
compile "com.google.appengine:appengine-api-1.0-sdk:$appEngineVersion"
compile "com.google.appengine:appengine-api-labs:$appEngineVersion"
compile 'javax.servlet:servlet-api:2.5'
View
@@ -1 +1 @@
-include 'core'
+include 'core', 'website'
View
@@ -0,0 +1,21 @@
+apply plugin: 'groovy'
+apply plugin: 'gaelyk'
+
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath "org.gradle.api.plugins:gradle-gaelyk-plugin:0.4"
+ }
+}
+
+dependencies {
+ compile project(':core')
+ gaeSdk "com.google.appengine:appengine-java-sdk:$appEngineVersion"
+ compile 'com.ocpsoft:ocpsoft-pretty-time:1.0.2',
+ 'opensymphony:sitemesh:2.4.2'
+}
+
+webAppDirName = 'war'
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 1afa79c

Please sign in to comment.