https://kotlinlang.org logo
Title
t

Tianyu Zhan

02/15/2021, 4:46 PM
How should I run gradle-client app in examples? I have errors when I run 
gradle clean build
d

Dariusz Kuc

02/15/2021, 6:15 PM
examples project is a composite build that uses artifacts from graphql-kotlin build I think that with the renaming of the project folders Gradle gets confused and no longer knows it is a composite build
you can always target specific project tasks by running (from examples directory)
./gradlew :client-examples:gradle-client-example:build
after you got your project build you should be able to run the app code from IDE or through
run
task* *you should start the sample server first either through IDE or through Gradle
./gradlew :client-examples:server-client-example:bootRun