-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
115 lines (102 loc) · 3.37 KB
/
build.gradle
File metadata and controls
115 lines (102 loc) · 3.37 KB
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
108
109
110
111
112
113
114
115
apply plugin: 'war'
apply plugin: 'jetty'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'maven'
sourceCompatibility = 1.6
version = '1.1.0'
group = 'org.openbakery'
jar {
manifest {
attributes 'Implementation-Title': 'Openbakery TimeTracker', 'Implementation-Version': version
}
}
configurations {
deployerJars
}
repositories {
mavenCentral()
/*
maven {
url "http://repository.jboss.org/nexus/content/groups/public-jboss"
url "http://repository.apache.org/snapshots"
}
*/
}
ext.wicketVersion = '1.5.+'
ext.springVersion = '3.+'
ext.hibernateVersion = '3.5.+'
ext.hsqldbVersion = '2.+'
ext.logbackVersion = '0.9.+'
ext.testngVersion = '6.0.+'
ext.jodatimeVersion = '2.+'
ext.guavaVersion = 'r09'
ext.commonsCodecVersion = '1.5'
ext.commonsLangVersion = '2.6'
ext.mockitoVersion = '1.8.+'
ext.servletVersion = '2.+'
ext.poiVersion = '3.+'
dependencies {
compile group: 'org.springframework', name: 'spring-context', version: springVersion
compile group: 'org.springframework', name: 'spring-beans', version: springVersion
compile group: 'org.springframework', name: 'spring-web', version: springVersion
compile group: 'org.springframework', name: 'spring-test', version: springVersion
compile group: 'org.apache.wicket', name: 'wicket-core', version: wicketVersion
compile group: 'org.apache.wicket', name: 'wicket-spring', version: wicketVersion
compile group: 'org.apache.wicket', name: 'wicket-datetime', version: wicketVersion
compile group: 'org.hibernate', name: 'hibernate-annotations', version: hibernateVersion
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: hibernateVersion
compile group: 'org.hibernate', name: 'hibernate-c3p0', version: hibernateVersion
compile group: 'org.hsqldb', name: 'hsqldb', version: hsqldbVersion
compile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
compile group: 'joda-time', name: 'joda-time', version: jodatimeVersion
compile group: 'com.google.guava', name: 'guava', version: guavaVersion
compile group: 'commons-codec', name: 'commons-codec', version: commonsCodecVersion
compile group: 'commons-lang', name: 'commons-lang', version: commonsLangVersion
testCompile group: 'org.testng', name: 'testng', version: testngVersion
testCompile group: 'org.mockito', name: 'mockito-core', version: mockitoVersion
compile group: 'javax.servlet', name: 'servlet-api', version: servletVersion
compile group: 'org.apache.poi', name: 'poi', version: poiVersion
compile group: 'org.apache.poi', name: 'poi-ooxml', version: poiVersion
deployerJars "org.apache.maven.wagon:wagon-ssh:2.2"
}
sourceSets {
main {
java {
srcDir 'src/main/java'
}
resources {
srcDir 'src/main/resources'
srcDir 'src/main/java'
}
}
}
test {
useTestNG()
}
uploadArchives {
repositories {
mavenDeployer {
configuration = configurations.deployerJars
repository(url: publishURL) {
authentication(userName: publishUser, password: publishPassword)
}
pom.project {
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
developers {
developer {
id "renep"
name "René Pirringer"
email "rene@openbakery.org"
}
}
}
}
}
}