Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 98 lines (70 sloc) 2.512 kb
e6b962e @hlship Set a description for each project
authored
1 description = "Collection of add-ons for Tapestry 5"
994709b @hlship Initial work on building using Gradle
authored
2
6d5cb36 @hlship Advance to latest Tapestry preview release
authored
3 tapestryVersion = "5.3-beta-19"
01c5398 @hlship Change Tapestry dependency to version 5.2.4
authored
4
c2a4e70 @hlship Add Gradle script to deploy artifacts to howardlewisship.com
authored
5 if (!project.hasProperty('deployUserName')) deployUserName = '*UNSET-USERNAME*'
6 if (!project.hasProperty('deployPassword')) deployPassword = '*UNSET-PASSWORD*'
7
8
39326ee @hlship Switch over to Tapestry 5.3-alpha-2
authored
9 apply plugin: 'idea'
10
994709b @hlship Initial work on building using Gradle
authored
11 subprojects {
12 apply plugin: 'java'
13 apply plugin: 'groovy' // mostly for testing
14 apply plugin: 'eclipse'
39326ee @hlship Switch over to Tapestry 5.3-alpha-2
authored
15 apply plugin: 'idea'
1a21976 @hlship Enable Maven installs (to local Maven repository)
authored
16 apply plugin: 'maven'
9526bcd @hlship Enable the under-whelming project-report plugin
authored
17 apply plugin: 'project-report'
994709b @hlship Initial work on building using Gradle
authored
18
19 sourceCompatibility = '1.5'
20 targetCompatibility = '1.5'
21
b5fb0d8 @hlship Create a branch for 1.2 release that will be compatible with Tapestry 5....
authored
22 version = '1.2-SNAPSHOT'
e6b962e @hlship Set a description for each project
authored
23
b72a1e7 @hlship Fix the version number
authored
24 group = 'com.howardlewisship'
994709b @hlship Initial work on building using Gradle
authored
25
26 repositories {
27 mavenCentral()
01c5398 @hlship Change Tapestry dependency to version 5.2.4
authored
28
994709b @hlship Initial work on building using Gradle
authored
29 // All things JBoss/Javassist/Hibernate
06e44f1 @hlship Add build for tapx-datefield
authored
30 mavenRepo urls: "https://repository.jboss.org/nexus/content/repositories/releases/"
31
32 // For the Kaptcha library
b5fb0d8 @hlship Create a branch for 1.2 release that will be compatible with Tapestry 5....
authored
33 mavenRepo urls: "http://howardlewisship.com/repository/"
34
39326ee @hlship Switch over to Tapestry 5.3-alpha-2
authored
35 // Latest preview packages
b5fb0d8 @hlship Create a branch for 1.2 release that will be compatible with Tapestry 5....
authored
36
2fa4bfe @hlship Track latest Tapestry 5.3 preview
authored
37 mavenRepo urls: "https://repository.apache.org/content/groups/staging"
c2a4e70 @hlship Add Gradle script to deploy artifacts to howardlewisship.com
authored
38 }
39
40 configurations {
41 deployerJars
6164ab1 @hlship Use a workaround to provide a "provided" dependency configuration
authored
42 provided
43 }
44
45 // See http://jira.codehaus.org/browse/GRADLE-784
46
47 sourceSets {
48 main {
49 compileClasspath += configurations.provided
50 }
994709b @hlship Initial work on building using Gradle
authored
51 }
52
53 dependencies {
01c5398 @hlship Change Tapestry dependency to version 5.2.4
authored
54 compile "org.apache.tapestry:tapestry-core:$tapestryVersion"
55 testCompile "org.apache.tapestry:tapestry-test:$tapestryVersion"
c2434b1 @hlship Convert the remaining sub-projects to Gradle
authored
56 testCompile "org.easymock:easymock:3.0"
4581a63 @hlship Update Groovy dependency
authored
57 groovy "org.codehaus.groovy:groovy-all:1.7.10"
c2a4e70 @hlship Add Gradle script to deploy artifacts to howardlewisship.com
authored
58
59 deployerJars "org.apache.maven.wagon:wagon-ftp:1.0-beta-2"
994709b @hlship Initial work on building using Gradle
authored
60 }
61
62 test {
63 useTestNG()
64
65 options.suites("src/test/conf/testng.xml")
66 }
c4e0533 @hlship Voodoo magic to get a source JAR installed along with the artifact JAR
authored
67
68 task sourcesJar(type: Jar, dependsOn:classes) {
69 classifier = 'sources'
70 from sourceSets.main.allSource
71 }
72
73 artifacts {
74 archives sourcesJar
75 }
c2a4e70 @hlship Add Gradle script to deploy artifacts to howardlewisship.com
authored
76
77
78 uploadArchives {
79 repositories.mavenDeployer {
80 configuration = configurations.deployerJars
81 // deployUserName and deployPassword should be specified in ~/.gradle/gradle.properties
82 snapshotRepository(url: "ftp://howardlewisship.com/snapshot-repository") {
83 authentication(userName: deployUserName, password: deployPassword)
84 }
85
86 }
87 }
39326ee @hlship Switch over to Tapestry 5.3-alpha-2
authored
88
89 ideaModule {
90 scopes.PROVIDED.plus += configurations.provided
4581a63 @hlship Update Groovy dependency
authored
91 javaVersion = "inherited"
39326ee @hlship Switch over to Tapestry 5.3-alpha-2
authored
92 }
93 }
94
95 ideaProject {
4581a63 @hlship Update Groovy dependency
authored
96 javaVersion = "1.5"
39326ee @hlship Switch over to Tapestry 5.3-alpha-2
authored
97 }
Something went wrong with that request. Please try again.