Skip to content

Commit

Permalink
Fix IDEA refresh taking a long time due to Forge crash
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Sep 30, 2024
1 parent 03e82fe commit dfb7c03
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions buildSrc/src/main/groovy/multiloader-common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
plugins {
id 'java-library'
id 'maven-publish'
id 'idea'
id 'jacoco'
id 'jacoco'
id 'com.github.kt3k.coveralls'
id 'com.diffplug.spotless'
}
Expand Down Expand Up @@ -180,7 +179,7 @@ jar {
'Implementation-Title' : project.name,
'Implementation-Version' : project.jar.archiveVersion,
'Implementation-Vendor' : mod_author,
"Implementation-Timestamp" : new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"Implementation-Timestamp" : new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
'Built-On-Minecraft' : minecraft_version
])
}
Expand All @@ -204,8 +203,8 @@ processResources {
'mod_author' : mod_author,
'mod_id' : mod_id,
'license' : license,
'issue_tracker_url' : issue_tracker_url,
'display_url' : display_url,
'issue_tracker_url' : issue_tracker_url,
'display_url' : display_url,
'description' : project.description,
'neoforge_version' : neoforge_version,
'neoforge_loader_version_range': neoforge_loader_version_range,
Expand Down Expand Up @@ -292,17 +291,6 @@ tasks.configureEach { task ->
}
}

idea {
module {
downloadSources = true
downloadJavadoc = true
for (String excludeDirName in ["runs", "out", "logs", "gradle"]) {
File excludeDir = new File(projectDir, excludeDirName)
excludeDirs.add(excludeDir)
}
}
}

jacocoTestReport {
reports {
xml.required = true
Expand Down

0 comments on commit dfb7c03

Please sign in to comment.