25 lines
439 B
Groovy
25 lines
439 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
}
|
||
|
|
||
|
group 'org.example'
|
||
|
version '1.0-SNAPSHOT'
|
||
|
|
||
|
javadoc {
|
||
|
destinationDir = file("${buildDir}/docs/javadoc")
|
||
|
include 'com/baeldung/addition/**'
|
||
|
exclude 'com/baeldung/subtraction/**'
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
|
||
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
|
||
|
}
|
||
|
|
||
|
test {
|
||
|
useJUnitPlatform()
|
||
|
}
|