diff --git a/README.adoc b/README.adoc index e5661da..f9c222d 100644 --- a/README.adoc +++ b/README.adoc @@ -103,7 +103,7 @@ This feature can be enabled by adding the `-Xjsr305` compiler flag with the `str ---- tasks.withType { kotlinOptions { - freeCompilerArgs = listOf("-Xjsr305=strict") + freeCompilerArgs += "-Xjsr305=strict" } } ---- diff --git a/build.gradle.kts b/build.gradle.kts index 85136e1..7641ae7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -39,7 +39,7 @@ dependencies { tasks.withType { kotlinOptions { - freeCompilerArgs = listOf("-Xjsr305=strict") + freeCompilerArgs += "-Xjsr305=strict" } }