Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 59049a8923
Fetching contributors…

Cannot retrieve contributors at this time

98 lines (70 sloc) 2.557 kb
description = "Collection of add-ons for Tapestry 5"
tapestryVersion = "5.3.2"
if (!project.hasProperty('deployUserName')) deployUserName = '*UNSET-USERNAME*'
if (!project.hasProperty('deployPassword')) deployPassword = '*UNSET-PASSWORD*'
apply plugin: 'idea'
subprojects {
apply plugin: 'java'
apply plugin: 'groovy' // mostly for testing
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: 'project-report'
sourceCompatibility = '1.5'
targetCompatibility = '1.5'
version = '1.2-SNAPSHOT'
group = 'com.howardlewisship'
repositories {
mavenCentral()
// All things JBoss/Javassist/Hibernate
mavenRepo name: "JBoss", url: "https://repository.jboss.org/nexus/content/repositories/releases/"
// For the Kaptcha library
mavenRepo name: "HLS", url: "http://howardlewisship.com/repository/"
// Latest preview packages
mavenRepo name: "Apache Staging", url: "https://repository.apache.org/content/groups/staging"
}
configurations {
deployerJars
provided
}
// See http://jira.codehaus.org/browse/GRADLE-784
sourceSets {
main {
compileClasspath += configurations.provided
}
}
dependencies {
compile "org.apache.tapestry:tapestry-core:$tapestryVersion"
testCompile "org.apache.tapestry:tapestry-test:$tapestryVersion"
testCompile "org.easymock:easymock:3.0"
groovy "org.codehaus.groovy:groovy-all:1.7.10"
deployerJars "org.apache.maven.wagon:wagon-ftp:1.0-beta-2"
}
test {
useTestNG()
options.suites("src/test/conf/testng.xml")
}
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
uploadArchives {
repositories.mavenDeployer {
configuration = configurations.deployerJars
// deployUserName and deployPassword should be specified in ~/.gradle/gradle.properties
snapshotRepository(url: "ftp://howardlewisship.com/snapshot-repository") {
authentication(userName: deployUserName, password: deployPassword)
}
}
}
idea.module {
scopes.PROVIDED.plus += configurations.provided
javaVersion = "inherited"
}
}
idea.project {
javaVersion = "1.6"
}
Jump to Line
Something went wrong with that request. Please try again.