-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
73 lines (52 loc) · 1.58 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
plugins {
id 'java'
id 'application'
id 'maven-publish'
}
group 'org.ub.dev'
version '1.0-SNAPSHOT'
mainClassName="org.ub.dev.service.BookingService"
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
maven {
url "https://services.ub.uni-leipzig.de/nexus/repository/maven-public"
}
}
task fatJar(type: Jar, dependsOn: [':compileJava', ':processResources']) {
archivesBaseName = "BookingService"
from files(sourceSets.main.output.classesDirs)
from {configurations.compile.collect {it.isDirectory() ? it : zipTree(it) }}
}
publishing {
publications {
groupJar(MavenPublication) {
groupId 'org.ub.dev'
artifactId 'BookingService'
version 'latest'
artifact fatJar
}
}
repositories {
maven {
url "https://services.ub.uni-leipzig.de/nexus/repository/gradle-deploy/"
credentials {
username mavenUser
password mavenPassword
}
}
}
}
dependencies {
compile 'de.uni-leipzig.ub:wachtl:6.3.19-20181010.095103-1'
compile 'com.sun.xml.ws:jaxws-rt:2.3.3-b01'
compile group: 'io.vertx', name: 'vertx-core', version: '3.8.1'
compile group: 'io.vertx', name: 'vertx-web', version: '3.8.1'
compile group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.6.2'
compile 'org.jdom:jdom2:2.0.6'
compile 'javax.mail:mail:1.4.7'
compile 'com.sun.org.apache.xml.internal:resolver:20050927'
}