spring-security-samples icon indicating copy to clipboard operation
spring-security-samples copied to clipboard

Improve Dev Experience When Working with the Samples

Open marcusdacoregio opened this issue 1 year ago • 1 comments
trafficstars

We can structure our samples so that they can be run independently of one another rather than having to import all the projects at once

marcusdacoregio avatar Aug 06 '24 18:08 marcusdacoregio

Hello.

When running each sample independently, it seems that the "allprojects { ... }" defined in the root project's "build.gradle" is not applied.

At least, I think it would be better to include the below setting in 'build.gradle' of all subsample projects.

// Spring Framework 6.1 requires -parameters to be able to introspect method parameter names
tasks.withType(JavaCompile) {
	options.compilerArgs.add("-parameters")
}

fp024 avatar Oct 23 '24 23:10 fp024