2019-09-28 13:35:00 +08:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
maven {
|
2020-03-07 23:10:38 +08:00
|
|
|
url = 'https://repo.maven.apache.org/maven2'
|
2019-09-28 13:35:00 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-01-04 18:04:48 +08:00
|
|
|
testImplementation('org.junit.jupiter:junit-jupiter-api:5.5.0')
|
|
|
|
testRuntime('org.junit.jupiter:junit-jupiter-engine:5.5.0')
|
2020-06-04 17:48:57 +08:00
|
|
|
compile 'junit:junit:4.13'
|
2020-01-04 18:04:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
testLogging {
|
|
|
|
events "passed", "skipped", "failed", "standardOut", "standardError"
|
|
|
|
}
|
2019-09-28 13:35:00 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
group = 'algorithm'
|
|
|
|
version = '1.0-SNAPSHOT'
|
|
|
|
description = 'java-algorithm'
|
2020-01-04 18:04:48 +08:00
|
|
|
sourceCompatibility = '1.8'
|