diff --git a/build.gradle.kts b/build.gradle.kts index 08117f1..3627555 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -143,7 +143,6 @@ tasks.withType().configureEach { filesMatching("META-INF/mods.toml") { expand(loadedProperties) - expand(mutableMapOf("project" to project)) } } @@ -162,3 +161,11 @@ publishing { tasks.withType { 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 + } +}