Deprecate modules of the empty artifacts to discourage their usage
#KT-51907
This commit is contained in:
@@ -49,6 +49,10 @@ jar {
|
|||||||
from sourceSets.java9.output
|
from sourceSets.java9.output
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourcesJar {
|
||||||
|
from sourceSets.java9.allSource
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives sourcesJar
|
archives sourcesJar
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* @deprecated This module is empty and therefore deprecated, please use <code>kotlin.stdlib</code> instead.
|
||||||
|
*/
|
||||||
@SuppressWarnings("module") // suppress warnings about terminal digit and exporting packages to not-yet-built kotlin-stdlib-jdk8
|
@SuppressWarnings("module") // suppress warnings about terminal digit and exporting packages to not-yet-built kotlin-stdlib-jdk8
|
||||||
|
@Deprecated
|
||||||
module kotlin.stdlib.jdk7 {
|
module kotlin.stdlib.jdk7 {
|
||||||
requires transitive kotlin.stdlib;
|
requires transitive kotlin.stdlib;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,6 +53,9 @@ jar {
|
|||||||
from sourceSets.java9.output
|
from sourceSets.java9.output
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sourcesJar {
|
||||||
|
from sourceSets.java9.allSource
|
||||||
|
}
|
||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
archives sourcesJar
|
archives sourcesJar
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* @deprecated This module is empty and therefore deprecated, please use <code>kotlin.stdlib</code> instead.
|
||||||
|
*/
|
||||||
@SuppressWarnings("module") // suppress warning about terminal digit
|
@SuppressWarnings("module") // suppress warning about terminal digit
|
||||||
|
@Deprecated
|
||||||
module kotlin.stdlib.jdk8 {
|
module kotlin.stdlib.jdk8 {
|
||||||
requires transitive kotlin.stdlib;
|
requires transitive kotlin.stdlib;
|
||||||
requires kotlin.stdlib.jdk7;
|
requires kotlin.stdlib.jdk7;
|
||||||
|
|||||||
Reference in New Issue
Block a user