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

Can somebody tell me what the value of main.class? #135

Closed
adarali opened this issue Dec 29, 2020 · 1 comment
Closed

Can somebody tell me what the value of main.class? #135

adarali opened this issue Dec 29, 2020 · 1 comment

Comments

@adarali
Copy link

adarali commented Dec 29, 2020

What's the value of main.class in this page?
https://kotlinlang.org/docs/reference/using-maven.html

@SebastianAigner
Copy link
Member

Hi @adarali and happy 2021! Sorry the docs on this weren't clear. You are supposed to manually set main.class to the value of your class. When you have a file called MyApp.kt which contains your main function, you would set this value to be MyAppKt (for the general naming scheme, see here: https://kotlinlang.org/docs/reference/java-to-kotlin-interop.html#package-level-functions).

Hope this helps! Feel free to reopen if the problem persists.

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