-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
99 lines (73 loc) · 2.75 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
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
group 'com.dmitrij-drandarov'
version '5.0'
ext {
// JUnit 5
junit5_version = '5.4.0'
junit5_vintage4_version = '5.4.0'
junit5_spring4_test_version = '1.0.0'
junit4_version = '4.12'
// Spring 5
spring5_version = '5.1.1.RELEASE'
spring5_data_jpa_version = '2.1.1.RELEASE'
// Spring 5 Boot
spring5_boot_version = '2.0.6.RELEASE'
// Spring 4
spring4_version = '1.11.7.RELEASE'
// Spring 4 Boot
spring4_boot_version = '1.5.7.RELEASE'
// OpenJFX
openjfx_version = "11.0.0-ea1"
// Hibernate
hibernate_core_version = '5.2.10.Final'
hibernate_jpa_version = '1.0.0.Final'
// Assertion
hamcrest_version = '1.3'
assertj_version = '3.8.0'
// Mockito
mockito_version = '2.9.0'
// Logging
slf4j_version = '1.7.25'
// DB Drivers
hsqldb_driver_version = '2.4.0'
postgresql_driver_version = '42.1.4'
}
buildscript {
repositories {
mavenCentral()
}
}
//------------------------------------------------------------------------------------------------------------------------
// Configure - All Projects
//------------------------------------------------------------------------------------------------------------------------
allprojects {
repositories {
mavenCentral()
maven { url 'https://repo.spring.io/snapshot' }
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://jitpack.io' }
maven { url "http://nexus.gluonhq.com/nexus/content/repositories/releases/" }
}
}
//------------------------------------------------------------------------------------------------------------------------
// Configure - Subprojects
//------------------------------------------------------------------------------------------------------------------------
configure(subprojects - project(":03-spring")) {
apply plugin: 'java'
// Gradle-Configuration for JUnit 5 Platform
test {
useJUnitPlatform()
}
sourceCompatibility = JavaVersion.VERSION_12
targetCompatibility = JavaVersion.VERSION_12
dependencies {
testRuntime "org.junit.jupiter:junit-jupiter-engine:$junit5_version"
testRuntime "org.junit.vintage:junit-vintage-engine:$junit5_vintage4_version"
}
}
//------------------------------------------------------------------------------------------------------------------------
// Tasks - Init project
//------------------------------------------------------------------------------------------------------------------------
wrapper {
distributionType = Wrapper.DistributionType.ALL
gradleVersion "5.6.3"
}