-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
62 lines (52 loc) · 1.41 KB
/
build.gradle.kts
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
buildscript {
repositories {
jcenter()
mavenCentral()
maven("https://repo.spring.io/milestone")
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.0.M4")
}
}
plugins {
java
checkstyle
}
apply {
plugin("org.springframework.boot")
plugin("io.spring.dependency-management")
}
repositories {
jcenter()
mavenCentral()
maven("https://repo.spring.io/milestone")
}
checkstyle {
toolVersion = "8.2"
}
dependencies {
// Rx
implementation("io.reactivex.rxjava2:rxjava:2.1.3")
implementation("io.reactivex.rxjava2:rxjavafx:2.2.0")
// Spring Boot libraries
implementation("org.springframework.boot:spring-boot-starter") {
exclude(group = "org.springframework.boot", module = "spring-boot-starter-logging")
}
implementation("org.springframework.boot:spring-boot-starter-log4j2")
runtime("org.springframework.boot:spring-boot-devtools")
// Testing
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.testfx:testfx-core:4.0.+")
testImplementation("org.testfx:testfx-junit5:4.0.+")
}
java {
group = "io.github.thiagogcm.javafxstarter"
version = "1.0"
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
tasks {
"wrapper"(Wrapper::class) {
gradleVersion = "4.2"
}
}