Files
kotlin-fork/libraries/stdlib/jvm/java9/module-info.java
T
Ilya Gorbunov 9c90d4e471 KT-50033 Add missing public API packages to module-info and setup a test
The test checks that new packages are not accidentally non-exported,
so each new stdlib package must be either exported or specified in that
test's expected non-exported package list.
2021-12-06 00:58:51 +00:00

42 lines
1.4 KiB
Java

@SuppressWarnings("module") // suppress warnings about opening packages to not-yet-built kotlin-reflect
module kotlin.stdlib {
exports kotlin;
exports kotlin.annotation;
exports kotlin.collections;
exports kotlin.collections.unsigned;
exports kotlin.comparisons;
exports kotlin.concurrent;
exports kotlin.contracts;
exports kotlin.coroutines;
exports kotlin.coroutines.cancellation;
exports kotlin.coroutines.intrinsics;
exports kotlin.coroutines.jvm.internal;
exports kotlin.io;
exports kotlin.jvm;
exports kotlin.jvm.functions;
exports kotlin.math;
exports kotlin.properties;
exports kotlin.random;
exports kotlin.ranges;
exports kotlin.reflect;
exports kotlin.sequences;
exports kotlin.system;
exports kotlin.text;
exports kotlin.time;
exports kotlin.experimental;
exports kotlin.internal;
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 from there
opens kotlin to kotlin.reflect;
opens kotlin.annotation to kotlin.reflect;
opens kotlin.collections to kotlin.reflect;
opens kotlin.coroutines to kotlin.reflect;
opens kotlin.internal to kotlin.reflect;
opens kotlin.ranges to kotlin.reflect;
opens kotlin.reflect to kotlin.reflect;
}