Commit Graph

524 Commits

Author SHA1 Message Date
Yahor Berdnikau 351e9c7592 [repo] Update Dokka to 1.8.20 version
This release also fixes some problems with KGP-api documentation
publication.
2023-07-06 11:07:48 +00:00
Yahor Berdnikau 1fdda8962d [repo] Migrate 'preparePublication' task into buildSrc 2023-07-04 19:26:38 +00:00
Ilya Goncharov 0bbf16dff4 [Wasm] Add kotlin-stdlib-wasm and kotlin-test-wasm to trusted group 2023-07-04 08:52:30 +00:00
Kirill Rakhman 046b629baa [JPS Build] Fix list of ignored modules for JPS build
#KTI-1275 Fixed
2023-06-28 12:19:24 +00:00
Alexander Udalov ecc1f9fb0b Update to kotlinx-metadata-jvm 0.6.2
Migrate to the new API in kotlin-reflect build script, remove obsolete
workarounds.
2023-06-27 14:32:15 +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 cb087b7def [Build] Bump gradle-node-plugin version to 5.0.0
This change is required to fix a configuration cache problem revealed after migration to Gradle 8.1
2023-06-26 10:36:25 +00:00
Alexander.Likhachev 1c00b7062e [Build] Upgrade gradle wrapper files
This change was missed during the Gradle version bump
2023-06-26 10:36:25 +00:00
Bogdan Mukvich 9160636a71 Implement artifacts test
^KTI-1103
2023-06-26 08:19:47 +00:00
Bogdan Mukvich d1e5b252c9 Add artifacts-tests module
^KTI-1103
2023-06-26 08:19:47 +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 7690904bc4 [Gradle] Update AGP for KGP functional tests to support Gradle 8
#KTI-1221 In Progress
2023-06-22 15:16:08 +00:00
Alexander.Likhachev 862f8f235c [Build] Bump Gradle version to 8.1.1
#KTI-1221 In Progress
2023-06-22 15:16:08 +00:00
Vyacheslav Gerasimov 01b6af452f Build: Introduce resolveDependencies task
It is used on the build server to pre-download all dependencies and
check that verification-metadata.xml is up-to-date
 #KTI-72
2023-06-16 12:19:00 +00:00
Dmitrii Krasnov 267068546f migrated git connected cocoapods test to new test dsl (junit 5 and gradle test kit)
#KT-51553 In Progress
2023-06-13 06:34:33 +00:00
Vyacheslav Gerasimov b8c4a4c80a Build: Add missing v8 artifacts to the verification-metadata.xml 2023-06-12 12:48:04 +02:00
Vyacheslav Gerasimov d5831587fb Build: Download jshell using configuration 2023-06-07 10:12:39 +00:00
Vyacheslav Gerasimov 965b00549f Build: Download webassembly wabt and test suite using configuration 2023-06-07 10:12:39 +00:00
Bogdan Mukvich 1e4f78dcff Update spdx-gradle-plugin 2023-06-06 13:27:25 +00:00
Dmitriy Dolovov 502cbe8b17 [PL][tests] W/a for broken @Deprecated annotations in existing c-interop KLIBs
^KT-59030
2023-06-05 12:47:56 +00:00
Vyacheslav Gerasimov 5e39bb97a0 Download d8 using configuration to make use of Gradle dependency caching
#KTI-72
2023-06-01 09:28:11 +00:00
Nataliya.Valtman 06ac8a10cd Use FlowParameter for buildFinish event
Support build scan report for Gradle 8.1

