Permalink
Browse files

Apply gradle gaelyk plugin to website project

  • Loading branch information...
1 parent 66b44bb commit e797ddc64ce682ed18a8b853eedcfdff25d521c1 @erdi erdi committed Dec 10, 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 +1 @@
-include 'core'
+include 'core', 'website'
View
@@ -0,0 +1,22 @@
+apply from: '../common.gradle'
+apply plugin: 'gaelyk'
+
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath "org.gradle.api.plugins:gradle-gaelyk-plugin:0.4.1"
+ }
+}
+
+dependencies {
+ compile project(':core')
+ groovy "org.codehaus.groovy:groovy-all:$gaelykGroovyVersion"
+ 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.
@@ -1,5 +1,5 @@
-def stableDuration = 1.hour
-def hotContentDuration = 30.minutes
+def stableDuration = localMode ? 0 : 1.hour
+def hotContentDuration = localMode ? 0 : 30.minutes
get "/", forward: "/WEB-INF/pages/index.gtpl", cache: stableDuration

0 comments on commit e797ddc

Please sign in to comment.