Commit Graph

895 Commits

Author SHA1 Message Date
Alexander Likhachev d0c049cc00 [IC] Setup JUnit5 tests for :kotlin-build-common
#KT-49785 In Progress
2023-01-17 22:15:54 +00:00
Bogdan Mukvich c34ae23465 Fix file permissions affecting build reproducibility
File permissions affect reproducibility
on different platforms and system settings (umask, etc.)
KTI-1094
2023-01-17 16:47:52 +00:00
Artem Daugel-Dauge 7914d3dd42 Bump Kotlin/Native version to 1.8.20-dev-5812 2023-01-17 15:56:05 +00:00
Dmitriy Novozhilov 5fedb2f72d [Parcelize] Use new DSL for generating declarations 2023-01-12 17:45:41 +00:00
Dmitriy Novozhilov 185e57e601 [FIR] Introduce builders API for generating declarations in compiler plugins
^KT-53096 Fixed
2023-01-12 17:45:39 +00:00
Svyatoslav Scherbina 14544c0180 Bump Kotlin/Native version to 1.8.20-dev-5321 2023-01-09 16:55:20 +00:00
Nikolay Lunyak f422a3a4e8 [FIR JS] Report WRONG_JS_QUALIFIER for the argument of JsQualifier 2023-01-09 08:57:08 +00:00
Abduqodiri Qurbonzoda 4af0f110c7 Fix 'Test: stdlib-js public kotlin api test' IDEA run configuration
Moving tests to another package made the IDEA run configuration obsolete.
To prevent this problem in the future a separate task (jsStdlibApiTest)
was introduced. The task is run in TC and will fail if the tests are missing.

Merge-request: KT-MR-8128
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com>
2023-01-07 12:30:52 +00:00
Svyatoslav Scherbina 1c5eed1687 Bump Kotlin/Native version to 1.8.20-dev-4812 2022-12-27 17:40:01 +00:00
Vyacheslav Gerasimov 7348e34fd0 Build: Run only jsTests before mocha tests
Only js tests produce mocha tests to run
2022-12-22 18:45:40 +01:00
Vyacheslav Gerasimov fce26aa536 Build: Introduce incrementalCompilationTest root task 2022-12-22 14:37:28 +00:00
Ilya Chernikov 8c5739739c minor: drop main-kts tests on oldBE
it is not supported anymore
2022-12-21 14:34:22 +00:00
Ilya Chernikov deb2d6d024 K2 Scripting: enable K2 tests in some test projects 2022-12-21 14:34:21 +00:00
Vyacheslav Gerasimov 9ca24b6965 Build: Remove parcelize tests from compilerPluginTest root task 2022-12-18 13:51:23 +01:00
Vyacheslav Gerasimov bfbeb2763f Build: Run only js tests with jsCompilerTest root task 2022-12-18 13:51:23 +01:00
Vyacheslav Gerasimov 4ae12bf270 Build: Introduce jsFirCompilerTest & jsIrCompilerTest root tasks 2022-12-14 15:13:09 +01:00
Vyacheslav Gerasimov 4c4a92be44 Build: Introduce parcelizeTests root task 2022-12-14 15:13:08 +01:00
Svyatoslav Scherbina 92a6c29941 Bump Kotlin/Native version to 1.8.20-dev-4077 2022-12-13 18:01:26 +00:00
Alexander Udalov 60d96b7d15 Remove some leftover imports of unsafe cast functions 2022-12-06 19:44:56 +00:00
Alexander Udalov 0d8d91f803 Remove unsafe cast function usages from compiler plugins 2022-12-06 19:44:56 +00:00
Alexander Udalov fd9b19ee49 Remove unsafe cast function usages from IR modules 2022-12-06 19:44:55 +00:00
Alexander Udalov 1418423423 Remove unsafe cast function usages from JVM backend modules 2022-12-06 19:44:55 +00:00
Andrey Uskov c9e0100214 Remove experimental implementation of Kotlin Compiler Daemon
#KT-50846 Fixed
2022-12-05 16:02:03 +00:00
Dmitriy Novozhilov 700a117476 [Build] Add forgotten compiler plugins tests to aggregate build 2022-12-01 07:29:35 +00:00
Svyatoslav Scherbina 972a54788b Bump Kotlin/Native version to 1.8.20-dev-3138 2022-11-29 21:21:20 +00:00
Bogdan Mukvich 99b33747b9 Remove codebase tests from compiler tests gradle task
KTI-975
2022-11-29 18:53:15 +00:00
Yahor Berdnikau a14d0d148b Simplify Kotlin bootstrap application in the project
Move all the code to apply Kotlin bootstrap into settings script plugin
which does following:
- configures based either on the repo root 'local.properties' or on the
root project gradle properties or on the repo root 'gradle.properties'
current type of bootstrap
- automatically adds Kotlin bootstrap repository with
exclusive content, so bootstrap dependencies will not be by mistake
downloaded from other repository
- automatically forces all Kotlin plugins applied in the build to use
bootstrap version

