From 0dcf665c8c10af5aaac869026a2a47578864df8d Mon Sep 17 00:00:00 2001 From: Erdragh Date: Tue, 16 Apr 2024 15:40:40 +0200 Subject: [PATCH] Configure IDEA to download sources and javadoc --- build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index aeea28c..529f941 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -227,4 +227,12 @@ tasks.register("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 + } } \ No newline at end of file