You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
654 B
Groovy
34 lines
654 B
Groovy
5 years ago
|
plugins {
|
||
|
id 'java'
|
||
|
}
|
||
|
|
||
|
wrapper {
|
||
|
distributionType = Wrapper.DistributionType.ALL
|
||
|
}
|
||
|
|
||
|
allprojects {
|
||
|
|
||
|
apply plugin: 'java'
|
||
|
defaultTasks 'clean', 'compile'
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
|
||
|
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.6.0'
|
||
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0'
|
||
|
}
|
||
|
|
||
|
compileJava {
|
||
|
sourceCompatibility = JavaVersion.VERSION_11
|
||
|
targetCompatibility = JavaVersion.VERSION_11
|
||
|
}
|
||
|
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|
||
|
}
|
||
|
|