Skip to content

Commit

Permalink
Remove obsolete OptIn usage (#445)
Browse files Browse the repository at this point in the history
* Remove obsolete OptIn usage

The APIs in use are now stable.

* Remove old opt-in for RequiresOptIn

As of Kotlin 1.7 the opt-in feature is now stable and does not need an explicit declaration.

https://kotlinlang.org/docs/whatsnew17.html#stable-opt-in-requirements
  • Loading branch information
Goooler authored Aug 28, 2023
1 parent 5d92202 commit 99ff443
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions clikt/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ kotlin {
macosArm64()

sourceSets {
all {
languageSettings.optIn("kotlin.RequiresOptIn")
}

val commonMain by getting {
dependencies {
api(libs.mordant)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import kotlin.test.Test


@Suppress("unused")
@OptIn(ExperimentalStdlibApi::class)
class OutputStreamTest {
@get:Rule
val stdout: SystemOutRule = SystemOutRule().enableLog()
Expand Down

0 comments on commit 99ff443

Please sign in to comment.