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

Trying to use this library #1

Closed
chemeng opened this issue May 12, 2023 · 3 comments
Closed

Trying to use this library #1

chemeng opened this issue May 12, 2023 · 3 comments

Comments

@chemeng
Copy link

chemeng commented May 12, 2023

Hello, I'm a novice in kotlin (never used it before) but I'm trying to use this package and I can't seem to get it to work. Can you provide installation instructions?

I simply tried navigating to the src/main/kotlin folder, open a kotlin console and do import xyz.teogramm.oasth but I get

error: packages cannot be imported
import xyz.teogramm.oasth
                    ^
@teogramm
Copy link
Owner

There was an oversight in the import statement. It should be import xyz.teogramm.oasth.Oasth.

Thanks for pointing this out, I have fixed it.

@chemeng
Copy link
Author

chemeng commented May 17, 2023

Hmm, I still can't get this to work..

image

@teogramm
Copy link
Owner

The easiest way to use the library is alongside a build system such as Maven or Gradle and an IDE (I use IntelliJ).

I am not familiar with the Kotlin interactive shell, however I assume that in order to import the library you have to add it to your Java CLASSPATH.

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