Configure idea to download sources and javadocs (#47)

This commit is contained in:
Jozufozu 2024-04-13 02:07:00 -07:00 committed by GitHub
parent 83959d5c26
commit 6074a78fba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}
}