Trying to implement org.jetbrains:annotations into the project but builds fail. Not sure if this is an issue with the project template, or something else.
I add the dependency in build.gradle.kts - have tried compileOnly, implementation, and annotationProcessor option.
dependencies {
// Hytale Server API (provided by server at runtime)
compileOnly(files("./libs/HytaleServer.jar"))
compileOnly("org.jetbrains:annotations:26.0.2")
error: package org.jetbrains.annotations does not exist
import org.jetbrains.annotations.Nullable;
Trying to implement org.jetbrains:annotations into the project but builds fail. Not sure if this is an issue with the project template, or something else.
I add the dependency in build.gradle.kts - have tried compileOnly, implementation, and annotationProcessor option.