I need to download javadoc & source from the following location:
.13/4.0.7/
How to do it in gradle, or any of its plugin? The following kts script does nothing:
allprojects {
apply(plugin = "java")
apply(plugin = "java-library")
apply(plugin = "java-test-fixtures")
apply(plugin = "project-report")
apply(plugin = "idea")
apply(plugin = "eclipse")
group = vs.rootGroupID
version = vs.rootV
repositories {
mavenLocal()
mavenCentral()
// jcenter()
maven(";)
// for Scala formless
maven {
name = "bondlink-maven-repo"
url = uri(";)
}
}
java {
val jvmTarget = vs.jvmTarget
withSourcesJar()
withJavadocJar()
sourceCompatibility = jvmTarget
targetCompatibility = jvmTarget
}
eclipse {
classpath {
isDownloadJavadoc = true
isDownloadSources = true
}
}
idea {
targetVersion = "2023"
module {
isDownloadJavadoc = true
isDownloadSources = true
}
}
}