Skip to content

Commit

Permalink
Add deprecation to InternalEncodingApi annotation (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
05nelsonm authored Mar 10, 2024
1 parent 84fc777 commit dbeff6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 1 addition & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,9 @@ plugins.withType<NodeJsRootPlugin> {
}

apiValidation {
@Suppress("LocalVariableName")
val CHECK_PUBLICATION = findProperty("CHECK_PUBLICATION") as? String

if (CHECK_PUBLICATION != null) {
if (findProperty("CHECK_PUBLICATION") != null) {
ignoredProjects.add("check-publication")
} else {
nonPublicMarkers.add("io.matthewnelson.encoding.core.internal.InternalEncodingApi")

ignoredProjects.add("test")
ignoredProjects.add("sample")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ package io.matthewnelson.encoding.core.internal
AnnotationTarget.TYPEALIAS
)
@Retention(AnnotationRetention.BINARY)
@Deprecated(message = "deprecated due to package name incompatibility with JPMS")
public annotation class InternalEncodingApi

0 comments on commit dbeff6b

Please sign in to comment.