Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Kotlin support for server-side #87

Closed
uny opened this issue Oct 10, 2018 · 2 comments
Closed

Kotlin support for server-side #87

uny opened this issue Oct 10, 2018 · 2 comments

Comments

@uny
Copy link

uny commented Oct 10, 2018

If a server-side gradle project, which means the project with com.google.cloud.tools.endpoints-framework-server gradle plugin, only has Kotlin source files, appengineRun will complain that

* What went wrong:
A problem was found with the configuration of task ':endpointsDiscoveryDocs'.
> Directory '/path/to/project/build/classes/java/main' specified for property 'classesDir' does not exist.

Creating a dummy Java class is a workaround.

@loosebazooka
Copy link
Contributor

Looks like you might be using an older version of the plugin? Can you confirm what version of endpoints-framework-server you are using?

@uny
Copy link
Author

uny commented Oct 10, 2018

I was careless.
I followed this tutorial, and used v1.0.2.
classpath 'com.google.cloud.tools:endpoints-framework-gradle-plugin:1.0.2'
Updating to v2.0.0 solves the problem.
Thank you for your help.

@uny uny closed this as completed Oct 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants