Skip to content

Commit

Permalink
remove jsr-305
Browse files Browse the repository at this point in the history
  • Loading branch information
nym3r0s committed May 27, 2024
1 parent cd32cb1 commit b9e74a6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
as preparation for Gradle 9

- Upgrade to Kotlin 2.0
- Replace jsr305 with jspecify
- Fix type problems from K2 compiler

- Summon preconfigured arbitrary. See https://github.com/jqwik-team/jqwik/issues/527
Expand Down
2 changes: 0 additions & 2 deletions documentation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ test {

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions.freeCompilerArgs = [
// "-Xjsr305=strict", // For strict type warnings
// "-Xjsr305=under-migration:strict",
"-Xemit-jvm-type-annotations" // Required for annotations on type variables
]
kotlinOptions.jvmTarget = "${javaTargetVersion}"
Expand Down
1 change: 0 additions & 1 deletion documentation/src/docs/include/kotlin-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ tasks.withType<Test>().configureEach {
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf(
//"-Xjsr305=strict", // For strict type warnings
"-Xemit-jvm-type-annotations" // Required for annotations on type variables
)
jvmTarget = "11" // 1.8 or above
Expand Down
4 changes: 1 addition & 3 deletions kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ signing {

tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions.freeCompilerArgs = [
// "-Xjsr305=strict", // For strict type warnings
// "-Xjsr305=under-migration:strict", // @UnderMigration not used in jqwik
"-Xemit-jvm-type-annotations" // Required for annotations on type variables
"-Xemit-jvm-type-annotations" // Required for annotations on type variables
]
kotlinOptions.jvmTarget = "${javaTargetVersion}"
kotlinOptions.javaParameters = true // Required to get correct parameter names in reporting
Expand Down

0 comments on commit b9e74a6

Please sign in to comment.