Skip to content

Commit

Permalink
Make Jetbrains Annotations use compileOnlyApi
Browse files Browse the repository at this point in the history
  • Loading branch information
srnyx committed Jan 3, 2023
1 parent 5bf1961 commit 6c91c92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/build.gradle.kts
@@ -1,9 +1,11 @@
plugins {
`java-library`
`maven-publish`
}

dependencies {
compileOnly("net.md-5", "bungeecord-api", "1.16-R0.4")
compileOnlyApi("org.jetbrains:annotations:23.1.0")
}

// Javadoc JAR task
Expand Down
1 change: 0 additions & 1 deletion build.gradle.kts
Expand Up @@ -26,7 +26,6 @@ subprojects {

dependencies {
compileOnly("org.spigotmc", "spigot-api", "1.11-R0.1-SNAPSHOT")
compileOnly("org.jetbrains", "annotations", "23.0.0")
}

// Set Java version
Expand Down

0 comments on commit 6c91c92

Please sign in to comment.