Skip to content

Commit 06a0df6

Browse files
author
Abduqodiri Qurbonzoda
committed
fixup! Use compilerOptions instead of kotlinOptions
1 parent 02ea257 commit 06a0df6

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-
compilerOptions.options.allWarningsAsErrors.set(true)
49-
compilerOptions.options.freeCompilerArgs.add("-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)