Add spring-context-indexer to speed up startup (#3185)

#### What type of PR is this?

/kind improvement
/area core
/milestone 2.2.x

#### What this PR does / why we need it:

See https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#beans-scanning-index for more.

#### Special notes for your reviewer:

This might help a little, bu we have to.

#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/3192/head
John Niang 2023-01-31 10:58:09 +08:00 committed by GitHub
parent 1810255aea
commit bb7fe81343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ dependencies {
testCompileOnly 'org.projectlombok:lombok'
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
annotationProcessor "org.springframework:spring-context-indexer:6.0.4"
developmentOnly 'org.springframework.boot:spring-boot-devtools'