Hello
I have the following in my gradle.build file:
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'war'
version = '1.0.0'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
//mavenLocal()
mavenCentral()
}
ext {
//Logging
slf4jVersion = '1.7.10'
logbackVersion = '1.1.2'
….
//Testing
junitVersion = '4.+'
}
dependencies {
testCompile "junit:junit:$junitVersion"
…
}
war {
//version=''
baseName = 'something'
}
When I execute the javadoc command I can see the JavaDoc generated but only for the src/main/java. That’s expected.
But I did realize there is no javadoc for the test classes.
I want to know if is viable the following:
- What extra settings is need it to include for the generated javadoc the src/test/java?
- Therefore it means src/main/java + src/test/java together.
- I want to know if Gradle is able to create or generate a different or external javadoc but only dedicated for testing classes
- Therefore it means two differents javadocs, one for src/main/java and other for src/test/java
Thanks