mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 09:49:23 +02:00
Remove workaround for old Gradle version we don't support anymore
Since we now use Gradle version 6 and up, and the GitHub issue attached to the bug was resolved in Gradle 5.6.3, we don't need this workaround code anymore.
This commit is contained in:
parent
56a8346e78
commit
041465efc8
1 changed files with 0 additions and 7 deletions
|
@ -188,13 +188,6 @@ ext.addExports = { List<String> exports ->
|
||||||
// Fixup generated Eclipse projects
|
// Fixup generated Eclipse projects
|
||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
eclipse.classpath.file.whenMerged { classpath ->
|
eclipse.classpath.file.whenMerged { classpath ->
|
||||||
|
|
||||||
// Gradle 5.6 has a bug that creates duplicate classpath entries, so we must dedupe them.
|
|
||||||
// https://github.com/gradle/gradle/issues/10393
|
|
||||||
classpath.entries.unique(true) {
|
|
||||||
(it instanceof org.gradle.plugins.ide.eclipse.model.ProjectDependency) ? it.path : it
|
|
||||||
}
|
|
||||||
|
|
||||||
// Prevent Gradle 5.6 from setting the 'test' attribute on our test source folders and jars.
|
// Prevent Gradle 5.6 from setting the 'test' attribute on our test source folders and jars.
|
||||||
// If we don't do this, things that we have outside of test directories that depend on test
|
// If we don't do this, things that we have outside of test directories that depend on test
|
||||||
// libraries (like junit) will not compile in Eclipse.
|
// libraries (like junit) will not compile in Eclipse.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue