spring-security/buildSrc
Janne Valkealahti c053f6f0c6 Make eclipse/vscode project import work
- Gradle projects contain cycles which comes from dependencies to
  test sources which is not a problem in gradle but eclipse metadata
  generation is getting confused. Thus we need settings to relax errors
  org.eclipse.jdt.core.circularClasspath=warning
  org.eclipse.jdt.core.incompleteClasspath=warning
- Additionally .classpath entries needs to be changes having
  without_test_code=false
  test=false
- Aspects end up getting source dirs `build/classes/java/main`
  and `build/resources/main` which never have sources. Vscode complains
  about that, eclipse is fine. Remove those from entries.
- In tests `htmlunit` depends on `xml-apis`. `xml-apis` are now part
  of jdk and eclipse complains about that. Excluse these in a gradle build.
- Both eclipse and vscode don't currently work with buildship, due to
  project cycles and buildship cannot be configured. It's possible to
  create metadata from `eclipse` task manually which then can be imported.
  For this we need to disable automatic import in vscode using buildship.
  This goes to `.vscode/settings.json` workspace config.
- Then with these changes user can do something like
  git clean -fxd && ./gradlew clean build cleanEclipse eclipse -x checkstyleNohttp -x test -x integrationTest
  and import projects manually.
2023-06-05 13:34:30 -06:00
..
.idea add management platform(project(":spring-security-dependencies")) 2021-04-05 10:36:36 -05:00
gradle/wrapper Update Gradle to 7.5.1 2022-11-08 13:27:25 -03:00
src Make eclipse/vscode project import work 2023-06-05 13:34:30 -06:00
build.gradle Merge branch '5.8.x' into 6.0.x 2023-05-30 15:27:44 -03:00
gradlew Update Gradle to 7.5.1 2022-11-08 13:27:25 -03:00
gradlew.bat Update Gradle to 7.5.1 2022-11-08 13:27:25 -03:00