springboot 2.0需要gradle 1+, 而自动构建的都是3.+,手动升级如下

Upgrade with the Gradle Wrapper

If your existing Gradle-based build uses the Gradle Wrapper, you can easily upgrade by running the wrapper task, specifying the desired Gradle version:

$ ./gradlew wrapper --gradle-version=4.3.1 --distribution-type=bin

Note that it is not necessary for Gradle to be installed to use the Gradle wrapper. The next invocation of gradlew or gradlew.bat will download and cache the specified version of Gradle.

$ ./gradlew tasks
Downloading https://services.gradle.org/distributions/gradle-4.3.1-bin.zip

相关文章:

  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2021-06-07
  • 2018-01-07
猜你喜欢
  • 2022-01-05
  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2021-04-22
  • 2021-09-20
  • 2021-02-10
相关资源
相似解决方案