Commit Graph

7111 Commits

Author SHA1 Message Date
nataliya.valtman dcdd1cd14e KT-49780 Do not clean outputs after cache corruption 2022-05-17 08:47:23 +00:00
konstantin.tskhovrebov 59b92c02b4 Add OptIn for KotlinNativeArtifactDSL implementation: mute warning. 2022-05-16 13:54:41 +00:00
konstantin.tskhovrebov 84add3a27e KT-44155: Add 'headers' option to Cocoapod config.
It is needed for Cinteroping with pods without module map inside
2022-05-16 10:57:39 +00:00
konstantin.tskhovrebov 4753c3f4a3 KT-52328: Add '-framework' linker flag only if framework exists. 2022-05-16 10:55:46 +00:00
sebastian.sellmair d737c3ebbe [Gradle][MPP] Setup Gradle attributes for commonizer classpath configuration
KT-51583
2022-05-14 13:49:23 +00:00
Dmitriy Novozhilov 032f17920e [Gradle] Add 1.8 and 1.9 api versions to gradle plugin
^KT-52208 Fixed
2022-05-14 09:54:42 +00:00
Andrey Uskov a3d8ccfc15 [build statistics] Allow reporting milestostone and RC versions 2022-05-13 11:08:37 +03:00
Andrey Uskov 44834bf82c [build statistics] Truncate long values instead of randomization 2022-05-13 11:08:36 +03:00
Ilya Goncharov 75bc90f512 rra/ilgonmic/KT-52221-dry-run-with-empty-nodejs
[Gradle, JS] Disable for wasm

[Gradle, JS] Add test on mocha with dry run should report test state

[Gradle, JS] When run in dry mode, we need special adapter which not run tests

Merge-request: KT-MR-6205
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>


^KT-52221 fixed
2022-05-11 13:27:31 +00:00
Ilya Goncharov b739344b1c [Gradle, JS] DCE and minimized names could be falsify
[Gradle, JS] Add test on falsify compiler flags

[Gradle, JS] DCE and minimized names could be falsify

Merge-request: KT-MR-6167
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com>

^KT-51957 fixed
2022-05-11 08:51:22 +00:00
Yahor Berdnikau 9850b97ea7 Remove excessive logging 2022-05-10 23:43:55 +02:00
Yahor Berdnikau 1537b2ed3d Update duckduckgo regression benchmarks
Make it compatible with Kotlin 1.7.0 release.
2022-05-10 23:43:55 +02:00
konstantin.tskhovrebov 8b9e91568f KT-49032: Add default framework header search path for Cocoapod cinterop
Similarly Cocoapods logic
https://github.com/CocoaPods/CocoaPods/blob/d18f49392c5e9ed9a2cdcb2ee89391cf7690ee5d/lib/cocoapods/target/build_settings.rb#L1188
2022-05-10 15:10:00 +00:00
Yahor Berdnikau b5449f6ed3 Exclude Android asset-pack and asset-pack-bundle plugins
'kotlin-android' plugins will not try to configure the project, when
any of these two plugins are applied. Usually these plugins are used
to handle Android resources and no compilation is required.

^KT-51898 Fixed
2022-05-10 13:48:02 +00:00
Yahor Berdnikau 92df5cd67f Revert usage of NormalizeLineEndings
This annotation causes wrong UP-TO-DATE checks leading to unexpected
build failures.

^KT-52313 Fixed
2022-05-09 11:15:38 +00:00
Yahor Berdnikau 6a901c79a5 Add Gradle test for KT-51913 2022-05-09 11:42:21 +02:00
Vyacheslav Gerasimov 7157a54155 Fix unnecessary usages of Locale.getDefault() 2022-05-06 22:08:25 +00:00
sebastian.sellmair d0e7657035 [Gradle][MPP] Fix test cinterop caching on Windows
KT-52243
2022-05-06 16:08:40 +02:00
sebastian.sellmair d43fdfeb22 [Gradle][MPP] CInteropIdeaSyncIT: Ignore assertion after running leniently failed task again.
KT-52243
2022-05-06 16:08:40 +02:00
Ivan Gavrilovic 4e4508de2b KT-52243: Fix cacheability of CInteropProcess
Remove manual up-to-date checks that were preventing task
from being retrieved from the build cache. When outputs are
not present, task would always run because of
https://github.com/gradle/gradle/issues/9095.

Test: CommonizerIT
2022-05-06 16:08:40 +02:00
Vyacheslav Gerasimov dcd17e41a4 Fix capitalization related deprecation warnings 2022-05-04 19:15:01 +00:00
sebastian.sellmair 40d62bf1a7 :tools:binary-compatibility-validator: Remove explicit kotlinx-metadata-jvm dependency
The kotlinx:binary-compatibility-validator dependency is expected
to bring this dependency in.

KT-52045
2022-05-04 18:31:40 +00:00
sebastian.sellmair fd0645548d Update binary-compatibility-validator to v0.9.0
KT-52045
2022-05-04 18:31:39 +00:00
Hung Nguyen 3321a1b4e2 [NewIC] Fix build failure when enabling new IC in projects using Kapt
Originally, the classpath-snapshot output directory was:
  1. <project>/build/kotlin/<task>/classpath-snapshot for KotlinCompile
  2. <project>/build/tmp/kapt3/classpath-snapshot/<source-set> for
     KaptGenerateStubsTask

In commit 1d1c6d5, we started using location 1 for both tasks for
consistency.

