1068 Commits

Author SHA1 Message Date
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
Anže Sodja 17cd0d7dbc [Assign plugin] Add Gradle plugin and IDE dependencies for Assignment compiler plugin 2022-09-16 10:12:41 +03:00
Igor Yakovlev 98f3c7c94e [WASM] Temporary disable stdlib tests 2022-09-15 16:27:44 +00:00
Svyatoslav Scherbina 79885c770d Bump Kotlin/Native version to 1.8.0-dev-3049 2022-09-12 12:56:38 +00:00
Dmitriy Novozhilov 671083c701 [Serialization] Implement serialization checker for K2 version of plugin
^KT-53178 Fixed
2022-09-07 07:57:38 +00:00
Dmitriy Novozhilov 6ef3d1e573 [FE] Add helper methods for reporting diagnostics with DiagnosticContext context receiver 2022-09-07 07:57:36 +00:00
Vyacheslav Gerasimov 15d797b5b5 Build: Use protobuf from kotlin-dependencies repo
#KTI-892
2022-09-01 19:28:16 +02:00
Nikolay Krasko 01f567a16d Disable yarn and npm tasks from the build when tests are not active
Kotlin build shouldn't depend on npm during while deploy artefacts tasks

^KTI-887 Fixed
^KT-53687 Related
2022-08-30 22:15:16 +00:00
Nikita Bobko a65cb947d6 Check that kotlin-reflect has a correct version during resolution
Review: https://jetbrains.team/p/kt/reviews/6753

After we migrated to the binary reflect in previous commits we want to
make sure that people won't accidentaly depend on wrong reflect in the
future.
2022-08-22 15:44:01 +02:00
Nikita Bobko 0a6dadd04d 4/5 Replace source dependency on kotlin-reflect with binary dependency
Review: https://jetbrains.team/p/kt/reviews/6753

Meaningful semantic change was splitted into 5 commits to simplify the
change review. Sinle commit would be too big.

Why replace source to binary: to get rid of kotlin-reflect in Kotlin
plugin artifact KTIJ-22276
2022-08-22 15:43:53 +02:00
Svyatoslav Scherbina 66a870301c Bump Kotlin/Native version to 1.8.0-dev-1808 2022-08-16 17:18:09 +02:00
Ilya Goncharov 04b8ece673 [Gradle, JS] Add warning reporting about yarn.lock changes
yarn.lock can be changed during the build. It means that gradle plugin contain new versions of npm dependencies and yarn.lock should be updated to be actual. From the other side, we have bootstrap checks, and before bootstrap update following bootstrap gradle plugin can contain following changes in Gradle plugin, and in bootstrap checks yarn.lock is not actual.
So when we update NPM versions, we get one of following situations: yarn.lock is actual either in ordinary build or in bootstrap one, and never is actual in both situation
2022-08-15 08:19:04 +00:00
Dmitriy Novozhilov 6fde784b55 [FE 1.0] Allow generation of nested classes for java classes from plugins 2022-08-11 15:22:35 +03:00
Nikolay Krasko 151944295d Minor: minor code cleanup in build.gradle.kts 2022-08-05 12:50:56 +00:00
Svyatoslav Scherbina 31434550e0 Bump Kotlin/Native version to 1.8.0-dev-1158 2022-08-02 07:25:07 +00:00
Dmitry Gridin 1708b4fe48 [light classes] move light-classes-base module to analysis
^KT-53097
2022-08-01 13:56:34 +00:00
Igor Yakovlev c2d62b37e6 [WASM] Enable stdlib tests 2022-07-29 19:50:31 +02:00
Dmitriy Novozhilov 8b960de76a [KAPT] Add additional test tasks for running tests on JDK 11 2022-07-20 10:12:24 +00:00
Dmitry Gridin 5e36563df6 [light classes] drop light-classes from commonCompilerModules
^KT-53097
2022-07-19 15:42:05 +00:00
Dmitry Gridin f48cb8df1c [light classes] add light-classes-base to commonCompilerModules
^KT-53097
2022-07-19 15:41:38 +00:00
Nikita Bobko 8e9269eee6 Add artifacts into compilerArtifactsForIde task
KTIJ-21822

Those artifacts are needed for `TestKotlinArtifacts` in intellij repo
2022-07-19 11:40:43 +00:00
Svyatoslav Scherbina e63e889a1f Bump Kotlin/Native version to 1.8.0-dev-287 2022-07-11 12:31:52 +00:00
Ilya Gorbunov d825af7a22 Switch language version in Kotlin project to 1.8
Use kotlinx-metadata-jvm:0.5.0 that supports reading 1.8.0 kotlin metadata version
2022-07-01 13:04:03 +00:00
Dmitriy Novozhilov 65e240679e [FE] Move utility of parsing plugin options to :compiler:frontend.common
This is needed to be able to use this utility inside FIR part of IDE plugin
2022-06-29 12:00:00 +00:00
Igor Yakovlev 1e0a705ba1 [WASM] Temporary disable wasm std test (until bootstrap) 2022-06-28 18:00:41 +00:00
Svyatoslav Scherbina bc39727bf1 Bump Kotlin/Native version to 1.7.20-dev-2651 2022-06-28 10:00:28 +00:00
Igor Yakovlev 649910863c [WASM] Enable wasm StdLib tests 2022-06-27 10:40:21 +02:00
Mikhael Bogdanov 41d6f0dca4 Remove ir.tree.impl from build 2022-06-20 11:42:52 +00:00