| 
									
										
										
										
											2021-04-05 23:16:02 +08:00
										 |  |  | plugins { | 
					
						
							|  |  |  | 	id "java-gradle-plugin" | 
					
						
							| 
									
										
										
										
											2025-06-27 05:25:49 +08:00
										 |  |  | 	id "groovy-gradle-plugin" | 
					
						
							| 
									
										
										
										
											2021-04-05 23:16:02 +08:00
										 |  |  | 	id "java" | 
					
						
							|  |  |  | 	id "groovy" | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-07 02:01:29 +08:00
										 |  |  | java { | 
					
						
							|  |  |  | 	sourceCompatibility = JavaVersion.VERSION_17 | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2010-03-03 23:40:57 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | repositories { | 
					
						
							| 
									
										
										
										
											2021-04-03 02:13:07 +08:00
										 |  |  | 	gradlePluginPortal() | 
					
						
							| 
									
										
										
										
											2015-03-24 00:14:26 +08:00
										 |  |  | 	mavenCentral() | 
					
						
							| 
									
										
										
										
											2023-08-19 03:55:02 +08:00
										 |  |  | 	maven { url 'https://repo.spring.io/milestone' } | 
					
						
							| 
									
										
										
										
											2010-03-03 23:40:57 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-09 05:50:44 +08:00
										 |  |  | sourceSets { | 
					
						
							|  |  |  | 	main { | 
					
						
							|  |  |  | 		java { | 
					
						
							|  |  |  | 			srcDirs = [] | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		groovy { | 
					
						
							|  |  |  | 			srcDirs += ["src/main/java"] | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-23 07:47:11 +08:00
										 |  |  | gradlePlugin { | 
					
						
							|  |  |  | 	plugins { | 
					
						
							|  |  |  | 		trang { | 
					
						
							|  |  |  | 			id = "trang" | 
					
						
							|  |  |  | 			implementationClass = "trang.TrangPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2019-12-17 00:45:15 +08:00
										 |  |  | 		locks { | 
					
						
							|  |  |  | 			id = "locks" | 
					
						
							|  |  |  | 			implementationClass = "lock.GlobalLockPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-04-05 23:14:13 +08:00
										 |  |  | 		managementConfiguration { | 
					
						
							|  |  |  | 			id = "io.spring.convention.management-configuration" | 
					
						
							|  |  |  | 			implementationClass = "io.spring.gradle.convention.ManagementConfigurationPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-05-12 06:10:31 +08:00
										 |  |  | 		s101 { | 
					
						
							|  |  |  | 			id = "s101" | 
					
						
							|  |  |  | 			implementationClass = "s101.S101Plugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2023-10-26 00:33:43 +08:00
										 |  |  | 		verifyDependenciesVersions { | 
					
						
							|  |  |  | 			id = "org.springframework.security.versions.verify-dependencies-versions" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.security.convention.versions.VerifyDependenciesVersionsPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2024-06-27 01:04:17 +08:00
										 |  |  | 		checkExpectedBranchVersion { | 
					
						
							|  |  |  | 			id = "org.springframework.security.check-expected-branch-version" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.security.CheckExpectedBranchVersionPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2019-08-23 07:47:11 +08:00
										 |  |  | 	} | 
					
						
							| 
									
										
										
										
											2013-10-04 03:15:09 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-03 02:13:07 +08:00
										 |  |  | configurations { | 
					
						
							|  |  |  | 	implementation { | 
					
						
							|  |  |  | 		exclude module: 'groovy-all' | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2013-01-04 08:27:15 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-03 02:13:07 +08:00
										 |  |  | dependencies { | 
					
						
							| 
									
										
										
										
											2023-09-28 02:42:42 +08:00
										 |  |  | 	implementation platform(libs.io.projectreactor.reactor.bom) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-07-04 04:56:53 +08:00
										 |  |  | 	implementation libs.spring.nullability | 
					
						
							| 
									
										
										
										
											2023-09-28 02:42:42 +08:00
										 |  |  | 	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-03 02:13:07 +08:00
										 |  |  | 	implementation localGroovy() | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-28 02:42:42 +08: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 | 
					
						
							| 
									
										
										
										
											2025-06-27 05:25:49 +08:00
										 |  |  | 	implementation libs.org.jetbrains.kotlin.kotlin.gradle.plugin | 
					
						
							| 
									
										
										
										
											2023-07-14 03:25:10 +08:00
										 |  |  | 	implementation (libs.net.sourceforge.htmlunit) { | 
					
						
							|  |  |  | 		exclude group: 'org.eclipse.jetty.websocket', module: 'websocket-client' | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2023-09-28 02:42:42 +08: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 22:20:08 +08:00
										 |  |  | 	implementation libs.com.squareup.okhttp3.okhttp | 
					
						
							| 
									
										
										
										
											2023-07-14 03:25:10 +08:00
										 |  |  | 	implementation libs.io.spring.security.release.plugin | 
					
						
							| 
									
										
										
										
											2021-04-03 02:13:07 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-09-28 02:42:42 +08:00
										 |  |  | 	testImplementation platform(libs.org.junit.junit.bom) | 
					
						
							|  |  |  | 	testImplementation platform(libs.org.mockito.mockito.bom) | 
					
						
							| 
									
										
										
										
											2021-07-10 05:36:26 +08:00
										 |  |  | 	testImplementation "org.junit.jupiter:junit-jupiter-api" | 
					
						
							|  |  |  | 	testImplementation "org.junit.jupiter:junit-jupiter-params" | 
					
						
							|  |  |  | 	testImplementation "org.junit.jupiter:junit-jupiter-engine" | 
					
						
							| 
									
										
										
										
											2023-09-28 02:42:42 +08: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 | 
					
						
							| 
									
										
										
										
											2025-03-18 03:16:44 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 	testRuntimeOnly 'org.junit.platform:junit-platform-launcher' | 
					
						
							| 
									
										
										
										
											2010-03-03 23:40:57 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2021-04-03 05:08:28 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-04 03:31:03 +08:00
										 |  |  | tasks.named('test', Test).configure { | 
					
						
							| 
									
										
										
										
											2021-07-10 05:36:26 +08:00
										 |  |  | 	onlyIf { !project.hasProperty("buildSrc.skipTests") } | 
					
						
							|  |  |  | 	useJUnitPlatform() | 
					
						
							| 
									
										
										
										
											2022-01-04 03:31:03 +08:00
										 |  |  | 	jvmArgs( | 
					
						
							|  |  |  | 			'--add-opens', 'java.base/java.lang=ALL-UNNAMED', | 
					
						
							|  |  |  | 			'--add-opens', 'java.base/java.util=ALL-UNNAMED' | 
					
						
							|  |  |  | 	) | 
					
						
							| 
									
										
										
										
											2021-07-10 05:36:26 +08:00
										 |  |  | } |