Commit Graph

85 Commits

Author SHA1 Message Date
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 b3707807b6 [stdlib-mpp] Do not depend on kotlin-stdlib-common in kotlin-test-common
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov 8172bbcb3a [stdlib-mpp] Update expected poms of the standard library
KT-56106
2023-08-03 14:47:21 +00:00
Ilya Gorbunov 69a87efdd9 js.tests: change paths to kotlin-stdlib-js.klib
Change the expected klib name of stdlib

KT-56106
2023-08-03 14:47:20 +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 be0bf91961 Exclude copied sources from code conformance test 2023-08-03 14:47:20 +00:00
Ilya Gorbunov 72e1578ece YarnAndNpmSuppressor: more allowed test task names
#KT-56106
2023-08-03 14:47:20 +00:00
Ilya Gorbunov ff499a6361 [stdlib-mpp] Support java9 source set compilations in MPP library projects
#KT-56106
2023-08-03 14:47:19 +00:00
Ilya Gorbunov 79d5c87f30 [stdlib-mpp] Disable test retries for MPP libraries
Not compatible with org.jetbrains.kotlin.gradle.targets.jvm.tasks.KotlinJvmTest
executer.

#KT-56106
2023-08-03 14:47:19 +00:00
Vyacheslav Gerasimov 5be8d63c00 Build: resolve commonCompileClasspath in resolveDependencies task
`commonCompileClasspath` is not resolved during with --write-verification-metadata, only during KGP build

 #KTI-1277
2023-08-01 09:18:34 +00:00
Alexander.Likhachev 18aa7f4d4b [BT] Implement non-incremental compilation within the daemon
#KT-57398 In Progress
2023-07-31 10:38:35 +00:00
Sebastian Sellmair fe3d5014ce [Gradle] Compile against Gradle 8.2
^KT-58157 In Progress
2023-07-28 15:55:51 +00:00
Alexander.Likhachev 28c059f25b [BT] Implement basic non-incremental in-process JVM compilation 2023-07-28 15:48:28 +00:00
Timofey Solonin 167ddc556d [MPP] Don't publish PM20
^KT-60198
2023-07-27 15:54:06 +00:00
Mikhail Glukhikh e76cf24d01 Explicitly use language version 1.9 for K2-unsupported parts
This commit explicitly sets LV 1.9 for all projects with disabled FIR
bootstrap, as well as for libraries, including Native stdlib.

Related to KT-59171
2023-07-26 18:19:58 +00:00
Yahor Berdnikau 63b0e900a9 [repo] Start using version catalog in the main build 2023-07-19 17:53:10 +00:00
Yahor Berdnikau 9294a74bf2 [repo] Fix 'prepare-deps' sub-project was not included in build 2023-07-19 17:53:10 +00:00
Yahor Berdnikau 45d8a8e56a [repo] Simplify buildsrc-compat/build.gradle.kts configuration
Use the Kotlin extension to configure toolchain and compiler options.
2023-07-19 17:53:10 +00:00
Yahor Berdnikau d743dc70ac [repo] Add version catalog for gradle-build-conventions included build 2023-07-19 17:53:10 +00:00
Yahor Berdnikau 67ea8b09e7 [repo] Migrate settings.gradle into settings.gradle.kts 2023-07-19 17:53:10 +00:00
Yahor Berdnikau 92baeefeaf [repo] Add version catalog for gradle-settings-convensions included build 2023-07-19 17:53:10 +00:00
Yahor Berdnikau dc5660d98c [Gradle] Add 'validatePlugins' tasks for Gradle plugin dependencies
Gradle 8 has removed "validate-external-gradle-plugin" plugin which we
used before to run validate task inputs proper annotations.

With this change, every Gradle dependency that is not published as a
Gradle plugin but uses Gradle API types is also running
'validatedPlugins' task registered manually via a build script.

