| 
									
										
										
										
											2021-04-05 10:16:02 -05:00
										 |  |  | plugins { | 
					
						
							|  |  |  | 	id "java-gradle-plugin" | 
					
						
							|  |  |  | 	id "java" | 
					
						
							|  |  |  | 	id "groovy" | 
					
						
							|  |  |  | 	id 'com.apollographql.apollo' version '2.4.5' | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-06-22 10:14:05 -03:00
										 |  |  | 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() | 
					
						
							| 
									
										
										
										
											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 { | 
					
						
							| 
									
										
										
										
											2022-01-03 13:31:03 -06:00
										 |  |  | 		checkAntoraVersion { | 
					
						
							|  |  |  | 			id = "org.springframework.antora.check-version" | 
					
						
							| 
									
										
										
										
											2022-03-28 17:43:59 +02:00
										 |  |  | 			implementationClass = "org.springframework.gradle.antora.AntoraVersionPlugin" | 
					
						
							| 
									
										
										
										
											2022-01-03 13:31:03 -06:00
										 |  |  | 		} | 
					
						
							| 
									
										
										
										
											2019-08-23 01:47:11 +02:00
										 |  |  | 		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-04-05 10:16:02 -05:00
										 |  |  | 		updateDependencies { | 
					
						
							|  |  |  | 			id = "org.springframework.security.update-dependencies" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.security.convention.versions.UpdateDependenciesPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2022-02-17 16:59:27 +01:00
										 |  |  | 		updateProjectVersion { | 
					
						
							|  |  |  | 			id = "org.springframework.security.update-version" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.security.convention.versions.UpdateProjectVersionPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-04-07 17:57:57 -05:00
										 |  |  | 		sagan { | 
					
						
							|  |  |  | 			id = "org.springframework.security.sagan" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.gradle.sagan.SaganPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-04-07 21:23:44 -05:00
										 |  |  | 		githubMilestone { | 
					
						
							|  |  |  | 			id = "org.springframework.github.milestone" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.gradle.github.milestones.GitHubMilestonePlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-04-30 14:06:39 -05:00
										 |  |  | 		githubChangelog { | 
					
						
							|  |  |  | 			id = "org.springframework.github.changelog" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.gradle.github.changelog.GitHubChangelogPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-12-22 10:05:59 -06:00
										 |  |  | 		githubRelease { | 
					
						
							|  |  |  | 			id = "org.springframework.github.release" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.gradle.github.release.GitHubReleasePlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-05-11 16:10:31 -06:00
										 |  |  | 		s101 { | 
					
						
							|  |  |  | 			id = "s101" | 
					
						
							|  |  |  | 			implementationClass = "s101.S101Plugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											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 { | 
					
						
							| 
									
										
										
										
											2021-04-07 17:57:57 -05:00
										 |  |  | 	implementation 'com.google.code.gson:gson:2.8.6' | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | 	implementation 'com.thaiopensource:trang:20091111' | 
					
						
							|  |  |  | 	implementation 'net.sourceforge.saxon:saxon:9.1.0.8' | 
					
						
							| 
									
										
										
										
											2022-01-03 13:31:03 -06:00
										 |  |  | 	implementation 'org.yaml:snakeyaml:1.30' | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | 	implementation localGroovy() | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-17 14:00:56 -05:00
										 |  |  | 	implementation 'io.github.gradle-nexus:publish-plugin:1.1.0' | 
					
						
							| 
									
										
										
										
											2023-07-14 14:08:00 -06:00
										 |  |  | 	implementation 'io.projectreactor:reactor-core:3.5.8' | 
					
						
							| 
									
										
										
										
											2022-11-08 09:47:02 -03:00
										 |  |  | 	implementation 'org.gretty:gretty:3.0.9' | 
					
						
							| 
									
										
										
										
											2021-04-05 10:16:02 -05:00
										 |  |  | 	implementation 'com.apollographql.apollo:apollo-runtime:2.4.5' | 
					
						
							|  |  |  | 	implementation 'com.github.ben-manes:gradle-versions-plugin:0.38.0' | 
					
						
							| 
									
										
										
										
											2021-05-11 16:10:31 -06:00
										 |  |  | 	implementation 'com.github.spullara.mustache.java:compiler:0.9.4' | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | 	implementation 'io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.15' | 
					
						
							| 
									
										
										
										
											2023-02-17 14:53:21 -03:00
										 |  |  | 	implementation 'io.spring.nohttp:nohttp-gradle:0.0.11' | 
					
						
							| 
									
										
										
										
											2021-05-11 16:10:31 -06:00
										 |  |  | 	implementation 'net.sourceforge.htmlunit:htmlunit:2.37.0' | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | 	implementation 'org.hidetake:gradle-ssh-plugin:2.10.1' | 
					
						
							| 
									
										
										
										
											2022-07-25 13:41:06 -05:00
										 |  |  | 	implementation 'org.jfrog.buildinfo:build-info-extractor-gradle:4.29.0' | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | 	implementation 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.7.1' | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-16 12:16:25 -05:00
										 |  |  | 	testImplementation platform('org.junit:junit-bom:5.9.3') | 
					
						
							| 
									
										
										
										
											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" | 
					
						
							| 
									
										
										
										
											2021-04-02 13:13:07 -05:00
										 |  |  | 	testImplementation 'org.apache.commons:commons-io:1.3.2' | 
					
						
							|  |  |  | 	testImplementation 'org.assertj:assertj-core:3.13.2' | 
					
						
							| 
									
										
										
										
											2021-09-17 15:44:46 -05:00
										 |  |  | 	testImplementation 'org.mockito:mockito-core:3.12.4' | 
					
						
							|  |  |  | 	testImplementation 'org.mockito:mockito-junit-jupiter:3.12.4' | 
					
						
							| 
									
										
										
										
											2021-04-07 17:57:57 -05:00
										 |  |  | 	testImplementation "com.squareup.okhttp3:mockwebserver:3.14.9" | 
					
						
							| 
									
										
										
										
											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
										 |  |  | } |