-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
88 lines (67 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}"
classpath "gradle.plugin.com.gorylenko.gradle-git-properties:gradle-git-properties:${gradleGitPropertiesPluginVersion}"
classpath "com.github.ben-manes:gradle-versions-plugin:${versionsPluginVersion}"
classpath 'info.solidsoft.gradle.pitest:gradle-pitest-plugin:1.7.0'
}
}
plugins {
id 'java'
id 'info.solidsoft.pitest' version '1.7.0'
}
version '1.0-SNAPSHOT'
allprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: "com.github.ben-manes.versions"
apply from: "${rootProject.rootDir}/pitest.gradle"
group 'com.katsshura.demo.junit'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
repositories {
mavenCentral()
}
bootJar {
enabled = false
}
springBoot {
buildInfo()
}
dependencies {
implementation "javax.xml.bind:jaxb-api:${jaxApiVersion}"
implementation "com.sun.xml.bind:jaxb-core:${jaxCoreVersion}"
implementation "com.sun.xml.bind:jaxb-impl:${jaxImpVersion}"
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "net.logstash.logback:logstash-logback-encoder:${logbackEncoderVersion}"
implementation "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
compileOnly "org.springframework.boot:spring-boot-devtools"
testImplementation "com.github.javafaker:javafaker:${fakerVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-params:${junitVersion}"
testImplementation "org.mockito:mockito-core:${mockitoVersion}"
testImplementation "org.mockito:mockito-junit-jupiter:${mockitoVersion}"
testImplementation "org.hamcrest:hamcrest-all:${hamcrestVersion}"
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'junit', module: 'junit'
}
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
}
}
wrapper {
gradleVersion = "${gradleWrapperVersion}"
distributionType = Wrapper.DistributionType.ALL
}
dependencies {
implementation project(':core')
implementation project(':api')
}