^KT-59827 Fixed
2023-07-19 13:36:03 +00:00
Bogdan Mukvich 3aee0ab994 Add SBOM for gradle plugins
^KTI-1299
2023-07-19 06:57:32 +00:00
Bogdan Mukvich b6e8937077 Use root document supplier field value for project modules in SBOM
KTI-1301
2023-07-19 06:55:19 +00:00
Yahor Berdnikau bd000e61f6 [repo] Migrate resolveDependencies.gradle.kts into convention plugin
Otherwise, it could not find methods from buildsrc-compat.
2023-07-13 08:24:50 +00:00
Yahor Berdnikau 3209dbbf10 [repo] Migrate ideaRtHack.gradle.kts into convention plugin
Otherwise, it could not find methods from buildsrc-compat.
2023-07-13 08:24:50 +00:00
Yahor Berdnikau 9cc28406a6 [repo] Migrate modularizedTestConfigurations.gradle.kts into convention plugin
Otherwise, it could not find methods from buildsrc-compat.
2023-07-13 08:24:50 +00:00
Yahor Berdnikau e1ffe34088 [repo] Migrate jps.gradle.kts into convention plugin
Otherwise, it could not find methods from buildsrc-compat.
2023-07-13 08:24:50 +00:00
Yahor Berdnikau 8018b5f63b [repo] Migrate javaInstrumentation.gradle.kts into convention plugin
Otherwise, it could not find methods from buildsrc-compat.
2023-07-13 08:24:50 +00:00
Yahor Berdnikau d686cb1365 [repo] Migrate report.gradle.kts into convention plugin
Otherwise, it could not find methods from buildsrc-compat.
2023-07-13 08:24:50 +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
Yahor Berdnikau 73f6316f27 [repo] Enable warnings as errors for Gradle Kotlin scripts 2023-07-12 12:49:32 +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 Mikhailovskii 083f54aceb [KAPT4] Create basic infrastructure for KAPT4 2023-07-07 11:09:16 +00:00
Bogdan Mukvich 8dab53f58a Add README for ArtifactsTests
^KTI-1103
2023-06-27 08:47:14 +00:00
Bogdan Mukvich 3bb429929a Update expected poms in ArtifactsTests
^KTI-1103
2023-06-27 08:47:14 +00:00
Alexander Udalov c66bc36382 Build: fix some warnings in buildSrc and build.gradle.kts 2023-06-26 15:42:21 +00:00
Bogdan Mukvich 26a479918b Add expected poms
^KTI-1103
2023-06-26 08:19:47 +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 862f8f235c [Build] Bump Gradle version to 8.1.1
#KTI-1221 In Progress
2023-06-22 15:16:08 +00:00
Alexander.Likhachev 19073b96a7 [Build] Add a property to disable usernames obfuscation for build scans
The property is `kotlin.build.scan.obfuscate.username`
2023-06-07 12:33:10 +00:00
Alexander.Likhachev 04fcffa664 [Build, IGS] Add a consent details document link
Related to KTI-1223
2023-06-07 12:33:10 +00:00
Vyacheslav Gerasimov 58dfdd2f77 Build: Sync cache-redirector script with "Table of redirects" 2023-06-02 18:53:01 +00:00
Nikolay Krasko 3eeb867f56 Minor: cleanup warnings in codebase-tests 2023-05-23 16:52:40 +00:00
Nikolay Krasko c1a1986344 Discourage future trove usages
KTI-1135
2023-05-23 16:52:40 +00:00
Alexander.Likhachev 3273ee4519 [Build, IGS] Add a plugin-switch property
The plugin is not being actually applied until the `kotlin.build.internal.gradle.setup` property is explicitly set to enable the plugin logic.
#KTI-1223 Fixed
2023-05-17 19:36:15 +00:00
Alexander.Likhachev ecbf5abb81 [Build, IGS] Don't run a separate thread as it leads to problems with user input
#KTI-1223 In Progress
2023-05-17 19:36:15 +00:00
Alexander.Likhachev 1e583d2946 [Build, IGS] Add logging to InternalGradleSetupSettingsPlugin
#KTI-1223 In Progress
2023-05-17 19:36:15 +00:00
Alexander.Likhachev 2a634ead6f [Build, IGS] Specify the used value in the case of a property override
#KTI-1223 In Progress
2023-05-17 19:36:15 +00:00