mirror of
https://github.com/google/nomulus.git
synced 2025-07-22 18:55:58 +02: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:
parent
aab89fb816
commit
00051dbc0f
2 changed files with 8 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -79,6 +79,7 @@ autogenerated/
|
|||
**/*.iml
|
||||
nomulus.ipr
|
||||
nomulus.iws
|
||||
**/classpath.index
|
||||
|
||||
# Auto-generated java classes by Intellij
|
||||
*/src/main/generated/
|
||||
|
|
|
@ -193,3 +193,10 @@ jacocoTestCoverageVerification {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
project.tasks.withType(Copy) {
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
project.tasks.withType(Jar) {
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue