mirror of
				https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
				synced 2025-10-27 19:24:23 +08:00 
			
		
		
		
	- 在 TraceAutoConfiguration 中添加 ContextHolder依赖 - 更新 traceRequestIdProvider 方法以使用 ContextHolder - 修改 TraceRequestIdProvider 类以使用 ContextHolder- 调整 forgeboot-trace-impl 的构建配置,将 context-starter 依赖改为 compileOnly - 移除 forgeboot-trace-impl 中的 spring-boot-configuration-processor 依赖
		
			
				
	
	
		
			20 lines
		
	
	
		
			818 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			818 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| plugins {
 | |
|     alias(libs.plugins.kotlin.plugin.spring)
 | |
| }
 | |
| dependencies {
 | |
|     implementation(platform(libs.springBootDependencies.bom))
 | |
|     implementation(libs.springBoot.autoconfigure)
 | |
|     implementation(project(Modules.Context.STARTER))
 | |
|     compileOnly(platform(libs.springCloudDependencies.bom))
 | |
|     compileOnly(libs.springBootStarter.web)
 | |
|     compileOnly(libs.springBootStarter.webflux)
 | |
|     compileOnly(project(Modules.TRACE.API))
 | |
|     compileOnly(project(Modules.TRACE.IMPL))
 | |
|     // Spring Cloud OpenFeign (Compile Only)
 | |
|     // https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-openfeign
 | |
|     compileOnly(libs.springCloudStarter.openfeign)
 | |
|     // Reactor Core (Compile Only)
 | |
|     // https://mvnrepository.com/artifact/io.projectreactor/reactor-core
 | |
|     compileOnly(libs.reactor.core)
 | |
| }
 |