【发布时间】:2020-02-24 17:21:57
【问题描述】:
我使用gradle插件生成git.properties:
id 'com.gorylenko.gradle-git-properties' version '2.2.0'
它生成
/resources/main/git.properties
但是,当GitResourceAvailableCondition 在spring-boot-autoconfigure 中进行评估时
ResourceLoader 表示classpath:git.properties 不存在。
如何指向我的资源以使其可见?
【问题讨论】:
标签: spring-boot spring-webflux spring-boot-actuator