java-tutorials/gradle-modules/gradle-7/gradle-javadoc/build.gradle

25 lines
439 B
Groovy
Raw Normal View History

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()
}