我正在使用Spring Boot应用程序,未在build.gradle文件中指定任何版本,请参见以下代码。
dependencies {
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.boot:spring-boot-starter-web')
compile('org.postgresql:postgresql')
}
gradle如何自动决定版本?
最佳答案
如果我们谈论Gradle版本。有两种选择:
./gradlew build
wrapper details gradle --version
instalation details 如果我们谈论依赖关系,我们还有两个选择:
关于spring - 如果我在spring boot应用程序中未指定任何版本,gradle将下载哪个版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53902527/