#KT-55740: Fixed
#KT-58251: Fixed
2023-05-25 14:24:16 +00:00
Igor Yakovlev 45897cf045 [Wasm] Update SpiderMonkey and D8 2023-05-19 15:50:06 +00:00
Alexander.Likhachev e30b72fa8f [Build, IGS] Deserialize setup json using kotlinx-serialization-json
#KTI-1223 In Progress
2023-05-17 19:36:14 +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
Alexander.Likhachev 4ec48cfb82 [Gradle] Add Gradle 8.1+ plugin variant 2023-05-10 12:21:06 +00:00
Bogdan Mukvich dccb7a221c Add SBOM plugin and configuration 2023-05-09 08:46:06 +00:00
Ilya Chernikov 2e393e8fb7 Stop publishing obsolete kotlin-script-util
#KT-58366 fixed
2023-05-04 11:35:08 +00:00
Margarita Bobova faad7306fb Update verification-metadata.xml for 1.9.20 and temporary allow 1.9.0 version 2023-04-26 11:55:44 +00:00
Sebastian Sellmair 425c7c738e Update kotlin binary compatibility validator to v0.13.1
KT-55524
2023-04-25 12:49:50 +00:00
Nataliya.Valtman 2a391f7330 Move kotlin-build-statistic project to :compiler 2023-04-25 11:29:09 +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 13ce25a85c [213] Update verification for "maven-resolver-impl" and "httpclient"
KTI-1114
2023-04-21 13:19:05 +00:00
Nikolay Krasko a3293452ca [213] Update verification-metadata.xml
KTI-1114
2023-04-21 13:19:05 +00:00
Roman Golyshev d4cffb8a5a [213] Switch to 213 platform
KTI-1114
2023-04-21 13:19:04 +00:00
Dmitriy Novozhilov 6b41c5a969 [Build] Temporary exclude modules which uses serialization plugin from JPS build
KT-58111
2023-04-20 18:37:30 +00:00
Alexander.Likhachev ec4fab57a7 [Build] Add the kotlin- prefix to the build tools API modules names
KT-57396
2023-04-19 09:09:26 +00:00
Alexander.Likhachev 3a8d7c0839 [Build] Add build-tools-api and build-tools-impl modules
#KT-57396 In Progress
2023-04-18 18:19:23 +00:00
Yahor Berdnikau 19b0ffd85c Bump Gradle API to 8.0
^KT-55624 Fixed
2023-04-18 15:21:43 +00:00
Yahor Berdnikau 1eb27f2aac Update publishing and usage of kotlin-annotation-processing plugin
- removed 'kotlin-annotation-processing-gradle' publication as it
duplicated 'kotlin-annotation-processing-embeddable'
- removed 'kotlin-annotation-processing-maven' as it is embedded into
  'kotlin-maven-plugin'. Instead 'kotlin-maven-plugin' now depends on
  'kotlin-annotation-processing' directly.

^KT-52811 In Progress
2023-04-17 14:40:51 +00:00
Yahor Berdnikau 78c94b65b9 Change sam-with-receiver plugin to use published compiler plugin
- also publish 'kotlin-sam-with-receiver-compiler-plugin-embeddable' to
  be used with 'kotlin-compiler-embeddable'
- 'kotlin-maven-sam-with-receiver' now just adds
  'kotlin-sam-with-receiver-compiler-plugin' as normal dependency
  instead of embedding it into itself

^KT-52811 In Progress
2023-04-17 14:40:50 +00:00
Nikolay Krasko 4d88b8b691 Allow minor versions updates without updating verification metadata 2023-04-13 12:29:39 +00:00
Bogdan Mukvich 1c96a87dca Update dokka to 1.8.10 from dev version 2023-04-12 12:12:08 +00:00
Marco Pennekamp b805c6e32b [LL FIR] Add Caffeine library dependency
- Our current FIR caches are based on `ConcurrentMap` and thereby do not
  support size and lifetime limits out of the box. For example,
  first-layer caches with a limited size can speed up access of the most
  frequently used elements, while having a small memory footprint.
- Caffeine is a modern and well optimized caching library that allows us
  to create thread-safe and performant caches with various size or
  lifetime limits.
- The cache must support concurrency because session components such as
  symbol providers may be accessed concurrently once parallel resolve in
  the Analysis API has been implemented (see KT-55750). Caffeine caches
  support concurrency.
2023-04-04 12:45:31 +00:00
Nelson Osacky 06e687addd Upgrade Gradle Enterprise, CCUD
This upgrades the Gradle Enterprise Gradle Plugin and the Common Custom User Data Gradle plugin to the latest versions.

https://docs.gradle.com/enterprise/gradle-plugin/#release_history

https://github.com/gradle/common-custom-user-data-gradle-plugin/releases/tag/v1.9
2023-03-31 15:40:13 +02:00
Dmitriy Novozhilov ea6651445c [Build] Fix generated run configurations for modularized tests with JPS
Previously it used incorrect path to dist directory, which lead to
  incorrect calculation of path for compiler plugin jars
2023-03-29 15:18:36 +00:00
Vyacheslav Gerasimov 3dcac61f7c Build: Update org.gradle.crypto.checksum to 1.4.0 2023-03-20 19:45:40 +00:00
Vyacheslav Gerasimov 98cadcdaaf Build: Update org.jetbrains.kotlinx.benchmark to 0.4.6 2023-03-20 19:45:40 +00:00
Nikolay Krasko 09bd9ec9af Remove versions.intellijSdk.forIde versions 2023-03-13 18:40:20 +00:00