blob: 44c699365c0bc6f6a7c1aa422ff6b72d6a340930 (
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
|
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0'
}
}
plugins {
id 'org.springframework.boot' version '2.0.0.RELEASE'
}
allprojects {
repositories {
mavenCentral()
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://repository.apache.org/content/repositories/snapshots/" }
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
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')
}
}
}
}
}
repositories {
jcenter()
}
dependencies {
testCompile project(':juick-core')
testCompile project(':juick-www')
testCompile "org.json:json:20180130"
compile("org.springframework.boot:spring-boot-starter-jdbc")
compile("org.springframework.boot:spring-boot-starter-test")
testRuntime "mysql:mysql-connector-java:5.1.40"
testRuntime "org.postgresql:postgresql:42.2.1"
}
compileJava.options.encoding = 'UTF-8'
|