Around that time, commit 46cb490 had a merge conflict with the above
commit, but the conflict resolution was not correct yet:
  - The property was set twice, causing a build failure.
  - Location 2 was set for KaptGenerateStubsTask again.

This commit fixes both issues, so that:
  - The property is set only once.
  - Location 1 is used for both tasks.

Test: Added Kapt3IT.testSimpleWithIC_withClasspathSnapshot to prevent
      regression

^KT-52187 Fixed
2022-05-04 12:43:19 +03:00
Yahor Berdnikau e38ca74927 Fix compilation warnings in 'pill-importer' project
These warnings have fail compilation with bootstrap.
2022-05-03 11:47:30 +00:00
Yahor Berdnikau e4c84032e1 Fix users could not configure task using deprecated dsl.KotlinJvmOptions
^KT-52239
2022-05-03 11:47:29 +00:00
konstantin.tskhovrebov 9220d47594 KT-51861: Apply custom cocoapods framework name to fat framework. 2022-05-02 14:46:40 +00:00
Ilya Chernikov a78d063bef Scripting: fix script type extraction on psi2ir
#KT-48812 fixed
2022-04-29 11:03:12 +00:00
Yahor Berdnikau cb35e868cc Don't add Kotlin specific attributes to legacy 'default' configuration
^KT-51913 Fixed
2022-04-29 08:29:34 +00:00
Simon Ogorodnik 58885a1b07 KT-52217 Rename 'use-fir' to 'use-k2', update message 2022-04-28 15:42:42 +00:00
Yahor Berdnikau 0d38f293d5 Properly set jvmTarget from toolchain for KaptGenerateStubsTask
^KT-51415 Fixed
2022-04-27 14:01:05 +00:00
nataliya.valtman a05bb3c77c Store module info under own module name for incremental compilation
#KT-51463 Fixed
2022-04-27 13:17:07 +00:00
Yahor Berdnikau 78b23eea10 Make deprecated 'classpath' input Kotlin/DSL user-friendly
This should simplify user migration.

^KT-52189 Fixed
2022-04-27 10:50:42 +00:00
Yahor Berdnikau 5af9303a16 Add Kvision project to build regression benchmarks
This project covers Kotlin/JS build performance

^KT-51380 Fixed
2022-04-25 14:08:24 +02:00
Yahor Berdnikau ce0116e1f2 Color percents
Depending on the percent color it to highlight problematic place

^KT-51360 Fixed
2022-04-25 14:08:24 +02:00
Yahor Berdnikau fbc3608959 Show difference in percent
For configuration and execution phases from previous stable release

^KT-51360 In Progress
2022-04-25 14:08:23 +02:00
Yahor Berdnikau c890e42ae6 Increase cell limit for benchmark result html
^KT-51360 In Progress
2022-04-25 14:08:23 +02:00
Yahor Berdnikau 375eff4993 Update kotlin-dataframe to 0.8.0-dev-952
This version contains fix for https://github.com/Kotlin/dataframe/issues/101

^KT-51360 In Progress
2022-04-25 14:08:23 +02:00
Yahor Berdnikau 67093b49ac Bump Gradle profiler version to 0.18.0
^KT-51360 In Progress
2022-04-25 14:08:23 +02:00
Yahor Berdnikau 198c215c75 Update duckduckgo project for regression benchmarks.
Build with Kotlin 1.7.0 is broken due to Anvil dependency doesn't have
Kotlin 1.7.0 supported release.
2022-04-25 14:08:23 +02:00
Yahor Berdnikau 9c00787641 Update graphql-kotlin project for regression benchmarks 2022-04-25 14:08:23 +02:00
Zalim Bashorov 90c867ae1d [JS] Define Node.js version in one place and use a single version everywhere
Consequently, it fixes the inability to run some JS related tests on Apple devices with ARM.
2022-04-23 17:58:42 +02:00
Ilya Chernikov 352fa7540c Fix versions in poms, etc, unmute and fix appropriate test 2022-04-22 15:04:26 +02:00
Yahor Berdnikau 5450367e39 Flip Gradle plugin kotlin_module names
Now common SourceSet output will have '_common' suffix, while all
variants will have the same name - '<module-name>.kotlin_module'.

This change is required for KSP as short-term workaround, as they
are using some internal properties/methods, which was mangled before
this change and hard to access in different variants.

^KT-52138 Fixed
2022-04-22 10:54:46 +00:00
sebastian.sellmair 99d995a313 [Commonizer] Implement integration test for KT-52050
The test project will be compiled and proves that
'platform.posix.DIR' retains it's 'CPointed' supertype.

The test is expected to fail on platforms that do not support
macos (windows and linux), since the issue seems to be caused
by optimistic, single platform propagation.
2022-04-22 08:47:36 +00:00
Hung Nguyen 862c0b0c9a Trivial cleanup for KotlinCompile.classpathSnapshotProperties
^KT-51978 Fixed
2022-04-21 17:34:02 +00:00
Hung Nguyen c109d3d95b Trivial cleanup for PlainTextBuildReportWriter
^KT-51978 In Progress
2022-04-21 17:34:02 +00:00
konstantin.tskhovrebov e974d16e7a Add KotlinArtifactsExtensionImpl code generator. 2022-04-21 08:32:28 +00:00
konstantin.tskhovrebov 3085f6bacf Extract kotlin artifacts public API. 2022-04-21 08:32:27 +00:00
konstantin.tskhovrebov 19dc91135c Add info comments to KotlinNativeLinkArtifactTask.kt 2022-04-21 08:32:26 +00:00