Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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