mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-01 09:42:13 +00:00
GRADLE-1116: Add back workaround for depending on test sources
This commit is contained in:
parent
337c3cf96c
commit
e1dfa81a0f
@ -166,6 +166,14 @@ eclipse.classpath {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GRADLE-1116
|
||||||
|
project.eclipse.classpath.file.whenMerged { classpath ->
|
||||||
|
classpath.entries.removeAll { entry -> entry.path.endsWith('/build/resources/test') }
|
||||||
|
classpath.entries.removeAll { entry -> entry.path.endsWith('/build/classes/test') }
|
||||||
|
classpath.entries.removeAll { entry -> entry.path.endsWith('/build/resources/main') }
|
||||||
|
classpath.entries.removeAll { entry -> entry.path.endsWith('/build/classes/main') }
|
||||||
|
}
|
||||||
|
|
||||||
// GRADLE-1422
|
// GRADLE-1422
|
||||||
project.eclipseClasspath.doFirst {
|
project.eclipseClasspath.doFirst {
|
||||||
// delay adding whenMerged till the entryAttributes are added (must be the last whenMerged)
|
// delay adding whenMerged till the entryAttributes are added (must be the last whenMerged)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user