Mercurial > public > ssdtforms
diff build.gradle @ 0:f4f8570d1c56
initial OTP form
author | smith@nwoca.org |
---|---|
date | Mon, 12 Nov 2012 16:29:11 +0000 |
parents | |
children | 91703efb1d29 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build.gradle Mon Nov 12 16:29:11 2012 +0000 @@ -0,0 +1,86 @@ +apply from: "${gradle.ext.has('ssdtDevelkitLocation') ? gradle.ssdtDevelkitLocation : 'http://hg.ssdt-ohio.org/browse/public/develkit'}/init.gradle" + +description = "ssdt.forms application" + +apply plugin: "war" +apply plugin: "java" +apply plugin: "groovy" +apply plugin: "jetty" +apply plugin: "idea" + + +sourceCompatibility = "1.5" +targetCompatibility = "1.5" + +group = "org.ssdt_ohio" +version = "1.0-SNAPSHOT" + +/* +repositories { + mavenCentral() + + // All things JBoss/Hibernate + mavenRepo name: "JBoss", url: "http://repository.jboss.org/nexus/content/groups/public/" + + // For stable versions of the tapx libraries + mavenRepo name: "HLS", url: "http://howardlewisship.com/repository/" + + // For non-stable versions of the tapx libraries + mavenRepo name: "HLS Snapshots", url: "http://howardlewisship.com/snapshot-repository/" + + // For access to Apache Staging (Preview) packages + mavenRepo name: "Apache Staging", url: "https://repository.apache.org/content/groups/staging" +} +*/ + +// This simulates Maven's "provided" scope, until it is officially supported by Gradle +// See http://jira.codehaus.org/browse/GRADLE-784 + +configurations { + provided +} + +sourceSets { + main { + compileClasspath += configurations.provided + } + test { + compileClasspath += configurations.provided + runtimeClasspath += configurations.provided + } +} + +dependencies { + + groovy 'org.codehaus.groovy:groovy-all:2.0.1' + compile "org.apache.tapestry:tapestry-core:5.3.6" + compile(group: 'me.davesmith', name: 'tapestry-bootstrap', version: '2.1-SNAPSHOT') + compile group: 'org.got5', name: 'tapestry5-jquery', version: '3.2.0' + compile "org.apache.tapestry:tapestry-yuicompressor:5.3.6" + + // Uncomment this to add support for file uploads: + // compile "org.apache.tapestry:tapestry-upload:5.3.6" + + provided "javax.servlet:servlet-api:2.5" +} + +test { + useTestNG() + + options.suites("src/test/conf/testng.xml") + + systemProperties["tapestry.service-reloading-enabled"] = "false" + systemProperties["tapestry.execution-mode"] = "development" + + maxHeapSize = "600M" + + jvmArgs("-XX:MaxPermSize=256M") + + enableAssertions = true +} + + +jettyRun { + webAppSourceDirectory = file("src/main/webapp") + httpPort = 8086 +}