Update module-info exports for stdlib and suppress warnings
- include kotlin.time package Suppress module-info warnings: - terminal digits in module name - open/export for another not yet built dependee module #KT-21266
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@SuppressWarnings("module") // suppress warnings about opening packages to not-yet-built kotlin-reflect
|
||||
module kotlin.stdlib {
|
||||
exports kotlin;
|
||||
exports kotlin.annotation;
|
||||
@@ -20,12 +21,7 @@ module kotlin.stdlib {
|
||||
exports kotlin.sequences;
|
||||
exports kotlin.system;
|
||||
exports kotlin.text;
|
||||
|
||||
// do not export experimental coroutines packages
|
||||
//exports kotlin.coroutines.experimental;
|
||||
//exports kotlin.coroutines.experimental.intrinsics;
|
||||
//exports kotlin.coroutines.experimental.jvm.internal;
|
||||
//exports kotlin.coroutines.experimental.migration;
|
||||
exports kotlin.time;
|
||||
|
||||
exports kotlin.experimental;
|
||||
|
||||
@@ -33,7 +29,7 @@ module kotlin.stdlib {
|
||||
exports kotlin.jvm.internal;
|
||||
exports kotlin.jvm.internal.markers;
|
||||
|
||||
// Open packages with .kotlin_builtins files to kotlin-reflect, to allow reflection to load built-in declarations there
|
||||
// Open packages with .kotlin_builtins files to kotlin-reflect, to allow reflection to load built-in declarations from there
|
||||
opens kotlin to kotlin.reflect;
|
||||
opens kotlin.annotation to kotlin.reflect;
|
||||
opens kotlin.collections to kotlin.reflect;
|
||||
|
||||
Reference in New Issue
Block a user