英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论