Commit Graph

228 Commits

Author SHA1 Message Date
Dmitriy Novozhilov 2c24bc61cc Advance bootstrap to 2.0.0-dev-6573 2023-11-02 10:03:05 +00:00
Ilya Kirillov a65c735feb [build] add checks to ensure that no modules which are part of the IDE plugin do not use experimental stdlib API
to ensure binary compatibility with stdlib inside IntelliJ.

This includes using the latest stable kotlin API version and
forbidding using experimental declarations from stdlib.

^KT-62510
2023-10-25 08:38:07 +00:00
Dmitrii Krasnov 10a6d8fd2c [Gradle IT] Added configuration for running IT with k/n from master
[Gradle] Updated kotlin-build-gradle-plugin to 0.0.40

#KT-45978 Ready for Review


Merge-request: KT-MR-12509
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com>
2023-10-24 08:38:51 +00:00
Dmitriy Novozhilov 866fbed388 Advance bootstrap to 2.0.0-dev-5387 2023-10-19 12:13:45 +00:00
Dmitriy Novozhilov a35f2eb90e Build: switch language level for compilation to 2.0
KT-61951
2023-10-18 07:59:26 +00:00
Dmitriy Novozhilov d9ddac5571 Advance bootstrap to 2.0.0-dev-4562 2023-10-09 09:30:38 +00:00
Ilya Gorbunov 222f996d45 [stdlib-mpp] Cleanup kotlin.stdlib.mpp build flag (always true) 2023-09-20 01:07:59 +00:00
Mikhail Glukhikh 5fb38008b7 Switch Kotlin version to 2.0
#KT-59171 In Progress
2023-09-19 15:46:26 +00:00
Dmitriy Novozhilov e69c9e2fc6 Advance bootstrap to 1.9.30-dev-2548 2023-09-07 11:53:28 +00:00
Alexander.Likhachev 829e0675f4 [Build] Suppress BuildToolsApiVersionInconsistency for the kotlin repo 2023-08-29 13:00:16 +00:00
Dmitriy Novozhilov 20c46738b4 Advance bootstrap to 1.9.30-dev-1098 2023-08-23 14:57:21 +00:00
Timofey Solonin d2728e0baf Advance bootstrap to 1.9.20-dev-9102 2023-08-08 04:12:08 +00:00
Ilya Gorbunov 28992b1302 [stdlib-mpp] Move KGP obsolete property suppress closer to usage
Also remove no-op property enableGranularSourceSetsMetadata
2023-08-04 16:11:56 +00:00
Ilya Gorbunov 34720f27d4 [stdlib-mpp] Switch kotlin-stdlib project to multiplatform
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov 589492ae2c Suppress KGP errors about using obsolete properties in the whole project 2023-08-03 14:19:07 +00:00
mvicsokolova 5c5367d377 [atomicfu-JVM] Preparation for commonization of JVM and K/N transformers
The following updates in the JVM/IR plugin were made:
* Lots of refactoring with preparation for K/N support: commonization of transformations.
* Improved error handling (checks for visibility constraints, appending message about usage constraints in case of an error).
* Explicit requirements for the visibility of atomic properties: to prevent leaking they should be private/internal or be members of private/internal classes.
* Fixed visibility of generated properties: volatile properties are always private and atomic updaters have the same visibility as the original atomic property.
* Volatile fields are generated from scratch and original atomic properties are removed.
* Delegated properties support is fixed (only declaration in the same scope is allowed).
* Non-inline atomic extensions are forbidden.
* For top-level atomics: only one wrapper class per file (with corresponding visibility) is generated.
* Bug fixes.

The corresponding tickets: 
https://github.com/Kotlin/kotlinx-atomicfu/issues/322
KT-60528



