Skip to content

Commit

Permalink
Configure IDEA to download sources and javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed Apr 16, 2024
1 parent 87e95fe commit 0dcf665
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,12 @@ tasks.register<Task>("prepareChangelog") {
var changelog = File("Changelog.md").readText(StandardCharsets.UTF_8)
changelog = changelog.replace(Regex("[^^](#(#|\\n|.)+)|(^#.+)"), "")
println(changelog.trim())
}

// IDEA no longer automatically downloads sources/javadoc jars for dependencies, so we need to explicitly enable the behavior.
idea {
module {
isDownloadSources = true
isDownloadJavadoc = true
}
}

0 comments on commit 0dcf665

Please sign in to comment.