Suny (@syan9)custom-spring-boot-starter 官方实践 中发帖

custom-spring-boot-starter 官方实践学习
贴一个官方教程
分析官方 spring-boot-starter-data-redis
官方仓库
打开仓库
查看 redis 自动配置代码
打开 spring-boot-starter-data-redis 代码
发现里面很简单,只有一个 gradle 的构建文件
plugins {
id "org.springframework.boot.starter"
}

description = "Starter for using Redis key-value data store with Spring Data Redis and the Lettuce client"

dependencies {
api(project(":spring-boot-project:spring-boot-starter...