2020-03-04 15:14:21 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								import java.util.concurrent.Callable
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2017-03-28 15:45:30 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								apply plugin: 'io.spring.convention.spring-module'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								dependencies {
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-05 11:23:29 -03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									management platform(project(":spring-security-dependencies"))
							 | 
						
					
						
							
								
									
										
										
										
											2021-05-18 16:03:35 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									api project(':spring-security-crypto')
							 | 
						
					
						
							
								
									
										
										
										
											2021-04-04 07:31:47 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									api 'org.springframework:spring-aop'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									api 'org.springframework:spring-beans'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									api 'org.springframework:spring-context'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									api 'org.springframework:spring-core'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									api 'org.springframework:spring-expression'
							 | 
						
					
						
							
								
									
										
										
										
											2022-09-21 18:13:32 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									api 'io.micrometer:micrometer-observation'
							 | 
						
					
						
							
								
									
										
										
										
											2017-03-28 15:45:30 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									optional 'com.fasterxml.jackson.core:jackson-databind'
							 | 
						
					
						
							
								
									
										
										
										
											2017-05-02 21:19:14 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									optional 'io.projectreactor:reactor-core'
							 | 
						
					
						
							
								
									
										
										
										
											2021-10-11 16:01:02 -03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									optional 'jakarta.annotation:jakarta.annotation-api'
							 | 
						
					
						
							
								
									
										
										
										
											2017-03-28 15:45:30 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
									optional 'org.aspectj:aspectjrt'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									optional 'org.springframework:spring-jdbc'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									optional 'org.springframework:spring-tx'
							 | 
						
					
						
							
								
									
										
										
										
											2021-04-09 13:11:18 +02:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									optional 'org.jetbrains.kotlinx:kotlinx-coroutines-reactor'
							 | 
						
					
						
							
								
									
										
										
										
											2017-03-28 15:45:30 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-04-04 07:31:47 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									testImplementation 'commons-collections:commons-collections'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									testImplementation 'io.projectreactor:reactor-test'
							 | 
						
					
						
							
								
									
										
										
										
											2021-07-12 13:06:44 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									testImplementation "org.assertj:assertj-core"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									testImplementation "org.junit.jupiter:junit-jupiter-api"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									testImplementation "org.junit.jupiter:junit-jupiter-params"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									testImplementation "org.junit.jupiter:junit-jupiter-engine"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									testImplementation "org.mockito:mockito-core"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									testImplementation "org.mockito:mockito-junit-jupiter"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									testImplementation "org.springframework:spring-test"
							 | 
						
					
						
							
								
									
										
										
										
											2021-04-04 07:31:47 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									testImplementation 'org.skyscreamer:jsonassert'
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									testImplementation 'org.springframework:spring-test'
							 | 
						
					
						
							
								
									
										
										
										
											2017-03-28 15:45:30 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-04-04 07:31:47 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									testRuntimeOnly 'org.hsqldb:hsqldb'
							 | 
						
					
						
							
								
									
										
										
										
											2017-03-28 15:45:30 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-04 15:14:21 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								task springVersion(type: org.gradle.api.tasks.WriteProperties) {
							 | 
						
					
						
							
								
									
										
										
										
											2023-11-06 15:01:29 -03:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									destinationFile = file("${buildDir}/versions/spring-security.versions")
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-04 15:14:21 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									property("org.springframework:spring-core", springVersion())
							 | 
						
					
						
							
								
									
										
										
										
											2018-03-16 13:53:40 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								tasks.processResources {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									into('META-INF') {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										from project.tasks.springVersion.outputs
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
									}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2017-03-28 15:45:30 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								configure(project.tasks.withType(Test)) {
							 | 
						
					
						
							
								
									
										
										
										
											2018-03-16 13:55:17 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									doFirst {
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
										systemProperties['springSecurityVersion'] = version
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-04 15:14:21 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
										systemProperties['springVersion'] = springVersion().call()
							 | 
						
					
						
							
								
									
										
										
										
											2018-03-16 13:55:17 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									}
							 | 
						
					
						
							
								
									
										
										
										
											2017-03-28 15:45:30 -05:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								}
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-06 15:12:04 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-04 15:14:21 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								Callable<String> springVersion() {
							 | 
						
					
						
							
								
									
										
										
										
											2021-04-04 10:44:50 -05:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
									return  (Callable<String>) { project.configurations.compileClasspath.resolvedConfiguration.resolvedArtifacts
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-04 15:14:21 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    .find { it.name == 'spring-core' }.moduleVersion.id.version }
							 | 
						
					
						
							
								
									
										
										
										
											2020-01-06 15:12:04 -06:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								}
							 |