1
0
mirror of https://github.com/google/nomulus synced 2025-12-23 06:15:42 +00:00

Ignore/exclude IDEA-generated classpath index files (#2094)

See
https://youtrack.jetbrains.com/issue/IDEA-305759/Gradle-cannot-handle-classpath.index-duplicates
for more info -- it looks like this is fixed in some recent versions but
as of right now it doesn't seem like it's fixed on the Google-managed
version
This commit is contained in:
gbrodman
2023-08-07 11:10:25 -04:00
committed by GitHub
parent aab89fb816
commit 00051dbc0f
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@@ -79,6 +79,7 @@ autogenerated/
**/*.iml
nomulus.ipr
nomulus.iws
**/classpath.index
# Auto-generated java classes by Intellij
*/src/main/generated/

View File

@@ -193,3 +193,10 @@ jacocoTestCoverageVerification {
}
}
}
project.tasks.withType(Copy) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
project.tasks.withType(Jar) {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}