Bogdan Mukvich
303b01b89b
Add SBOM configuration for all published artifacts by default
2023-06-06 13:27:26 +00:00
Vyacheslav Gerasimov
e0a477f16d
Build: Refactor sbom configuration & wire it with main publication
2023-06-06 13:27:25 +00:00
Bogdan Mukvich
18f52832f5
Configure SBOM maven publishing for stdlib
2023-06-06 13:27:25 +00:00
Abduqodiri Qurbonzoda
ba2833b90f
Mark Base64 API with ExperimentalEncodingApi
2023-01-16 11:24:50 +00:00
Abduqodiri Qurbonzoda
34e50649e8
Switch JVM target of the standard libraries to 1.8 #KT-51907
2022-08-13 01:33:45 +03:00
Ilya Gorbunov
cd9b36b4c3
Introduce OpenEndRange and make primitive ranges implement it
...
#KT-52932
2022-06-28 00:08:03 +00:00
Ilya Gorbunov
8da8c94363
Workaround KTIJ-21808 "Kotlin not configured" in Kotlin project
...
by avoiding problematic source root during IDEA project import.
2022-06-04 10:35:24 +00:00
Ilya Gorbunov
4a6466e290
Include kotlin.internal package from core/builtins/src into stdlib-common compilation
...
It is required because internal annotations from there can be used in
other compiled kotlin-stdlib-common sources.
2022-05-17 14:38:44 +00:00
Alexander Udalov
e7680ddbff
Fix execution optimization warning for :kotlin-stdlib-common:sourcesJar
...
#KTI-662 Fixed
2021-11-12 13:24:08 +01:00
Vyacheslav Gerasimov
ab146bd6d4
Build: Fix deprecated Gradle configurations usages
...
for migration to Gradle 7+ #KTI-559
2021-09-26 18:28:44 +03:00
Mikhail Glukhikh
ffbd574a08
Use -opt-in instead of -Xopt-in in comments and scripts
2021-09-08 23:43:55 +03:00
Alexander Udalov
91c39ed01c
Build: remove obsolete compiler arguments
...
These compiler arguments enable features which are enabled by default in
the current Kotlin anyway.
The only exception is in :compiler:cli which uses an old language
version.
2021-07-27 13:35:38 +02:00
Yahor Berdnikau
7789054547
Migrate repo to use JVM toolchains Gradle feature.
...
^KT-46972 Fixed
2021-07-05 14:11:12 +00:00
Vyacheslav Gerasimov
697bb04d46
Build: Setup jvmTarget 1.6 for several common modules
...
Some modules depending on them target jvm 1.6 and can't depend on
jvm 1.8 module in Gradle 6.5.
2020-07-09 19:31:20 +03:00
Vyacheslav Gerasimov
8737168d41
Build: Use maven-publish in configurePublishing helper
2020-06-14 20:31:26 +03:00
Vyacheslav Gerasimov
c2589c7d6d
Build: Rename javadocJar for groovy to configureJavadocJar
...
So it doesn't interfere with javadocJar task accessor
2020-06-14 20:31:25 +03:00
Alexander Udalov
787e4503e5
Migrate -Xuse-experimental -> -Xopt-in in project sources
2020-03-10 12:07:15 +01:00
Mikhail Zarechenskiy
155b716e7e
Revert "Disable NewInference for stdlib tests"
...
This reverts commit cdf5323f8c .
2020-02-17 10:29:46 +03:00
Yan Zhulanow
73813aef23
Pill: Support all Gradle source sets, not just main/test
2020-02-14 17:35:15 +09:00
Mikhail Zarechenskiy
cdf5323f8c
Disable NewInference for stdlib tests
...
There is one failing test namely `ValByMapExtensionsTest.doTest`, which
is quite questionable because its checks the use of out projection and
Exact annotation (see KT-18789)
2020-02-13 11:15:56 +03:00
Ilya Gorbunov
7792613f88
Finishing touch: drop experimental coroutines sourcesets from stdlib
...
#KT-36083
2020-01-29 09:12:42 +03:00
Ilya Gorbunov
b5a0daabc3
Extract kotlin.coroutines.experimental API into compat artifact
...
Add public API dump for kotlin-coroutines-experimental-compat
#KT-36083
2020-01-29 09:12:39 +03:00
Alexander Udalov
25799447a6
Minor, use slightly less internal argument to enable inline classes
2019-09-21 02:03:31 +02:00
Vyacheslav Gerasimov
db3b01d2d4
Build: Centralize compiler dist build logic in :kotlin-compiler project
2019-06-27 17:56:48 +03:00
Ilya Gorbunov
16111ab79f
Opt-in for Experimental/UseExperimental annotation usage in tests
2019-06-18 04:02:34 +03:00
Abduqodiri Qurbonzoda
81d2d3cb6a
Implement String to/from CharArray conversion (KT-29265)
2019-05-06 15:54:28 +03:00
Vyacheslav Gerasimov
14d9ec9fb2
Build: Use javadocJar helper to specify artifact explicitly
...
Creating javadocJar task for every project produces lots of unnecessary
tasks, some project don't even have code. Jar task without outDir
property set fails idea import with gradle 5.0+
2019-02-18 19:59:36 +03:00
Ilya Gorbunov
5c94ef229b
Move release coroutines sources into the corresponding stdlib sourcesets
2018-11-28 06:05:03 +03:00
Ilya Gorbunov
ec3692026d
Rename coroutines sourceset to coroutinesExperimental
...
Restore experimental coroutine tests as they were before e22ca022
and compile and run them twice:
- first time with LV=1.2
- second time with LV=1.3
2018-11-28 06:05:02 +03:00
Ilya Gorbunov
3d2a3cddff
Stop producing empty kotlin-stdlib-coroutines jar
2018-11-21 03:42:27 +03:00
Ilya Gorbunov
b026b9eb22
Remove +ReleaseCoroutines explicit feature enabling
...
It's enabled by default in Kotlin 1.3
2018-11-09 04:00:26 +03:00
Ilya Gorbunov
a64a76d5fc
Remove experimental coroutines opt-in from build scripts
...
It has no effect in Kotlin 1.3
Only enable coroutines if '-ReleaseCoroutines' is used
2018-11-09 04:00:26 +03:00
Nikolay Krasko
e3d930a6a1
Build maven-like stdlib sources artifacts during dist
...
This is needed to emulate gradle and maven like projects in plugin tests.
2018-10-12 18:50:04 +03:00
Mikhail Zarechenskiy
d7f2eeb6e8
Add BuildInference annotation onto stdlib coroutine builders
2018-09-18 18:55:26 +03:00
Ilya Gorbunov
f4af656e20
Remove entire stdlib opt-in for unsigned types to control precisely where they are exposed
2018-09-17 17:58:27 +03:00
Mikhail Zarechenskiy
106ecadd62
Allow using kotlin.Result as a return type in stdlib
2018-09-11 10:39:27 +03:00
Ilya Gorbunov
e22ca022d4
Switch sourcesets of experimental and release coroutines
...
- Move experimental coroutines out of the main source root.
- Include experimental coroutines into the coroutines source set.
- Include release coroutines into the main source set.
2018-09-07 01:03:53 +03:00
Ilya Gorbunov
0c89996e34
Introduce platform specific annotations as optional in common stdlib
...
#KT-24478
2018-08-31 04:17:42 +03:00
Dmitry Savvinov
accbd07b2e
Publish ContractsDsl
...
- Mark @ContractsDsl as @Experimental
- Move Contracts DSL out from 'internal' package
- Change visibility of ContractsDsl from 'internal' to 'public'
^KT-25274 Fixed
^KT-25495 Fixed
2018-08-30 16:19:51 +03:00
Ilya Gorbunov
fa2f1311d7
Add tests for UInt, ULong
...
Opt-in to use unsigned types in tests
2018-08-30 14:55:41 +03:00
Ilya Gorbunov
b160561795
Include new coroutines and unsigned classes into stdlib
...
Fix clashing module name in common coroutines sourceset
2018-08-30 14:50:21 +03:00
Alexander Udalov
3323fd5a11
Check "kotlin" package usage when compiling common code
...
#KT-25369 Fixed
2018-07-26 17:10:33 +02:00
Dmitry Savvinov
668bd209f2
Use -Xallow-kotlin-package while compiling common sources
...
K2MetadataCompiler doesn't perform explicit check of compilation of
'kotlin' package, thus stdlib build wasn't passing '-Xallow-kotlin-package'.
However, we have special hack for compiling stdlib with contracts: if
'-Xallow-kotlin-package' is passed, then allow compiling contracts for
custom functions. We have to do it this way, because we don't want
stdlib artifacts to be marked with pre-release flag, even though
contracts for custom functions are not enabled yet
(see eae9923dbe ).
Therefore, it's crucial to pass -Xallow-kotlin-package properly for that
side-effect.
2018-07-09 18:57:58 +03:00
Ilya Gorbunov
b5fabf3f72
Make unsigned types experimental (with warning if not opted-in)
2018-07-04 19:12:11 +03:00
Ilya Gorbunov
615f57f2fc
Compile unsigned types sourceset with 1.3 and annotate them with SinceKotlin("1.3")
2018-07-03 03:52:18 +03:00
Ilmir Usmanov
0cb73e55d0
Split kotlin-stdlib-coroutines into common and java jars
...
#KT-24532: Fixed
2018-05-25 18:19:19 +03:00
Alexander Udalov
bf3419c3bd
Introduce OptionalExpectation for annotations missing on some platforms
...
This commits adds a new annotation OptionalExpectation to the standard
library, which is experimental. To enable its usage, either pass
'-Xuse-experimental=kotlin.ExperimentalMultiplatform' as a compiler
argument, or '-Xuse-experimental=kotlin.Experimental' and also annotate
each usage with `@UseExperimental(ExperimentalMultiplatform::class)`
#KT-18882 Fixed
2018-05-24 13:14:51 +02:00
Ilya Gorbunov
e57e3971b6
Setup separate sourceset for unsigned integer types
...
Build jar with unsigned types and put it to dist
2018-05-22 22:26:20 +03:00
Yan Zhulanow
c439b6d38b
Pill: Import common modules as libraries
2018-05-15 16:29:47 +03:00
Ilya Gorbunov
2826733e87
Put common sources into kotlin-stdlib-sources going into dist
2018-04-12 17:53:00 +03:00