From 6074a78fba8aea8453e10017244da6c385c78109 Mon Sep 17 00:00:00 2001 From: Jozufozu Date: Sat, 13 Apr 2024 02:07:00 -0700 Subject: [PATCH] Configure idea to download sources and javadocs (#47) --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 62cb259..a9e5a45 100644 --- a/build.gradle +++ b/build.gradle @@ -146,3 +146,11 @@ publishing { tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation } + +// IDEA no longer automatically downloads sources/javadoc jars for dependencies, so we need to explicitly enable the behavior. +idea { + module { + downloadSources = true + downloadJavadoc = true + } +}