Pavel Kunyavskiy
649a7bd66b
[IR] Moved actualizer and related things to separate module
...
^KT-62292
2023-11-20 08:31:41 +00:00
Ilya Chernikov
6877fa8e42
Scripting: remove obsolete script-util module
...
#KT-58367 fixed
2023-11-16 15:46:08 +00:00
Ilya Kirillov
6aeabc83ea
[kotlin] fix "IllegalStateException: Could not find stdlib"
...
The commit removes all the KLib resolution logic,
now Analysis API Standalone clients need to provide all the KLib
list directly.
The resolution logic was removed as too error-prone and requiring compiler configurations.
Kotlin Gradle plugin can provide a full set of required KLibs,
so if a client is a Gradle plugin, this should not be an issue.
Probably, some fancy API which will explicitly perform all KLib dependency searches
should be introduced in the future (KT-63395)
^KT-63126 fixed
2023-11-16 13:31:53 +00:00
Pavel Punegov
9f9b4d1981
[K/N][publish] Publish kotlin-native-compiler-embeddable.jar
...
Add an ability to publish kotlin-native-compiler-embeddable.jar and
sources to maven. Adds necessary for that sourcesJar and javadocJar
tasks. Note that Native distribution uses this jar without a version postfix.
Also cleaned up the obsolete backend.native publication and renamed
project to match its name.
Merge-request: KT-MR-12974
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-11-15 14:54:04 +00:00
Ilya Kirillov
5f5daa0e06
[Decompiler] rename :analysis:decompiled:native -> :analysis:decompiled:decompiler-native
...
to avoid possible name clashes between different
Gradle subprojects with the same name.
see https://github.com/gradle/gradle/issues/16986
2023-11-10 06:41:03 +00:00
Ilya Kirillov
bffbbe6293
[LL FIR] add LL FIR tests based on AbstractFirPsiNativeDiagnosticsTest
...
^KT-62910 fixed
2023-11-10 06:41:03 +00:00
Ilya Kirillov
68235b978b
[Analysis] add test generator for Kotlin/Native tests inside Analysis API
...
This test generator is enabled only if Kotlin/Native support is enabled in the project
^KT-62910
2023-11-10 06:41:03 +00:00
Alexander.Likhachev
0333985445
[Build] Remove kotlin-gradle-plugin-compiler-dependencies
...
We should consider the information from the removed buildscript to resolve KT-61706
^KT-62650 Fixed
2023-11-09 12:19:23 +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
Ilya Gorbunov
bd6607c860
Drop kotlin-stdlib-wasm project
...
Its tasks are no longer used as build entry points
2023-10-20 16:27:30 +00:00
Nataliya.Valtman
9de791b9ac
Create FUS Gradle plugin
...
fus-statistics-gradle-plugin can be used by any other Gradle plugins to
collect additional metrics for FUS.
KT-59627
2023-10-18 10:32:11 +00:00
Ilya Gorbunov
469ca237db
Remove the previous approach to build wasm stdlib variants
2023-10-17 16:30:41 +00:00
Ilya Kirillov
83db91d445
[build] do not build kotlin-stdlib-minimal-for-test-for-id as it's unused in the IDE
2023-10-13 11:49:55 +00:00
Ilya Kirillov
b3226b9b78
[build] do not build kotlin-compiler-for-ide as it's unused in the IDE Plugin
2023-10-13 11:49:55 +00:00
Svyatoslav Kuzmich
881997585a
[Wasm] Add K2 checkers.web.common module (KT-56849)
...
This module is created to share JS and Wasm checker logic
Extract isEffectivelyExternal util fun from K/JS in order to
reuse it in Wasm checkers
2023-10-12 13:26:58 +00:00
Svyatoslav Kuzmich
a10042f909
[Wasm] Add K2 checkers.wasm module (KT-56849)
...
Add first K2 checker ExternalInheritanceChecker to test the infra
2023-10-12 13:26:58 +00:00
Svyatoslav Kuzmich
1ddcdb95bd
[Wasm] Add compiler.common.wasm module
...
This module is introduced to mirror K/JS code layout
Add WasmStandardClassIds to use in checkers
2023-10-12 13:26:58 +00:00
Ilya Gorbunov
eb813b7837
KT-62004 Drop legacy JS build of kotlin-test
2023-10-06 00:46:08 +00:00
Ilya Gorbunov
222f996d45
[stdlib-mpp] Cleanup kotlin.stdlib.mpp build flag (always true)
2023-09-20 01:07:59 +00:00
Sergej Jaskiewicz
7a6bffaabb
[FIR generator] Move Importable interface to common module
...
This is a step towards commonizing the code generator between
FIR and IR: KT-61970
2023-09-19 22:19:37 +00:00
Sergej Jaskiewicz
ddfd94b3b2
[K/N] Move KonanMangler to a new common module
...
^KT-61248 Fixed
2023-09-13 14:25:10 +00:00
Sergej Jaskiewicz
d1127f1a31
[K/N] Move IR-related ObjC interop helpers to a new common module
...
This is a step towards KT-61248. We need those helpers to be available
in non-Native-specific code.
2023-09-13 14:25:09 +00:00
Sebastian Sellmair
02c2c76ffe
[Gradle] Remove ':kotlin-project-model' and ':kotlin-project-model-tests-generator'
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
e800885c03
[Gradle] Remove ':kotlin-gradle-plugin-kpm-android' module
...
KT-61463
2023-08-29 16:45:12 +00:00
Alexander.Likhachev
6cfa165ddb
[Gradle, Build] Publish an artifact with unpublished compiler modules for KGP
...
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Pavel Punegov
ecb6b5dc58
[K/N][build] Remove obsolete kotlin-native-shared project
...
This project was replaced by the :native:kotlin-native-utils located at
native/utils. All sources were already merged.
Merge-request: KT-MR-11847
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-08-28 14:57:16 +00:00
Pavel Kirpichenkov
af94b241ec
Extract K/N decompiler related files into a separate module
...
KTIJ-26526
2023-08-23 07:46:29 +00:00
Pavel Kunyavskiy
8bcd1f4efa
[FIR/Native] Move fir-related code from backend.native module to new one
...
^KT-61249
2023-08-22 08:56:16 +00:00
Igor Yakovlev
223e590dcd
[Wasm] Temporary task to provide wasm stdlib tests
2023-08-08 18:10:20 +02:00
Igor Yakovlev
f42d0b1ed4
[Wasm] Add wasi kotlin.test target gradle buildscript
2023-08-08 18:10:19 +02:00
Igor Yakovlev
d1c7caf15c
[Wasm] Add wasi stdlib target gradle buildscript
...
KT-56608
2023-08-08 18:10:19 +02:00
Ilya Gorbunov
a9bc8fa402
[stdlib-mpp] Exclude kotlin-stdlib-js/js-ir projects and use kotlin-stdlib instead
...
- Specify disambiguating attributes in kotlin-dom-api-compat
compile dependency configurations
because it uses the flag that removes JS compiler type attribute
from all configurations and variants
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov
9390afa749
[stdlib-mpp] Remove workaround for building kotlin-test-js as a modern K/JS project
...
KT-56106
2023-08-03 14:47:21 +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
9bdd365be4
[stdlib-mpp] Workaround for building kotlin-test-js as a modern K/JS project
...
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov
34fc6278ea
[stdlib-mpp] initial approach in a separate project
...
- produce similar jvm, js and common jars
- try default publishing
#KT-56106
2023-08-03 14:47:19 +00:00
Dmitriy Dolovov
5171d92fb9
[KLIB] API for dumping KLIB ABI
...
^KT-54402
2023-07-28 09:52:18 +00:00
Nikolay Krasko
0fb6382bd6
Include compatible-compose modules
...
Modules are absent in the repository by default, but can be added from
the experimental repository. This a temporal solution for building
compatible compose with the Kotlin master.
KTI-1302
2023-07-27 10:08:25 +00:00
Yahor Berdnikau
5b5dae9249
[repo] Move buildSrc into repo/gradle-build-conventions/buildsrc-compat project
...
Include new project as build logic included build. Such change will
allow us to start migration into build convention plugins by splitting
buildSrc logic into subprojects.
2023-07-13 08:24:49 +00:00
Abduqodiri Qurbonzoda
7346cf4777
Introduce jdk-api-validator to ensure kotlin-reflect uses jdk6 API
...
Merge-request: KT-MR-6930
Merged-by: Abduqodiri Qurbonzoda <abduqodiri.qurbonzoda@jetbrains.com >
2023-07-12 05:13:08 +00:00
Pavel Kunyavskiy
0179b45840
Introduce compiler.common.native module
2023-07-10 08:59:16 +00:00
Pavel Mikhailovskii
083f54aceb
[KAPT4] Create basic infrastructure for KAPT4
2023-07-07 11:09:16 +00:00
Bogdan Mukvich
d1e5b252c9
Add artifacts-tests module
...
^KTI-1103
2023-06-26 08:19:47 +00:00
Nikolay Lunyak
45bbd432fc
[FIR Native] Stop requiring :dist for native diagnostic test
...
Native uses its own klib stdlib generated
via `:kotlin-native:dist`.
2023-06-07 05:20:01 +00:00
Ilya Kirillov
fbcf73eb42
[Analysis API Standalone] commonize logic for Analysis API FIR service registration between standalone and tests
2023-06-02 09:16:47 +00:00
Nikolay Lunyak
a3cd7d074e
[FIR Native] KT-58549: Ensure :dist is run before the native diagnostics
...
Turns out `:native:tests` prepares `:kotlin-native:dist` only.
2023-06-01 10:27:54 +00:00
Andrei Klunnyi
6255efa7f7
[KT-58817] Publish K2 script compiler artifact
...
With this commit kotlin script compiler (as a plugin) becomes
available for IDE.
2023-05-26 12:55:00 +00:00
Alexander.Likhachev
b304f54d80
[Build] Apply InternalGradleSetupSettingsPlugin at first
...
#KTI-1223 In Progress
2023-05-17 19:36:15 +00:00
Alexander.Likhachev
188203197b
[Build] Add internal-gradle-setup settings plugin
...
#KTI-1223 In Progress
2023-05-17 19:36:14 +00:00
Svyatoslav Scherbina
16acb72521
Native: don't pack endorsed libraries (namely kotlinx.cli) into dist
...
The overall concept of "endorsed" libraries is currently unmaintained
and non-reviewed.
kotlinx-cli is in its alpha, and is available from Maven.
See also KT-54098.
2023-05-15 10:10:56 +00:00