2019-10-31 21:43:47 -04:00
|
|
|
plugins {
|
|
|
|
// Apply the java-library plugin to add support for Java Library
|
|
|
|
id 'java-library'
|
|
|
|
}
|
|
|
|
|
2024-01-15 13:57:48 -05:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
dependencies {
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
|
|
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
|
2022-06-20 17:26:52 -04:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
// Only necessary for JUnit 3 and 4 tests
|
2022-06-20 17:26:52 -04:00
|
|
|
testCompileOnly 'junit:junit:4.12'
|
|
|
|
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.3.1'
|
2019-10-31 21:43:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2022-06-20 17:26:52 -04:00
|
|
|
mavenCentral()
|
2019-10-31 21:43:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform {
|
|
|
|
includeTags 'fast'
|
|
|
|
excludeTags 'slow'
|
|
|
|
}
|
|
|
|
}
|