This script should be applied only in project settings.gradle and then
it does all the configuration by itself.
2022-11-29 14:31:48 +00:00
Sebastian Sellmair 39c97aa804 [Gradle][Native] Bump kotlin native version to 1.8.20-dev-2913
^KT-55071 Verification Pending
2022-11-24 14:42:11 +00:00
Svyatoslav Scherbina 69dccec6ca Bump Kotlin/Native version to 1.8.20-dev-2653 2022-11-18 12:11:18 +00:00
Yan Zhulanow 121599c6d4 [Pill] Prevent 'intellij' directory indexing in cooperative dev mode 2022-11-11 11:28:32 +00:00
Leonid Startsev 2aede50306 Update BCV to 0.12.0; use JAR dump mode for kotlinx-metadata-jvm and
therefore remove BCV from kotlinx-metadata project.

Introduce @IgnoreInApiDump to workaround issue#104 in BCV.
2022-11-10 13:30:12 +00:00
Leonid Startsev 96279364de Rework Binary Compatibility Validator integration:
- Add BCV to root project to commonize version

- Remove BCV from kotlinx-metadata-klib as it is not necessary for now

- Remove obsolete entry from kotlinx-metadata apiDump

- Add dependency from :kotlinx-metadata-jvm:check to :kotlinx-metadata:check so TC build can verify integrity of API dumps in both projects
2022-11-10 13:30:11 +00:00
Bogdan Mukvich 080b034950 Move code conformance tests from compiler tests
#KTI-962
2022-11-07 15:01:31 +00:00
Sebastian Sellmair 33adebe5bf [Gradle][MPP] Add k.g.p-tcs-android module for prototyping
KT-54766
2022-11-07 13:39:50 +00:00
Alexander Korepanov d5e9e87538 [JS BE] Drop JS scripting support
JS scripting uses the old IR to JS transformer.
 The new IR to JS transformer can not be used for
 JS scripting out of the box. Patching the new transformer for
 JS scripting is potentially dangerous and requires a lot of effort.
 Dropping JS scripting and the old IR to JS transformer allows to
 refactor and simplify JS BE codebase.
2022-11-04 14:15:15 +00:00
Svyatoslav Scherbina 94387da867 Bump Kotlin/Native version to 1.8.20-dev-1815 2022-11-02 19:23:27 +00:00
aleksandrina-streltsova 34d695cc72 Move config to CommonCompilerModules 2022-10-27 06:22:37 +00:00
Svyatoslav Scherbina 28340459b0 Bump Kotlin/Native version to 1.8.20-dev-980 2022-10-12 19:12:28 +00:00
Anastasiia Spaseeva 49e343e08e Fix condition for execution of prepareSonatypeStaging script.
This fixes a publication to maven central problem after commit cf2d03b9
2022-10-12 18:05:42 +02:00
Dmitriy Novozhilov d423782fac [FE 1.0] Remove usages of safeAs and cast from most of FE 1.0 modules:
- :core:descriptors
- :core:descriptors.jvm
- :core:deserialization
- :compiler:cli
- :compiler:frontend
- :compiler:frontend:cfg
- :compiler:frontend.java
- :compiler:frontend.common.jvm
- :compiler:psi
- :compiler:resolution
- :compiler:resolution.common
- :compiler:resolution.common.jvm
- :kotlin-reflect-api
2022-10-12 13:58:56 +00:00
Nikolay Krasko e1a498e757 Exclude intellij dir when working with compound build 2022-10-12 08:20:26 +00:00
Svyatoslav Scherbina dc36272354 Get rid of unsafe cast function usages in :native:frontend.native 2022-10-11 15:12:03 +00:00
Svyatoslav Scherbina 2987340edd Get rid of unsafe cast function usages in :kotlin-native:backend.native 2022-10-11 15:11:36 +00:00
Svyatoslav Scherbina 3e1eddcf54 Get rid of unsafe cast function usages in :native:native.tests 2022-10-11 15:11:03 +00:00
Dmitriy Novozhilov 9b63dde1c3 Add error-level OptIn on safeAs, cast and assertedCast functions in addToStdlib
Usage of this function is unsafe because it does not have native compiler
  support. This means that compiler won't report UNCHECKED_CAST,
  CAST_NEVER_SUCCEED or similar diagnostics in case of error cast
  (which can happen immediately or after some refactoring of class hierarchy)
2022-10-06 06:57:07 +00:00
Svyatoslav Scherbina 1f1fef1067 Bump Kotlin/Native version to 1.8.20-dev-247 2022-09-28 12:04:51 +00:00
Yahor Berdnikau c198d4d90d Simplify cache-redirector script apply method
Now it could be only be applied inside settings file pluginManagement
block. This will update both settings repositories and all projects in
the repo with cache redirection settings.
2022-09-27 14:04:43 +00:00
Svyatoslav Scherbina b1a26f7439 Bump Kotlin/Native version to 1.8.20-dev-204 2022-09-27 10:56:14 +00:00
Dmitriy Novozhilov 7ce3934cf7 [FIR] Add type resolution service into SerializationFirSupertypesExtension
This service allows resolve custom user types from plugins, which allows
  to support specifying type arguments of generated supertypes basing
  on arguments passed to annotations
2022-09-26 10:09:09 +00:00
Sebastian Sellmair 8189d7b254 [Gradle] Implement kotlin-gradle-plugin-annotations module
This will include Internal* and *Experimental annotations for the
Kotlin Gradle Plugin. The separate module is proposed, so that
additional modules can use those annotations without
a dependency to the full kotlin-gradle-plugin-api module
(see -idea modules)

^KT-54029 WIP
2022-09-19 16:03:44 +00:00