Merge-request: KT-MR-10579
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>
2023-07-20 13:59:23 +00:00
Dmitriy Novozhilov 8acf6b1bd0 Advance bootstrap to 1.9.20-dev-6963 2023-07-19 12:16:31 +00:00
Dmitriy Novozhilov edc7df517c Revert "Advance bootstrap to 1.9.20-dev-6571"
This reverts commit 4797d30837.
2023-07-14 15:05:07 +00:00
Dmitriy Novozhilov 4797d30837 Advance bootstrap to 1.9.20-dev-6571 2023-07-14 12:59:56 +00:00
Yahor Berdnikau 73f6316f27 [repo] Enable warnings as errors for Gradle Kotlin scripts 2023-07-12 12:49:32 +00:00
Dmitriy Novozhilov 3ac009ea38 Advance bootstrap to 1.9.20-dev-5788 2023-07-05 20:24:06 +00:00
Alexander.Likhachev a93c49baf1 [Build] Fix a bunch of buildscript compilation warnings
#KTI-1221 Fixed
2023-06-22 15:16:08 +00:00
Dmitriy Novozhilov c29482f25f Advance bootstrap to 1.9.20-dev-4459 2023-06-21 09:49:49 +00:00
Dmitriy Novozhilov 48c7af171a Advance bootstrap to 1.9.20-dev-3234 2023-06-08 15:04:42 +00:00
Alexander.Likhachev ebef67ea6a [Build] Enable internal Gradle setup plugin by default
Related to KTI-1223
2023-06-07 12:33:10 +00:00
Dmitriy Novozhilov 0c34b20e3d Advance bootstrap to 1.9.20-dev-2357 2023-05-26 18:26:44 +03:00
Dmitriy Novozhilov 7585a406e4 Advance bootstrap to 1.9.20-dev-1095 2023-05-10 09:32:30 +00:00
Dmitriy Novozhilov 172501b9e0 Advance bootstrap to 1.9.20-dev-154 2023-04-30 17:43:20 +00:00
Sebastian Sellmair 4e74f7e57c Enable new mpp dependency resolution
KT-58319
2023-04-27 18:38:45 +02:00
Dmitriy Novozhilov fe45e26d83 Advance bootstrap to 1.9.0-dev-6976 2023-04-26 17:48:14 +03:00
Dmitriy Novozhilov 7f07b2a82c Revert "Advance bootstrap to 1.9.0-dev-6379"
This reverts commit fe44727f97.

Revert is needed because of KT-58160
2023-04-21 13:15:45 +00:00
Dmitriy Novozhilov fe44727f97 Advance bootstrap to 1.9.0-dev-6379 2023-04-20 18:37:29 +00:00
Dmitriy Novozhilov 43dd8571d3 Revert "Advance bootstrap to 1.9.0-dev-5560"
This reverts commit e079d9d405.

Revert is needed because of KTIJ-25227
2023-04-12 18:20:00 +00:00
Dmitriy Novozhilov e079d9d405 Advance bootstrap to 1.9.0-dev-5560 2023-04-12 11:08:22 +00:00
Dmitriy Novozhilov 0149ac3dbd Advance bootstrap to 1.9.0-dev-4392 2023-03-28 19:42:13 +03:00
Dmitriy Novozhilov 7a25e885b1 Advance bootstrap to 1.9.0-dev-3768 2023-03-18 00:44:36 +02:00
Yahor Berdnikau b9d19a864a Unify Kotlin daemon JVM arguments settings in Kotlin repo
Now 'kotlin-daemon-config' convention plugin should be added into
settings plugins to configure Kotlin daemon.
2023-03-09 10:16:05 +00:00
Ilya Gorbunov 3b97bfb426 Extract kotlinLanguageVersion to gradle.properties
Read it when building docs in order to keep
docs version filter/language analyzer version in sync with
the language version used to compile libraries.
2023-03-07 17:55:23 +00:00
Vyacheslav Gerasimov a51ae33e4d Build: Add -Xmx3g to kotlin.daemon.jvmargs in settings-conventions
To avoid spawning multiple daemons `kotlin.daemon.jvmargs` should be
the same as root gradle.properties and buildSrc
 #KTI-1142
2023-03-01 11:38:35 +00:00
Dmitriy Novozhilov 088109a660 Advance bootstrap to 1.9.0-dev-2695 2023-03-01 11:07:06 +00:00
Ilya Goncharov 258208731b [Gradle, JS] Disable adding dom-api-compat as default dependencies 2023-02-22 11:00:15 +00:00
Artem Kobzar 775da5d3d2 [K/JS] Fix publishing of the stdlib compiled with the legacy js compiler 2023-02-21 18:10:15 +00:00
Dmitriy Novozhilov 81c1014391 Advance bootstrap to 1.9.0-dev-1777 2023-02-15 16:35:15 +00:00
Dmitriy Novozhilov 4e04a8bc69 Advance bootstrap to 1.9.0-dev-877 2023-02-01 11:31:44 +00:00
Dmitriy Novozhilov 66544a4e00 Switch kotlin version to 1.9
with appropriate fixes in testdata, tests and other
places.
2023-01-30 09:29:55 +00:00
Dmitriy Novozhilov d0183f78ff Advance bootstrap to 1.8.20-dev-5197 2023-01-05 15:21:31 +02:00
Sergej Jaskiewicz e4d32f3615 Bump kotlin-build-gradle-plugin version to 0.0.39
This is so that the new APIs added in
d50c072af0 could be used in subprojects
that depend on kotlin-build-gradle-plugin
2023-01-05 10:13:38 +00:00
Dmitriy Novozhilov bab91ce7b2 Advance bootstrap to 1.8.20-dev-4608 2022-12-21 22:30:08 +00:00
Dmitriy Novozhilov c32d851585 Advance bootstrap to 1.8.20-dev-3892 2022-12-09 16:42:55 +02:00
Dmitriy Novozhilov 03a43e0dc0 Advance bootstrap to 1.8.20-dev-3737 2022-12-07 16:47:48 +00:00