| 
									
										
										
										
											2021-04-05 10:16:02 -05:00
										 |  |  | plugins { | 
					
						
							|  |  |  | 	id "java-gradle-plugin" | 
					
						
							|  |  |  | 	id "java" | 
					
						
							|  |  |  | 	id "groovy" | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-06 15:01:29 -03:00
										 |  |  | java { | 
					
						
							|  |  |  | 	sourceCompatibility = JavaVersion.VERSION_17 | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2010-03-03 16:40:57 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | repositories { | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | 	gradlePluginPortal() | 
					
						
							| 
									
										
										
										
											2015-03-23 11:14:26 -05:00
										 |  |  | 	mavenCentral() | 
					
						
							| 
									
										
										
										
											2023-08-18 14:55:02 -05:00
										 |  |  | 	maven { url 'https://repo.spring.io/milestone' } | 
					
						
							| 
									
										
										
										
											2010-03-03 16:40:57 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-08 16:50:44 -05:00
										 |  |  | sourceSets { | 
					
						
							|  |  |  | 	main { | 
					
						
							|  |  |  | 		java { | 
					
						
							|  |  |  | 			srcDirs = [] | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		groovy { | 
					
						
							|  |  |  | 			srcDirs += ["src/main/java"] | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-23 01:47:11 +02:00
										 |  |  | gradlePlugin { | 
					
						
							|  |  |  | 	plugins { | 
					
						
							|  |  |  | 		trang { | 
					
						
							|  |  |  | 			id = "trang" | 
					
						
							|  |  |  | 			implementationClass = "trang.TrangPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2019-12-16 10:45:15 -06:00
										 |  |  | 		locks { | 
					
						
							|  |  |  | 			id = "locks" | 
					
						
							|  |  |  | 			implementationClass = "lock.GlobalLockPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-04-05 10:14:13 -05:00
										 |  |  | 		managementConfiguration { | 
					
						
							|  |  |  | 			id = "io.spring.convention.management-configuration" | 
					
						
							|  |  |  | 			implementationClass = "io.spring.gradle.convention.ManagementConfigurationPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-05-11 16:10:31 -06:00
										 |  |  | 		s101 { | 
					
						
							|  |  |  | 			id = "s101" | 
					
						
							|  |  |  | 			implementationClass = "s101.S101Plugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2023-10-25 13:33:43 -03:00
										 |  |  | 		verifyDependenciesVersions { | 
					
						
							|  |  |  | 			id = "org.springframework.security.versions.verify-dependencies-versions" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.security.convention.versions.VerifyDependenciesVersionsPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2024-06-26 14:04:17 -03:00
										 |  |  | 		checkExpectedBranchVersion { | 
					
						
							|  |  |  | 			id = "org.springframework.security.check-expected-branch-version" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.security.CheckExpectedBranchVersionPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2019-08-23 01:47:11 +02:00
										 |  |  | 	} | 
					
						
							| 
									
										
										
										
											2013-10-03 14:15:09 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | configurations { | 
					
						
							|  |  |  | 	implementation { | 
					
						
							|  |  |  | 		exclude module: 'groovy-all' | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2013-01-03 18:27:15 -06:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | dependencies { | 
					
						
							| 
									
										
										
										
											2023-09-27 15:42:42 -03:00
										 |  |  | 	implementation platform(libs.io.projectreactor.reactor.bom) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	implementation libs.com.google.code.gson.gson | 
					
						
							|  |  |  | 	implementation libs.com.thaiopensource.trag | 
					
						
							|  |  |  | 	implementation libs.net.sourceforge.saxon.saxon | 
					
						
							|  |  |  | 	implementation libs.org.yaml.snakeyaml | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | 	implementation localGroovy() | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-27 15:42:42 -03:00
										 |  |  | 	implementation libs.io.github.gradle.nexus.publish.plugin | 
					
						
							|  |  |  | 	implementation 'io.projectreactor:reactor-core' | 
					
						
							|  |  |  | 	implementation libs.org.gretty.gretty | 
					
						
							|  |  |  | 	implementation libs.com.github.ben.manes.gradle.versions.plugin | 
					
						
							|  |  |  | 	implementation libs.com.github.spullara.mustache.java.compiler | 
					
						
							|  |  |  | 	implementation libs.io.spring.javaformat.spring.javaformat.gradle.plugin | 
					
						
							|  |  |  | 	implementation libs.io.spring.nohttp.nohttp.gradle | 
					
						
							| 
									
										
										
										
											2023-07-13 14:25:10 -05:00
										 |  |  | 	implementation (libs.net.sourceforge.htmlunit) { | 
					
						
							|  |  |  | 		exclude group: 'org.eclipse.jetty.websocket', module: 'websocket-client' | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2023-09-27 15:42:42 -03:00
										 |  |  | 	implementation libs.org.hidetake.gradle.ssh.plugin | 
					
						
							|  |  |  | 	implementation libs.org.jfrog.buildinfo.build.info.extractor.gradle | 
					
						
							|  |  |  | 	implementation libs.org.sonarsource.scanner.gradle.sonarqube.gradle.plugin | 
					
						
							| 
									
										
										
										
											2023-10-05 11:20:08 -03:00
										 |  |  | 	implementation libs.com.squareup.okhttp3.okhttp | 
					
						
							| 
									
										
										
										
											2023-07-13 14:25:10 -05:00
										 |  |  | 	implementation libs.io.spring.security.release.plugin | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-27 15:42:42 -03:00
										 |  |  | 	testImplementation platform(libs.org.junit.junit.bom) | 
					
						
							|  |  |  | 	testImplementation platform(libs.org.mockito.mockito.bom) | 
					
						
							| 
									
										
										
										
											2021-07-09 16:36:26 -05:00
										 |  |  | 	testImplementation "org.junit.jupiter:junit-jupiter-api" | 
					
						
							|  |  |  | 	testImplementation "org.junit.jupiter:junit-jupiter-params" | 
					
						
							|  |  |  | 	testImplementation "org.junit.jupiter:junit-jupiter-engine" | 
					
						
							| 
									
										
										
										
											2023-09-27 15:42:42 -03:00
										 |  |  | 	testImplementation libs.org.apache.commons.commons.io | 
					
						
							|  |  |  | 	testImplementation libs.org.assertj.assertj.core | 
					
						
							|  |  |  | 	testImplementation 'org.mockito:mockito-core' | 
					
						
							|  |  |  | 	testImplementation 'org.mockito:mockito-junit-jupiter' | 
					
						
							|  |  |  | 	testImplementation libs.com.squareup.okhttp3.mockwebserver | 
					
						
							| 
									
										
										
										
											2010-03-03 16:40:57 +01:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2021-04-02 16:08:28 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-03 13:31:03 -06:00
										 |  |  | tasks.named('test', Test).configure { | 
					
						
							| 
									
										
										
										
											2021-07-09 16:36:26 -05:00
										 |  |  | 	onlyIf { !project.hasProperty("buildSrc.skipTests") } | 
					
						
							|  |  |  | 	useJUnitPlatform() | 
					
						
							| 
									
										
										
										
											2022-01-03 13:31:03 -06:00
										 |  |  | 	jvmArgs( | 
					
						
							|  |  |  | 			'--add-opens', 'java.base/java.lang=ALL-UNNAMED', | 
					
						
							|  |  |  | 			'--add-opens', 'java.base/java.util=ALL-UNNAMED' | 
					
						
							|  |  |  | 	) | 
					
						
							| 
									
										
										
										
											2021-07-09 16:36:26 -05:00
										 |  |  | } |