Skip to content

Commit bb57cde

Browse files
authored
Update to JSpecify 1.0 annotations (#1422)
Also switch to an `api` dependence as suggested in [the docs](https://jspecify.dev/docs/using/#gradle).
1 parent 202ca3c commit bb57cde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ java_cup = "java_cup:java_cup:0.9e"
2929
javax-annotation-api = { module = "javax.annotation:javax.annotation-api", version = { strictly = "1.3.2" } }
3030
jericho-html = "net.htmlparser.jericho:jericho-html:3.2"
3131
json = "org.json:json:20240303"
32-
jspecify = "org.jspecify:jspecify:0.3.0"
32+
jspecify = "org.jspecify:jspecify:1.0.0"
3333
junit-bom = "org.junit:junit-bom:5.10.2"
3434
junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api" }
3535
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine" }

util/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
eclipse.project.natures("org.eclipse.pde.PluginNature")
88

99
dependencies {
10-
compileOnly(libs.jspecify)
10+
api(libs.jspecify)
1111
javadocClasspath(projects.core)
1212
testImplementation(libs.hamcrest)
1313
testImplementation(libs.junit.jupiter.api)

0 commit comments

Comments
 (0)