Skip to content

Commit 9f54f7b

Browse files
committed
Move remaining freeCompilerArgs to the new option
1 parent 25f82b0 commit 9f54f7b

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

readium/lcp/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ plugins {
1111

1212
android {
1313
namespace = "org.readium.r2.lcp"
14+
}
1415

15-
kotlinOptions {
16+
kotlin {
17+
compilerOptions {
1618
// See https://github.com/readium/kotlin-toolkit/pull/525#issuecomment-2300084041
17-
freeCompilerArgs = freeCompilerArgs + ("-Xconsistent-data-class-copy-visibility")
19+
freeCompilerArgs.add("-Xconsistent-data-class-copy-visibility")
1820
}
1921
}
2022

readium/navigator/build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ android {
1717
}
1818

1919
kotlinOptions {
20+
}
21+
}
22+
23+
kotlin {
24+
compilerOptions {
2025
// See https://github.com/readium/kotlin-toolkit/pull/525#issuecomment-2300084041
21-
freeCompilerArgs = freeCompilerArgs + ("-Xconsistent-data-class-copy-visibility")
26+
freeCompilerArgs.add("-Xconsistent-data-class-copy-visibility")
2227
}
2328
}
2429

0 commit comments

Comments
 (0)