/
build.gradle
50 lines (37 loc) · 1.27 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
description = "Collection of add-ons for Tapestry 5"
tapestryVersion = "5.2.4"
subprojects {
apply plugin: 'java'
apply plugin: 'groovy' // mostly for testing
apply plugin: 'eclipse'
apply plugin: 'maven'
apply plugin: 'project-report'
sourceCompatibility = '1.5'
targetCompatibility = '1.5'
version = '1.1-SNAPSHOT'
group = 'com.howardlewisship'
repositories {
mavenCentral()
// All things JBoss/Javassist/Hibernate
mavenRepo urls: "https://repository.jboss.org/nexus/content/repositories/releases/"
// For the Kaptcha library
mavenRepo urls: "http://tapestry.formos.com/maven-repository/"
}
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.4"
}
test {
useTestNG()
options.suites("src/test/conf/testng.xml")
}
task sourcesJar(type: Jar, dependsOn:classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives sourcesJar
}
}