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
Roman Golyshev
d4cffb8a5a
[213] Switch to 213 platform
...
KTI-1114
2023-04-21 13:19:04 +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
22720f62f6
[Build] Add build-tools-api to KGP install dependencies
...
#KT-57397 In Progress
2023-04-18 18:19:24 +00:00
Yahor Berdnikau
cc1aaf4ba8
Add api compatible way to get if project isolation is enabled
...
Gradle 8.0 internal API has changed returned type. To fix incorrect KGP
behaviour has to add additional Gradle 8.0 plugin variant and provide
project isolation start parameter accessor implementation for older
Gradle versions.
^KT-55624 In Progress
2023-04-18 15:21:43 +00:00
Yahor Berdnikau
19b0ffd85c
Bump Gradle API to 8.0
...
^KT-55624 Fixed
2023-04-18 15:21:43 +00:00
Yahor Berdnikau
1801277a0c
Add newly published compiler plugins as a requirement for KGP tests
...
^KT-52811 Fixed
2023-04-17 14:40:51 +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
e1bd7d7b5d
Add methods to also embed sources and javadoc from embedded dependencies
...
Introduced approach is not ideal as it introduces direct inter-project
call breaking project isolation. But proper solution requires quite a
lot of changes and should be done separately.
^KT-52811 In Progress
2023-04-17 14:40:48 +00:00
Bogdan Mukvich
1c96a87dca
Update dokka to 1.8.10 from dev version
2023-04-12 12:12:08 +00:00
nataliya.valtman
6330def427
Fix kotlin compiler arg test plugin's dependencies
2023-04-03 18:03:23 +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
nataliya.valtman
d6a9bca5ec
Create plugin for test to set language and api kotlin versions
2023-03-23 12:34:01 +00:00
Ilya Goncharov
1817213e1d
[Gradle, JS] Upgrade yarn.lock
2023-03-21 14:33:42 +00:00
Vyacheslav Gerasimov
5996b41443
Build: Workaround deadlock in Gradle
...
Sometimes Gradle hangs during relocation of compiler plugins because
`compilerDummyJar` configuration is resolved inside ShadowJar's exclude
https://github.com/gradle/gradle/issues/24317
2023-03-20 20:46:58 +01:00
Nikolay Krasko
78b339a52b
Fix configuration cache for Test Generation tasks
...
It's not allowed `project` during the execution. But removing
project doesn't change the result anyway.
KTI-1092
2023-03-20 17:58:15 +00:00
Artem Kobzar
7a79de6d16
[K/JS] Move JS IR box tests setup into separated function
2023-03-19 22:53:05 +00:00
Yahor Berdnikau
ce39a02e0a
Unify Kotlin daemon JVM arguments settings in Kotlin repo
...
Now 'kotlin-daemon-config' convention plugin should be added into
settings plugins to configure Kotlin daemon.
2023-03-09 10:16:05 +00:00
Yahor Berdnikau
b9d19a864a
Unify Kotlin daemon JVM arguments settings in Kotlin repo
...
Now 'kotlin-daemon-config' convention plugin should be added into
settings plugins to configure Kotlin daemon.
2023-03-09 10:16:05 +00:00
Yahor Berdnikau
c080765905
Add missing file encoding setting to buildSrc properties
2023-03-09 10:16:04 +00:00
Vyacheslav Gerasimov
a51ae33e4d
Build: Add -Xmx3g to kotlin.daemon.jvmargs in settings-conventions
...
To avoid spawning multiple daemons `kotlin.daemon.jvmargs` should be
the same as root gradle.properties and buildSrc
#KTI-1142
2023-03-01 11:38:35 +00:00
Pavel Punegov
71eaa43d95
[K/N][build] Move Native plugin to build-tools
...
This is K/N only plugin that shouldn't be
in the buildSrc of the whole Kotlin project
2023-02-27 10:48:27 +00:00
Pavel Punegov
395e3e0f81
[K/N][build] Composite build with build.tools-conventions plugin
...
Adds convention plugin instead of sources inclusion
inside the buildSrc, effectively reducing the amount
of the code to be compiled in buildSrc.
Merge-request: KT-MR-8898
2023-02-27 10:48:26 +00:00
Pavel Punegov
931f7192a0
[K/N][build] Build scripts cleanup
...
* Removes unused dependencies
* Cleanup code
* Remove benchmark related sources
2023-02-27 10:48:25 +00:00
Artem Kobzar
775da5d3d2
[K/JS] Fix publishing of the stdlib compiled with the legacy js compiler
2023-02-21 18:10:15 +00:00
Dmitriy Novozhilov
20610a7c89
[Build] Bump kotlinx.metadata version to 0.6.0
2023-02-18 13:26:51 +00:00
Pavel Punegov
9ea299b0e7
[K/N][build] Fix Native plugin: remove archive file before adding
...
Merge-request: KT-MR-8783
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-02-17 11:28:41 +00:00
Simon Ogorodnik
0193c83b05
Modularized tests. Remove obsolete parameters from run configurations
...
^KT-56075
2023-02-15 15:43:31 +00:00
Yahor Berdnikau
7819e2bf54
Add settings convention for JVM toolchain provider
2023-02-13 12:58:31 +00:00
Yahor Berdnikau
920f76b9ef
Add settings convention for Gradle enterprise
2023-02-13 12:58:30 +00:00
Yahor Berdnikau
b7f50aeaf2
Introduce repo settings conventions
...
First convention is to configure Gradle build cache.
2023-02-13 12:58:30 +00:00
Yahor Berdnikau
78dc59f759
Update test-retry-gradle-plugin to 1.5.1 version
2023-02-08 16:27:29 +00:00
Yahor Berdnikau
adf79b6f00
Allow warnings in :kotlin-native:build-tools compilation
...
Fixing native benchmark setup is out of scope of these changes.
2023-02-08 16:27:27 +00:00
Martin Bonnin
a199fa7624
Bump Gradle version to 7.6
...
As well remove usages of forUseAtConfigurationTime - see also
https://github.com/JetBrains/kotlin/pull/5003
2023-02-08 16:27:26 +00:00
Yahor Berdnikau
fe03613008
Remove custom timeout for Kotlin daemon in buildSrc
...
Now daemon spawned on buildSrc compilation is compatible with other
build and having this small timeout doesn't make sense.
2023-02-08 12:50:49 +00:00
Vyacheslav Gerasimov
ff2db23c11
Build: Set kotlin.daemon.jvmargs in buildSrc to the same value as in the root project
...
#KTI-915
Merge-request: KT-MR-8589
Merged-by: Vyacheslav Gerasimov <Vyacheslav.Gerasimov@jetbrains.com >
2023-01-31 13:57:27 +00:00
Pavel Punegov
c9aeadd31f
[K/N] Remove old Compiler and Meta Version ^KT-55677 Fixed
...
* Replace it with KotlinCompilerVersion
* K/N version should be set now with `deployVersion`.
* Cleanup deprecated functions in older versions
of the Gradle plugin
* Cleanup tests for older versions of compiler downloader
Merge-request: KT-MR-8436
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-01-30 13:10:08 +00:00
Dmitriy Novozhilov
66544a4e00
Switch kotlin version to 1.9
...
with appropriate fixes in testdata, tests and other
places.
2023-01-30 09:29:55 +00:00
Bogdan Mukvich
e988ac20f0
Update dokka 1.8.0-dev with OOM fixes
2023-01-26 14:13:19 +00:00
Alexander.Likhachev
7bcfa45c49
[Build] Add gradle-warnings-detector plugin for integration tests
...
#KT-55972 In Progress
2023-01-23 17:21:16 +00:00
Ilya Goncharov
d7c31f79a8
Do not suppress NPM related tasks, but be aware about checking of them in task graph
2023-01-19 13:43:57 +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
Mikhail Glukhikh
13502abab9
Fix FIR bootstrap in version 2.0
2023-01-16 18:16:07 +01:00
Yahor Berdnikau
f90b447c7f
Add task to generate Kotlinlang reference
...
Based on the template from
https://github.com/JetBrains/kotlin-web-site/tree/master/dokka-templates .
Template itself is updated frequently and should be added by CI
configuration.
Generated reference has versioning support. Older generated references
should put into:
<project_dir>/<build_dir>/dokka/kotlinlangDocumentationOld
^KT-55520 Fixed
2023-01-13 16:16:09 +00:00
Yahor Berdnikau
d3ecb9a75f
Allow to reference Gradle API javadoc in generated documentation
...
^KT-55520 In Progress
2023-01-13 16:16:09 +00:00
Yahor Berdnikau
4de60879f0
Explicitly enable Dokka javadocs generation
...
Actually we don't need javadoc generation for our internal stuff like
':kotlin-gradle-plugin'. But ':kotlin-gradle-plugin-api' is a public api
and should have properly generated javadocs.
^KT-55520 In Progress
2023-01-13 16:16:08 +00:00
Yahor Berdnikau
18e9496ea4
Update dokka to 1.7.20 version
...
^KT-55520 In Progress
2023-01-13 16:16:08 +00:00
Yahor Berdnikau
464005aebc
Add check to validate related project are added into kotlin plugins bom
...
^KT-54691 Fixed
2023-01-05 18:26:28 +00:00
Yahor Berdnikau
b9aac83135
Add Kotlin Gradle plugins bom
...
This should help with failed variants selection between different Kotlin
Gradle plugins versions.
^KT-54691 In Progress
2023-01-05 18:26:27 +00:00
Sergej Jaskiewicz
e4d32f3615
Bump kotlin-build-gradle-plugin version to 0.0.39
...
This is so that the new APIs added in
d50c072af0 could be used in subprojects
that depend on kotlin-build-gradle-plugin
2023-01-05 10:13:38 +00:00