forked from bobharner/ComponentWorld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
107 lines (70 loc) · 2.54 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
description = "Tapestry5 Component Search HerokuApp"
apply plugin: "java"
apply plugin: "application"
apply plugin: "idea"
mainClassName = "com.howardlewiship.tapx.heroku.JettyMain"
applicationName = "app"
sourceCompatibility = "1.5"
targetCompatibility = "1.5"
tapestryVersion = "5.3"
group = "org.apache.tapestry"
version = "1.0"
repositories {
mavenCentral()
mavenLocal()
// All things JBoss/Javassist/Hibernate
mavenRepo url: "http://repository.jboss.org/nexus/content/groups/public/"
// For stable versions of the tapx libraries
mavenRepo url: "http://howardlewisship.com/repository/"
// For non-stable versions of the tapx libraries
mavenRepo url: "http://howardlewisship.com/snapshot-repository/"
// For access to Apache Staging (Preview) packages
mavenRepo 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 {
compile "org.apache.tapestry:tapestry-core:$tapestryVersion"
// This adds automatic compression of JavaScript and CSS in production mode:
compile "org.apache.tapestry:tapestry-yuicompressor:$tapestryVersion"
compile "org.apache.cayenne:cayenne-server:3.0.2"
compile "org.apache.derby:derby:10.8.1.2"
compile "com.howardlewisship:tapx-heroku:1.2-SNAPSHOT"
compile "commons-lang:commons-lang:2.6"
// Uncomment this to add support for file uploads:
// compile "org.apache.tapestry:tapestry-upload:5.3"
provided "javax.servlet:servlet-api:2.5"
provided "org.apache.tapestry:tapestry-javadoc:$tapestryVersion"
testCompile "org.apache.tapestry:tapestry-test:$tapestryVersion"
testCompile "org.testng:testng:5.14.9"
testCompile "org.easymock:easymock:3.0"
}
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
}
idea.module {
scopes.PROVIDED.plus += configurations.provided
javaVersion = "inherited"
}
task stage(dependsOn: ['installApp'])
// task wrapper(type: Wrapper) {
// gradleVersion = '1.0-milestone-7'
// }