Leaf icon indicating copy to clipboard operation
Leaf copied to clipboard

springboot注解启动leafserver

Open Yaccc opened this issue 5 years ago • 1 comments

Yaccc avatar Mar 15 '20 16:03 Yaccc

image 打包成二方包,利用springstarter的注解能力,实现@EnableLeafServer 开启leafserver,后续上传leaf jar到maven仓库,不需要要下载工程 build,直接在依赖之后,配置相关必要信息即可使用leaf

<dependency>
	<artifactId>leaf-boot-starter</artifactId>
    <groupId>com.sankuai.inf.leaf</groupId>
    <version>1.0.1-RELEASE</version>
</dependency>

@zztztt @thelight1 review代码,准备合并进master

Yaccc avatar Mar 21 '20 17:03 Yaccc