start.spring.io does not have Gradle version

huangapple go评论64阅读模式
英文:

start.spring.io does not have Gradle version

问题

I tried to use start.spring.io to create a new Java Gradle project. But today, I found out that there are only two Gradle options - Groovy and Kotlin. I don't see any Gradle for Java.

我尝试使用start.spring.io创建一个新的Java Gradle项目。但是今天我发现只有两个Gradle选项 - Groovy和Kotlin。我看不到任何适用于Java的Gradle。

I created a Java Gradle-Groovy project, but the Spring Boot dependency cannot be imported.

我创建了一个Java Gradle-Groovy项目,但无法导入Spring Boot依赖。

I tried to use start.spring.io to create a brand new Gradle project in Java. I expect to have the Spring Boot dependencies loaded. But they are not loaded.

我尝试使用start.spring.io创建一个全新的Java Gradle项目。我期望能加载Spring Boot依赖,但它们没有加载。

英文:

I tried to use start.spring.io to create a new Java Gradle project. But today, I found out that there are only two Gradle options - Groovy and Kotlin. I don't see any Gradle for Java.

I created a Java Gradle-Groovy project, but the Spring Boot dependency cannot be imported.

I tried to use start.spring.io to create a brand new Gradle project in Java. I expect to have the Spring Boot dependencies loaded. But they are not loaded.

答案1

得分: 1

没有Java选项是因为Gradle构建脚本不是用Java编写的,而是用Groovy或Kotlin。要选择应用程序构建的语言,应查看“语言”选项,而不是“项目”选项。

英文:

There's no Project option for Java because Gradle build scripts are not written in Java... only in Groovy or Kotlin. To select the language your application is built in, you should be looking at Language, not Project.

huangapple
  • 本文由 发表于 2023年4月20日 10:48:24
  • 转载请务必保留本文链接:https://go.coder-hub.com/76060162.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定