Skip to content

Commit

Permalink
Configure idea to download sources and javadocs (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozufozu authored Apr 13, 2024
1 parent 83959d5 commit 6074a78
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 6074a78

Please sign in to comment.