We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71b4dd2 commit 937de7eCopy full SHA for 937de7e
gradle/plugins/common/src/main/kotlin/junitbuild.javadoc-conventions.gradle.kts
@@ -42,13 +42,13 @@ tasks.javadoc {
42
43
doLast {
44
val isCI = System.getenv("CI") != null
45
+ val version = project.version.toString().replace("-SNAPSHOT", "")
46
val targetString = "https://docs.junit.org/current"
47
48
val replacementString = if (isCI) {
- val versionNoSnapshot = project.version.toString().replace("-SNAPSHOT", "")
49
- "https://docs.junit.org/$versionNoSnapshot"
+ "https://docs.junit.org/$version"
50
} else {
51
- "http://localhost:8080/user-guide"
+ "/junit-framework/documentation/build/antora-site/$version"
52
}
53
54
destinationDir?.walkTopDown()
0 commit comments