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 terminal digit and exporting packages to not-yet-built kotlin-stdlib-jdk8
|
||||||
module kotlin.stdlib.jdk7 {
|
module kotlin.stdlib.jdk7 {
|
||||||
requires transitive kotlin.stdlib;
|
requires transitive kotlin.stdlib;
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
@SuppressWarnings("module") // suppress warning about terminal digit
|
||||||
module kotlin.stdlib.jdk8 {
|
module kotlin.stdlib.jdk8 {
|
||||||
requires transitive kotlin.stdlib;
|
requires transitive kotlin.stdlib;
|
||||||
requires kotlin.stdlib.jdk7;
|
requires kotlin.stdlib.jdk7;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
@SuppressWarnings("module") // suppress warnings about opening packages to not-yet-built kotlin-reflect
|
||||||
module kotlin.stdlib {
|
module kotlin.stdlib {
|
||||||
exports kotlin;
|
exports kotlin;
|
||||||
exports kotlin.annotation;
|
exports kotlin.annotation;
|
||||||
@@ -20,12 +21,7 @@ module kotlin.stdlib {
|
|||||||
exports kotlin.sequences;
|
exports kotlin.sequences;
|
||||||
exports kotlin.system;
|
exports kotlin.system;
|
||||||
exports kotlin.text;
|
exports kotlin.text;
|
||||||
|
exports kotlin.time;
|
||||||
// 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.experimental;
|
exports kotlin.experimental;
|
||||||
|
|
||||||
@@ -33,7 +29,7 @@ module kotlin.stdlib {
|
|||||||
exports kotlin.jvm.internal;
|
exports kotlin.jvm.internal;
|
||||||
exports kotlin.jvm.internal.markers;
|
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 to kotlin.reflect;
|
||||||
opens kotlin.annotation to kotlin.reflect;
|
opens kotlin.annotation to kotlin.reflect;
|
||||||
opens kotlin.collections to kotlin.reflect;
|
opens kotlin.collections to kotlin.reflect;
|
||||||
|
|||||||
Reference in New Issue
Block a user