Skip to content

Commit

Permalink
idea.classpath.index.enabled is useless and confusing during unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlermitage committed Dec 26, 2023
1 parent c67e131 commit 8676cca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ tasks {

// avoid JBUIScale "Must be precomputed" error, because IDE is not started (LoadingState.APP_STARTED.isOccurred is false)
jvmArgs("-Djava.awt.headless=true")

// classpath indexing is not needed during unit tests
// also, disabled to avoid useless 'NoSuchFileException: build/instrumented/instrumentCode/classpath.index.tmp' warnings
systemProperties("idea.classpath.index.enabled" to false)
}
withType<DependencyUpdatesTask> {
checkForGradleUpdate = true
Expand Down

0 comments on commit 8676cca

Please sign in to comment.