243 Commits

Author SHA1 Message Date
Sergej Jaskiewicz bbb91d7871 [build] Update a comment in gradle.properties 2024-03-15 15:07:13 +00:00
Dmitriy Novozhilov e89afe8f6b Advance bootstrap to 2.0.0-dev-18803 2024-03-14 19:53:25 +00:00
cristiangarcia 09dc9c6743 Enable configuration-cache
Fixes KTI-1553
2024-03-14 09:19:37 +00:00
Fedor Tolstonozhenko 6114264325 Fix wrong checksum generation
CI builds ignores org.gradle.internal.publish.checksums.insecure flag
when flag was passed as part of org.gradle.jvmargs.

^KTI-1482 Fixed
2024-03-12 14:10:57 +00:00
Dmitriy Novozhilov d899618f9a Advance bootstrap to 2.0.0-dev-17175 2024-02-28 13:02:11 +00:00
Dmitriy Novozhilov 876ab2c020 Advance bootstrap to 2.0.0-dev-15455 2024-02-19 18:40:03 +00:00
Kirill Rakhman 4ef69e198c Advance bootstrap to 2.0.0-dev-14242 2024-02-02 13:26:57 +00:00
Pavel Punegov 6b409d87f5 [K/N][test] Support library for running Kotlin/Native tests with XCTest
This change adds a library with cinterop that has XCTest wrapper around
Kotlin/Native tests (that are @kotlin.test.Test marked methods).
This library can be compiled with either test code using the option
`-produce test_bundle` to make a loadable test bundle or used inside
the existing ObjC/Swift tests if compiled to a framework.

The basic idea is to make XCTest be able to resolve separate test cases
and correctly show them in test reports. This was achieved by wrapping
test cases with dynamically created invocation methods. Test listeners
are integrated with XCTest Observation to make it possible to have 
the same ability to report with GTest or TeamCity logging.

Gradle build files use MPP Gradle plugin and use a bootstrap version
of K/N. Property `kotlin.native.home` was moved to the kotlin-native
subproject to not override this project's K/N distribution, that is
being used by the KGP with the same property.

This is a part of ^KT-58928


Merge-request: KT-MR-13268
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
2024-01-18 15:04:37 +00:00
Dmitriy Novozhilov 9d0f17da26 Advance bootstrap to 2.0.0-dev-12830 2024-01-17 11:29:29 +00:00
Dmitriy Novozhilov 3a5e4d3b45 Advance bootstrap to 2.0.0-dev-11567 2024-01-03 12:12:58 +00:00
Dmitriy Novozhilov 21b7405435 Advance bootstrap to 2.0.0-dev-10501 2023-12-15 10:40:04 +00:00
Vyacheslav Gerasimov 6c3b740a05 Build: Remove -xmx for main Gradle daemon
In some cases a lot of memory consumed during IDEA import. To avoid OOMs
when working with IDEA we should limit heap size only for CI builds.
2023-12-12 21:26:35 +00:00
Vyacheslav Gerasimov cf3f63ad33 Build: Set Gradle daemon -Xmx to 2200m 2023-12-01 13:37:26 +01:00
Dmitriy Novozhilov e75b29032f Advance bootstrap to 2.0.0-dev-9013 2023-11-29 15:14:14 +00:00
Dmitriy Novozhilov bfc0126105 Advance bootstrap to 2.0.0-dev-7674 2023-11-15 17:05:33 +00:00
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