Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build jar #555

Open
pambrose opened this issue Dec 3, 2024 · 2 comments
Open

Unable to build jar #555

pambrose opened this issue Dec 3, 2024 · 2 comments

Comments

@pambrose
Copy link

pambrose commented Dec 3, 2024

I upgraded to 8.1.0 and I am able to run the server and client in IJ without an issue. However, when I try to compile the code to build a jar file with ./gradlew clean build I get:

> Task :compileCommonMainKotlinMetadata FAILED
e: file:///Users/pambrose/git/canvas-cache/canvas-cache/build/generated/ksp/metadata/commonMain/kotlin/com/canvascache/AdminService.kt:10:8 Class 'AdminService' is not abstract and does not implement abstract member 'clientEnvVars'.
e: file:///Users/pambrose/git/canvas-cache/canvas-cache/build/generated/ksp/metadata/commonMain/kotlin/com/canvascache/DetailService.kt:10:8 Class 'DetailService' is not abstract and does not implement abstract member 'sectionAssessmentsBySection'.
e: file:///Users/pambrose/git/canvas-cache/canvas-cache/build/generated/ksp/metadata/commonMain/kotlin/com/canvascache/QueryService.kt:10:8 Class 'QueryService' is not abstract and does not implement abstract member 'triggerAuth'.

Aside from the same code working fine when I run the client and server, the reported missing abstract member of all three classes is the first member of the parent interface (which are implemented in all 3 cases.

Also, the same code worked fine prior to upgrading to 8.1.0, so it seems to be something in the update.

Any thoughts would be greatly appreciated.

@rjaros
Copy link
Owner

rjaros commented Dec 3, 2024

Don't use build, use jar. Remember #537 :-)

@pambrose
Copy link
Author

pambrose commented Dec 3, 2024

Ha!! I knew it seemed familiar! Sorry about wasting your time. Thanks Robert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants