blob: 73c0bc26ce58deb08f4e43e784b4f37d19382a9d (
plain) (
blame)
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
|
allprojects {
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://repository.apache.org/content/repositories/snapshots/" }
}
apply plugin: 'com.github.ben-manes.versions'
dependencyUpdates.resolutionStrategy = {
componentSelection { rules ->
rules.all { ComponentSelection selection ->
boolean rejected = ['alpha', 'beta', 'rc', 'cr', 'm', 'pr', 'b'].any { qualifier ->
selection.candidate.version ==~ /(?i).*[.-]${qualifier}[.\d-]*/
}
if (rejected) {
selection.reject('Release candidate')
}
}
}
}
}
project.ext {
springFrameworkVersion = '5.0.2.RELEASE'
springSecurityVersion = '5.0.0.RELEASE'
jacksonVersion = '2.9.3'
slf4jVersion = '1.7.25'
logbackVersion = '1.2.3'
junitVersion = "4.12"
hamcrestVersion= "1.3"
mockitoVersion = "2.+"
}
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'org.akhikhl.gretty:gretty:+'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
}
}
apply plugin: 'java'
apply plugin: 'org.akhikhl.gretty'
farm {
webapp ':juick-xmpp-wip'
webapp ':juick-ws'
webapp ':juick-www'
webapp ':juick-xmpp'
webapp ':juick-api'
servletContainer = 'tomcat8'
}
repositories {
jcenter()
}
dependencies {
testCompile project(':juick-core')
testCompile project(':juick-www')
testCompile project(':juick-xmpp')
testCompile "org.json:json:20171018"
testCompile "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
testCompile "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:${rootProject.jacksonVersion}"
testCompile "org.springframework:spring-jdbc:${springFrameworkVersion}"
testCompile "org.springframework:spring-test:${springFrameworkVersion}"
testCompile "ch.vorburger.mariaDB4j:mariaDB4j:2.2.3"
testCompile "org.slf4j:slf4j-api:${slf4jVersion}"
testCompile "junit:junit:${junitVersion}"
testCompile "org.hamcrest:hamcrest-all:${hamcrestVersion}"
testCompile "org.mockito:mockito-core:${mockitoVersion}"
testRuntime "mysql:mysql-connector-java:5.1.40"
}
compileJava.options.encoding = 'UTF-8'
|