| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | plugins { | 
					
						
							| 
									
										
										
										
											2020-01-23 03:24:37 +08:00
										 |  |  | 	id "java-gradle-plugin" | 
					
						
							|  |  |  | 	id "io.spring.javaformat" version "${javaFormatVersion}" | 
					
						
							|  |  |  | 	id "checkstyle" | 
					
						
							| 
									
										
										
										
											2022-09-08 06:51:53 +08:00
										 |  |  | 	id "eclipse" | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | repositories { | 
					
						
							|  |  |  | 	mavenCentral() | 
					
						
							|  |  |  | 	gradlePluginPortal() | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-08-21 19:51:23 +08:00
										 |  |  | java { | 
					
						
							|  |  |  | 	sourceCompatibility = 17 | 
					
						
							|  |  |  | 	targetCompatibility = 17 | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-27 10:33:34 +08:00
										 |  |  | repositories { | 
					
						
							|  |  |  | 	spring.mavenRepositories("${springFrameworkVersion}".contains("-")) | 
					
						
							| 
									
										
										
										
											2022-06-15 01:58:16 +08:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2023-05-05 15:16:37 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-10 01:06:53 +08:00
										 |  |  | checkstyle { | 
					
						
							| 
									
										
										
										
											2024-09-25 07:48:52 +08:00
										 |  |  | 	toolVersion = "${checkstyleToolVersion}" | 
					
						
							| 
									
										
										
										
											2024-01-10 01:06:53 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | dependencies { | 
					
						
							| 
									
										
										
										
											2024-01-10 01:06:53 +08:00
										 |  |  | 	checkstyle("com.puppycrawl.tools:checkstyle:${checkstyle.toolVersion}") | 
					
						
							|  |  |  | 	checkstyle("io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}") | 
					
						
							| 
									
										
										
										
											2023-05-02 15:40:58 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-24 12:55:56 +08:00
										 |  |  | 	implementation(platform("org.springframework:spring-framework-bom:${springFrameworkVersion}")) | 
					
						
							|  |  |  | 	implementation("com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}") | 
					
						
							| 
									
										
										
										
											2024-03-20 13:29:48 +08:00
										 |  |  | 	implementation("com.github.node-gradle:gradle-node-plugin:3.5.1") | 
					
						
							| 
									
										
										
										
											2024-04-26 16:04:20 +08:00
										 |  |  | 	implementation("com.gradle:develocity-gradle-plugin:3.17.2") | 
					
						
							| 
									
										
										
										
											2024-08-23 18:27:03 +08:00
										 |  |  | 	implementation("com.tngtech.archunit:archunit:1.3.0") | 
					
						
							| 
									
										
										
										
											2024-09-24 12:55:56 +08:00
										 |  |  | 	implementation("commons-codec:commons-codec:${commonsCodecVersion}") | 
					
						
							| 
									
										
										
										
											2023-10-11 18:44:26 +08:00
										 |  |  | 	implementation("de.undercouch.download:de.undercouch.download.gradle.plugin:5.5.0") | 
					
						
							| 
									
										
										
										
											2024-09-25 02:30:14 +08:00
										 |  |  | 	implementation("dev.adamko.dokkatoo:dokkatoo-plugin:2.3.1") | 
					
						
							| 
									
										
										
										
											2024-03-20 13:29:48 +08:00
										 |  |  | 	implementation("io.spring.gradle.antora:spring-antora-plugin:0.0.1") | 
					
						
							| 
									
										
										
										
											2023-05-02 15:40:58 +08:00
										 |  |  | 	implementation("io.spring.javaformat:spring-javaformat-gradle-plugin:${javaFormatVersion}") | 
					
						
							| 
									
										
										
										
											2024-03-20 13:29:48 +08:00
										 |  |  | 	implementation("io.spring.nohttp:nohttp-gradle:0.0.11") | 
					
						
							| 
									
										
										
										
											2024-02-28 15:16:17 +08:00
										 |  |  | 	implementation("org.apache.httpcomponents.client5:httpclient5:5.3.1") | 
					
						
							| 
									
										
										
										
											2024-09-24 12:55:56 +08:00
										 |  |  | 	implementation("org.apache.maven:maven-embedder:${mavenVersion}") | 
					
						
							| 
									
										
										
										
											2024-03-20 13:29:48 +08:00
										 |  |  | 	implementation("org.antora:gradle-antora-plugin:1.0.0") | 
					
						
							| 
									
										
										
										
											2024-09-24 12:55:56 +08:00
										 |  |  | 	implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}") | 
					
						
							|  |  |  | 	implementation("org.jetbrains.kotlin:kotlin-compiler-embeddable:${kotlinVersion}") | 
					
						
							| 
									
										
										
										
											2023-05-02 15:40:58 +08:00
										 |  |  | 	implementation("org.springframework:spring-context") | 
					
						
							| 
									
										
										
										
											2022-01-24 22:19:47 +08:00
										 |  |  | 	implementation("org.springframework:spring-core") | 
					
						
							|  |  |  | 	implementation("org.springframework:spring-web") | 
					
						
							| 
									
										
										
										
											2024-09-24 13:06:33 +08:00
										 |  |  | 	implementation("org.yaml:snakeyaml:${snakeYamlVersion}") | 
					
						
							| 
									
										
										
										
											2023-05-02 15:40:58 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-09-24 12:55:56 +08:00
										 |  |  | 	testImplementation("org.assertj:assertj-core:${assertjVersion}") | 
					
						
							|  |  |  | 	testImplementation("org.hamcrest:hamcrest:${hamcrestVersion}") | 
					
						
							|  |  |  | 	testImplementation("org.junit.jupiter:junit-jupiter:${junitJupiterVersion}") | 
					
						
							| 
									
										
										
										
											2024-09-27 10:33:34 +08:00
										 |  |  | 	testImplementation("org.mockito:mockito-core:${mockitoVersion}") | 
					
						
							| 
									
										
										
										
											2023-09-07 00:20:00 +08:00
										 |  |  | 	testImplementation("org.springframework:spring-test") | 
					
						
							| 
									
										
										
										
											2023-05-02 15:40:58 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-05-19 04:24:39 +08:00
										 |  |  | 	testRuntimeOnly("org.junit.platform:junit-platform-launcher") | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-20 13:24:58 +08:00
										 |  |  | configurations.all { | 
					
						
							|  |  |  | 	exclude group:"org.slf4j", module:"slf4j-api" | 
					
						
							|  |  |  | 	exclude group:"ch.qos.logback", module:"logback-classic" | 
					
						
							|  |  |  | 	exclude group:"ch.qos.logback", module:"logback-core" | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | gradlePlugin { | 
					
						
							|  |  |  | 	plugins { | 
					
						
							| 
									
										
										
										
											2020-07-03 00:38:13 +08:00
										 |  |  | 		annotationProcessorPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.annotation-processor" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.processors.AnnotationProcessorPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2024-11-01 01:36:51 +08:00
										 |  |  | 		antoraAggregatedPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.antora-contributor" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.antora.AntoraContributorPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		antoraAggregatorPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.antora-dependencies" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.antora.AntoraDependenciesPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2022-11-15 19:24:27 +08:00
										 |  |  | 		architecturePlugin { | 
					
						
							| 
									
										
										
										
											2023-10-11 17:29:36 +08:00
										 |  |  | 			id = "org.springframework.boot.architecture" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.architecture.ArchitecturePlugin" | 
					
						
							| 
									
										
										
										
											2022-11-15 19:24:27 +08:00
										 |  |  | 		} | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | 		autoConfigurationPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.auto-configuration" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.autoconfigure.AutoConfigurationPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		bomPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.bom" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.bom.BomPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		configurationPropertiesPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.configuration-properties" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.context.properties.ConfigurationPropertiesPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		conventionsPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.conventions" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.ConventionsPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		deployedPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.deployed" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.DeployedPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2024-06-25 17:50:29 +08:00
										 |  |  | 		dockerTestPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.docker-test" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.test.DockerTestPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | 		integrationTestPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.integration-test" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.test.IntegrationTestPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2021-07-09 05:23:43 +08:00
										 |  |  | 		systemTestPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.system-test" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.test.SystemTestPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | 		mavenPluginPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.maven-plugin" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.mavenplugin.MavenPluginPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		mavenRepositoryPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.maven-repository" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.MavenRepositoryPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		optionalDependenciesPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.optional-dependencies" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.optional.OptionalDependenciesPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 		starterPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.starter" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.starters.StarterPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2020-01-17 04:55:20 +08:00
										 |  |  | 		testFailuresPlugin { | 
					
						
							|  |  |  | 			id = "org.springframework.boot.test-failures" | 
					
						
							|  |  |  | 			implementationClass = "org.springframework.boot.build.testing.TestFailuresPlugin" | 
					
						
							|  |  |  | 		} | 
					
						
							| 
									
										
										
										
											2020-01-10 21:48:43 +08:00
										 |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | test { | 
					
						
							|  |  |  | 	useJUnitPlatform() | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2022-09-08 06:51:53 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-20 13:24:58 +08:00
										 |  |  | eclipse { | 
					
						
							|  |  |  | 	jdt { | 
					
						
							|  |  |  | 		file { | 
					
						
							|  |  |  | 			withProperties { | 
					
						
							|  |  |  | 				it["org.eclipse.jdt.core.compiler.ignoreUnnamedModuleForSplitPackage"] = "enabled" | 
					
						
							|  |  |  | 			} | 
					
						
							|  |  |  | 		} | 
					
						
							|  |  |  | 	} | 
					
						
							| 
									
										
										
										
											2022-09-08 06:51:53 +08:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-11-16 05:20:46 +08:00
										 |  |  | jar.dependsOn check |