testing
This commit is contained in:
21
build.gradle
21
build.gradle
@@ -2,6 +2,7 @@ group = 'mc-project'
|
||||
version = '0.0-SNAPSHOT'
|
||||
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'jacoco'
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
@@ -15,18 +16,30 @@ compileJava {
|
||||
}
|
||||
|
||||
ext {
|
||||
slf4j_version = '1.7.25'
|
||||
lombok_version = '1.18.2'
|
||||
slf4j_version = '1.7.25'
|
||||
lombok_version = '1.18.2'
|
||||
junit_version = '5.3.1'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
/* LOGGER */
|
||||
implementation (group: 'org.slf4j', name: 'slf4j-api', version: slf4j_version)
|
||||
|
||||
/* COMPONENTS */
|
||||
|
||||
/* LOMBOK */
|
||||
annotationProcessor (group: 'org.projectlombok', name: 'lombok', version: lombok_version)
|
||||
compileOnly (group: 'org.projectlombok', name: 'lombok', version: lombok_version)
|
||||
|
||||
/* TESTING */
|
||||
testImplementation (group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junit_version)
|
||||
testImplementation (group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: junit_version)
|
||||
testRuntimeOnly (group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junit_version)
|
||||
testImplementation (group: 'org.apache.commons', name: 'commons-lang3', version: '3.9')
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
jacoco {
|
||||
toolVersion = '0.8.3'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user