Skip to content

Commit 70d5d37

Browse files
author
Abduqodiri Qurbonzoda
committed
Use compilerOptions instead of kotlinOptions
1 parent a1b039f commit 70d5d37

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

runtime/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ kotlin {
4545

4646
targets.configureEach {
4747
compilations.configureEach {
48-
kotlinOptions.allWarningsAsErrors = true
49-
kotlinOptions.freeCompilerArgs += "-Xexpect-actual-classes"
48+
compilerOptions.options.with {
49+
allWarningsAsErrors.set(true)
50+
freeCompilerArgs.add("-Xexpect-actual-classes")
51+
}
5052
}
5153
}
5254

0 commit comments

Comments
 (0)