2d41c7d462
Using the new multi-release jar feature, store compiled module-info.class files into META-INF/versions/9 instead of the artifact root. Hopefully, this will break fewer tools which do not support module-info.class files because any sane tool should not do anything with files in META-INF because before Java 9 that directory only contained resources. Upgrade some Maven plugins to newer versions which do not fail on module-info.class files #KT-21266 In Progress
38 lines
1.2 KiB
Java
38 lines
1.2 KiB
Java
module kotlin.stdlib {
|
|
exports kotlin;
|
|
exports kotlin.annotation;
|
|
exports kotlin.collections;
|
|
exports kotlin.comparisons;
|
|
exports kotlin.concurrent;
|
|
exports kotlin.io;
|
|
exports kotlin.jvm;
|
|
exports kotlin.jvm.functions;
|
|
exports kotlin.math;
|
|
exports kotlin.properties;
|
|
exports kotlin.ranges;
|
|
exports kotlin.reflect;
|
|
exports kotlin.sequences;
|
|
exports kotlin.system;
|
|
exports kotlin.text;
|
|
|
|
exports kotlin.coroutines.experimental;
|
|
exports kotlin.coroutines.experimental.intrinsics;
|
|
exports kotlin.coroutines.experimental.jvm.internal;
|
|
exports kotlin.experimental;
|
|
|
|
exports kotlin.internal;
|
|
exports kotlin.jvm.internal;
|
|
exports kotlin.jvm.internal.markers;
|
|
|
|
// TODO?
|
|
// exports org.jetbrains.annotations;
|
|
|
|
// Open packages with .kotlin_builtins files to kotlin-reflect, to allow reflection to load built-in declarations there
|
|
opens kotlin to kotlin.reflect;
|
|
opens kotlin.annotation to kotlin.reflect;
|
|
opens kotlin.collections to kotlin.reflect;
|
|
opens kotlin.internal to kotlin.reflect;
|
|
opens kotlin.ranges to kotlin.reflect;
|
|
opens kotlin.reflect to kotlin.reflect;
|
|
}
|