LogNet / grpc-spring-boot-starter

Spring Boot starter module for gRPC framework.
Apache License 2.0
2.23k stars 433 forks source link

Task 'prepareKotlinBuildScriptModel' not found in project ':grpc-spring-boot-starter-demo'. #158

Open donhuvy opened 4 years ago

donhuvy commented 4 years ago

Environment

C:\Users\donhuvy>gradle -v

------------------------------------------------------------
Gradle 6.6.1
------------------------------------------------------------

Build time:   2020-08-25 16:29:12 UTC
Revision:     f2d1fb54a951d8b11d25748e4711bec8d128d7e3

Kotlin:       1.3.72
Groovy:       2.5.12
Ant:          Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM:          15 (Oracle Corporation 15+36-1562)
OS:           Windows 10 10.0 amd64

C:\Users\donhuvy>

JDK

donhuvy@DESKTOP-CA6GPT5 MINGW64 /d/spring_grpc_http (master)
$ java -version
java version "15" 2020-09-15
Java(TM) SE Runtime Environment (build 15+36-1562)
Java HotSpot(TM) 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)

IntelliJ IDEA

IntelliJ IDEA 2020.2.2 (Ultimate Edition)
Build #IU-202.7319.50, built on September 15, 2020
Licensed to IntelliJ IDEA Evaluator
Expiration date: October 20, 2020
Runtime version: 11.0.8+10-b944.31 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1965M
Cores: 8

Error

Task 'prepareKotlinBuildScriptModel' not found in project ':grpc-spring-boot-starter-demo'.

* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

image

What are the best version of JDK, Gradle for this demo project?

jvmlet commented 4 years ago

Please use gradlew build

jvmlet commented 4 years ago

Did you import build.gradle in intellij idea?