Commit 550e1a8
authored
Rework opt-ins in build scripts (#2794)
* Move opt-in configurations from AbstractKotlinCompile compiler flags
because AbstractKotlinCompile is a base type only for JVM & JS compilations, so this way of configuration is incorrect.
Furthermore, we should not opt-in for every module in the project.
Corresponding opt-ins were moved to projects' build scripts where appropriate.
* Mark-up documentation with @ExperimentalSerializationApi where needed
becuase :guide project does not have global opt-in into it.
* Add @ExperimentalSerializationApi to @KeepGeneratedSerializer
because this is a new feature.1 parent 62aa4bb commit 550e1a8
File tree
40 files changed
+196
-36
lines changed- core/commonMain/src/kotlinx/serialization
- docs
- formats/hocon
- guide
- example
40 files changed
+196
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 97 | + | |
102 | 98 | | |
103 | 99 | | |
104 | 100 | | |
| |||
172 | 168 | | |
173 | 169 | | |
174 | 170 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
| 171 | + | |
| 172 | + | |
187 | 173 | | |
188 | 174 | | |
189 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
345 | 345 | | |
| 346 | + | |
346 | 347 | | |
347 | 348 | | |
348 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
453 | 454 | | |
454 | 455 | | |
455 | 456 | | |
| |||
462 | 463 | | |
463 | 464 | | |
464 | 465 | | |
| 466 | + | |
465 | 467 | | |
466 | 468 | | |
467 | 469 | | |
| |||
0 commit comments