Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdragh committed Apr 14, 2024
2 parents b73d11a + 6074a78 commit 202d7d2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ tasks.withType<ProcessResources>().configureEach {

filesMatching("META-INF/mods.toml") {
expand(loadedProperties)
expand(mutableMapOf("project" to project))
}
}

Expand All @@ -162,3 +161,11 @@ publishing {
tasks.withType<JavaCompile> {
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 {
isDownloadSources = true
isDownloadJavadoc = true
}
}

0 comments on commit 202d7d2

Please sign in to comment.