Marco Pennekamp
ee7c67ba11
[LL] Add LL API module for JDK 11 tests to support Lincheck tests
...
- Lincheck is compiled with JDK 11 and the `low-level-api-fir` module is
based on the JDK 8 toolchain, so we need to add a new module with a
JDK 11 toolchain to support Lincheck tests. We cannot bump
`low-level-api-fir` to JDK 11 because `low-level-api-fir-for-ide`
requires it to be based on a JDK 8 toolchain.
- Using a Gradle test suite is unfortunately not an option, because
`low-level-api-fir-for-ide` will think that the whole
`low-level-api-fir` module is compiled with JDK 11 if just a single
test suite has this toolchain.
^KT-62136
2023-12-05 21:31:32 +00:00
Sebastian Sellmair
0713866c1e
[K/N] Modularise :kotlin-native:native.backend to extract objc header generation (2/2)
...
^KT-63905 Fixed
2023-12-04 18:52:08 +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
Florian Kistner
c55dc2578a
Fix missing KonanManglerDesc in kotlin-backend-native-for-ide
2023-11-03 13:16:19 +00:00
Ilya Goncharov
51c6e81de9
[JS] Drop publishing JAR artifact of kotlin-test-js
...
^KT-62067 fixed
2023-10-16 13:34:37 +00:00
Ilya Kirillov
e91e1a7729
[build] Remove non-needed IR modules from Kotlin plugin
...
^KT-62510
^KTIJ-27361
2023-10-13 11:49:55 +00:00
Ilya Kirillov
1ec6a29d1b
[build] fix project names in sam-with-receiver-compiler-plugin-for-ide
...
They usually use one `:`
2023-10-13 11:49:55 +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
Dmitriy Novozhilov
b9744f5315
[Build] Remove incorrect dependency from :kotlin-compiler for JPS build
2023-10-09 07:46:50 +00:00
Ilya Gorbunov
785d6858ea
KT-62004 Drop legacy JS build of kotlin-stdlib
...
- preserve kotlin-stdlib-js.jar in dist and maven
- change packaging to klib in .pom
- fix manifest attributes of kotlin-stdlib-js
2023-10-06 00:46:08 +00:00
Ilya Gorbunov
eb813b7837
KT-62004 Drop legacy JS build of kotlin-test
2023-10-06 00:46:08 +00:00
Ilmir Usmanov
e5aa737eaf
Do not trim getType from com.intellij.lang.jvm.JvmParameter
...
Since K2 KAPT uses this API, absence of class bodies in classes
from the package leads to java.lang.NoSuchMethodError
#KT-61879 Fixed
2023-10-04 17:15:05 +00:00
Alexander.Likhachev
7ab8239c6e
[Gradle] Add :compiler:ir.serialization.common to KGPs compiler dependencies
...
This module isn't used by KGP itself, but we will bundle it for some time until kotlinx-benchmark is reworked
#KT-62016 Fixed
2023-09-21 15:23:01 +00:00
Alexander.Likhachev
53fde520d5
[Build] Add jUnit dependencies in testApiJUnit5 to the implementation configuration
...
Adding these dependencies to the `api` configuration pollutes classpath for each dependant modules even if it doesn't need them. Instead, the dependencies should be declared more granularly if they're required
#KTI-1349 In Progress
2023-09-06 22:47:34 +00:00
Alexander.Likhachev
357d12fc8e
[Build] Move JUnit dependencies into the version catalog
...
The `kotlin-test` dependencies are left untouched as changing them affects publications, thus these versions are independent from the used inside our build
#KTI-1349 In Progress
2023-09-06 22:47:33 +00:00
Alexander Udalov
5c19cb3fcb
[KAPT4] KT-51982 Implement Kapt4AnalysisHandlerExtension, add KAPT CLI and Gradle IT
...
Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com >
2023-08-31 22:19:13 +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
Bogdan Mukvich
7b00323b89
[Build] Update guava
...
Fix some reports from "Show Vulnerable Dependencies"
^KTI-1342
2023-08-25 14:10:37 +00:00
Mikhail Glukhikh
f9c7a88175
Add -Xuse-fir-lt=false to some scripting tests
...
make them compatible with K2
2023-08-25 08:57:53 +00:00
Nataliya.Valtman
6263b67643
Remove gson from compiler fat jar
...
KT-56438: Fixed
2023-08-16 11:34:49 +00:00
Ilya Gorbunov
7ae443ad7f
[stdlib-mpp] Use kotlin-stdlib-common artifact for dist from kotlin-stdlib project
2023-08-11 08:49:23 +00:00
Yahor Berdnikau
380062c511
[repo] Update the shadow version to 8.1.1 release
...
https://github.com/johnrengelman/shadow/releases/tag/8.1.1
2023-08-09 08:36:46 +00: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
a4c75338f3
[stdlib-mpp] js artifacts for dist
...
KT-56106
2023-08-03 14:47:21 +00:00
Pavel Mikhailovskii
083f54aceb
[KAPT4] Create basic infrastructure for KAPT4
2023-07-07 11:09:16 +00:00
Alexander Udalov
c66bc36382
Build: fix some warnings in buildSrc and build.gradle.kts
2023-06-26 15:42:21 +00:00
Alexander.Likhachev
6e07d432b3
Embed kotlin-build-tools-api into kotlin-compiler
...
#KT-57398 In Progress
2023-06-23 12:34:23 +00:00
Alexander.Likhachev
a93c49baf1
[Build] Fix a bunch of buildscript compilation warnings
...
#KTI-1221 Fixed
2023-06-22 15:16:08 +00:00
Alexander.Likhachev
3affe78ae5
[Build] Make K/N backend sources publishing for IDE in a less hacky way
...
The previous way was too hacky relying on internal API
#KTI-1221 In Progress
2023-06-22 15:16:08 +00:00
Bogdan Mukvich
303b01b89b
Add SBOM configuration for all published artifacts by default
2023-06-06 13:27:26 +00:00
Vyacheslav Gerasimov
e0a477f16d
Build: Refactor sbom configuration & wire it with main publication
2023-06-06 13:27:25 +00:00
Bogdan Mukvich
02de693a12
Configure SBOM should return artifact
2023-06-06 13:27:25 +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
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
Yahor Berdnikau
eef7c3e834
Publish serialization plugin as kotlin-serialization-compiler-plugin
...
With this change it will have consistent naming with other compiler plugins.
'-embeddable' was also renamed.
'dist' should contain two identical jar files:
- 'serialization-compiler-plugin.jar'
- 'kotlinx-serialization-compiler-plugin.jar'
^KT-58530 In Progress
2023-05-12 09:31:41 +00:00
Bogdan Mukvich
303f7493cc
Do not publish SBOM artifact by default
...
* In case we generate several artifacts like in kotlin-compiler
there are separate jar and zip modules which differ in content
2023-05-10 16:03:01 +00:00
Bogdan Mukvich
bbe5418a85
Add SBOM to dist compiler task
2023-05-10 16:03:01 +00:00
Bogdan Mukvich
d78e30a5f5
Generate SBOM for kotlin-compiler.zip
2023-05-09 08:46:07 +00:00
Nikolay Krasko
92a7a74382
[213] Fix proguard rule for ExtensionsArea.registerExtensionPoint
...
Fix for 6e18b75c73
KTI-1114
2023-05-03 20:46:58 +00:00
Justin Paupore
ae70edb1c8
[Parcelize] Recombine for-ide libraries.
...
K2 IDE support requires that the entire plugin is in a single JAR, so we
need to have the K1, K2, and CLI (CompilerPluginRegistrar) libraries
available on a single for-ide target.
This reverts commit c9badd14a7 .
^KT-57795 fixed
2023-05-01 16:27:49 +02:00
Nikolay Krasko
6e18b75c73
[213] Do not remove deprecated ExtensionsArea.registerExtensionPoint
...
The method is proved to be used in klint project
https://github.com/pinterest/ktlint/blob/c5a81e0d4198fa5cb2cac69967080e01e365b837/ktlint-rule-engine/src/main/kotlin/com/pinterest/ktlint/rule/engine/internal/KotlinPsiFileFactory.kt#L121
There is an issue about the remove: https://github.com/pinterest/ktlint/issues/1981
KTI-1114
2023-04-28 08:25:19 +00:00
Andrei Klunnyi
4c1a66b7d6
KT-57468 Kotlin assignment plugin: publish K2 & CLI artefacts
...
This commit effectively proceeds with the fix [1] but now in the context
of [2]. It includes jars from the assignment compiler plugin.
----------------------------------------------------------------------
[1]: https://youtrack.jetbrains.com/issue/KTIJ-24438
[2]: https://youtrack.jetbrains.com/issue/KTIJ-24390
2023-04-27 14:05:02 +00:00
nataliya.valtman
e34dd043da
Add minimal statistic report for JPS build
...
Fix build stat for gradle 8
#KT-56438 Fixed
2023-04-25 11:29:09 +00:00
Yahor Berdnikau
eb4e96a113
Add kotlin-build-tools-enum-compat workaround
...
It acts as a workaround for the case when build tools or dependencies
are compiled with latest 'kotlin-stdlib' version, but at a runtime older
'kotlin-stdlib' is provided, which does not know about new
`EnumEntries`.
^KT-57317 Fixed
2023-04-21 14:57:17 +00:00
Nikolay Krasko
9e00bb8a21
[213] More dependencies aalto + stax2
...
KTI-1114
2023-04-21 13:19:05 +00:00
Roman Golyshev
31482fbb8b
[213] Try removing jna from kotlin-compiler-embeddable
...
KTI-1114
2023-04-21 13:19:04 +00:00
Roman Golyshev
e388b1df36
[213] Ignore proguard warning about com.intellij.util.io.WalRecord$Companion
...
KTI-1114
2023-04-21 13:19:04 +00:00
Roman Golyshev
d4cffb8a5a
[213] Switch to 213 platform
...
KTI-1114
2023-04-21 13:19:04 +00:00