mirror of
https://github.com/google/nomulus
synced 2026-01-03 19:54:18 +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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -79,6 +79,7 @@ autogenerated/
|
|||||||
**/*.iml
|
**/*.iml
|
||||||
nomulus.ipr
|
nomulus.ipr
|
||||||
nomulus.iws
|
nomulus.iws
|
||||||
|
**/classpath.index
|
||||||
|
|
||||||
# Auto-generated java classes by Intellij
|
# Auto-generated java classes by Intellij
|
||||||
*/src/main/generated/
|
*/src/main/generated/
|
||||||
|
|||||||
@@ -193,3 +193,10 @@ jacocoTestCoverageVerification {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
project.tasks.withType(Copy) {
|
||||||
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
}
|
||||||
|
project.tasks.withType(Jar) {
|
||||||
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user