Commit Graph

10885 Commits

Author SHA1 Message Date
Hung Nguyen e01c2bc651 Warn in Gradle log when incremental compilation fails
When incremental compilation fails, we currently log it at the `debug`
level (and fall back to non-incremental compilation). This commit will
change it to `warning` so that we can get more user reports, which will
allow us to fix the root cause.

Also make sure the warning includes a stack trace.

Additionally, let ReportSeverity.fromCode() return a non-null value
or throw an exception otherwise as that case is not expected.

^KT-52839 In Progress
2022-07-15 10:48:34 +00:00
Alexander Likhachev a9e5074330 [Gradle, JS] Update IC test project with multiple artifacts 2022-07-14 13:21:07 +00:00
Alexander Likhachev e3f6ba4502 [Gradle, JS] Handle empty directories in task outputs backups
#KT-52925 Fixed
2022-07-14 13:21:07 +00:00
Alexander Likhachev 10146a7028 [Gradle, JS] Make the KT-51801 test to cover KT-52925 2022-07-14 13:21:06 +00:00
konstantin.tskhovrebov 7d6cf449b1 [KT-53174] Add platform version to synthetic generated Podfile. 2022-07-14 12:20:39 +00:00
konstantin.tskhovrebov f509a756fd [KT-53127] Fix paths to local unarchived pod and for git pod. 2022-07-14 07:37:09 +00:00
konstantin.tskhovrebov 6d594d1a08 [KT-53127] Add pod dependency version for synthetic generated project. 2022-07-14 07:37:08 +00:00
Alexander Likhachev 07c9cfd486 [Gradle, JS] Make simple K/JS IC test to cover IR backend as well 2022-07-13 19:40:49 +00:00
Alexander Likhachev d2450268f6 [Gradle, JS] Migrate simple K/JS IC test to the new plugin (#KT-52946) 2022-07-13 19:40:49 +00:00
Alexander Likhachev 1e76404163 [Gradle, JS] Fix multimodule IC for K/JS plugin
#KT-52946 Fixed
2022-07-13 19:40:48 +00:00
Yahor Berdnikau f1f4ae7359 Set Gradle 7.2 as max target version for integration tests
^KT-52663 Fixed
2022-07-13 14:33:10 +00:00
Yahor Berdnikau 6a8da8f9eb Fix Kotlin common or js compilation could spawn second Kotlin daemon
Kotlin's daemons spawned by js/common compilation where incompatible
on JDK 1.8, because of 'tools.jar' presence mismatch. Now KGP always
passes tools.jar location to Kotlin daemon.

^KT-52622 Fixed
2022-07-13 08:12:59 +00:00
Yahor Berdnikau c55a6c1453 Ensure all required plugins are installed for benchmarks 2022-07-12 22:46:48 +02:00
Yahor Berdnikau 6064945e79 Fix build regression benchmarks after update 2022-07-12 15:16:13 +02:00
Yahor Berdnikau 1c4db63b47 Update Duckduckgo build regression benchmark
Compare current vs 1.7.10 release
2022-07-12 12:11:01 +02:00
Yahor Berdnikau b330173edf Update KVision build regression benchmark
Compare current vs 1.7.10 release
2022-07-12 12:11:01 +02:00
Yahor Berdnikau 453154780b Update Graphql-kotlin build regression benchmark
Compare current vs 1.7.10 release
2022-07-12 12:11:01 +02:00
Andrey Uskov 5013988dbb Fixed flakiness of BuildStatisticsWithKtorIT 2022-07-12 05:53:11 +00:00
Martynas Petuška 3e6253cede KT-45789 Transitive npm dependencies 2022-07-11 16:05:28 +00:00
Igor Yakovlev a0a66ffb96 [WASM] Refactoring wasm array copy functions 2022-07-08 16:29:45 +00:00
Sebastian Aigner 39844af876 Initial support for enforcedPlatform in Gradle MPP config 2022-07-08 14:35:06 +00:00
Igor Yakovlev dab1ec7aff [WASM] Download v8 with D8 gradle plugin and make version property in versions.properties 2022-07-07 16:50:40 +02:00
Igor Yakovlev 0ea7e8b70a [WASM] Add array copy intrinsic 2022-07-06 19:07:56 +00:00
Igor Yakovlev 8306b1bd71 [WASM] Remove deprecated wasm instructions 2022-07-06 19:07:56 +00:00
nataliya.valtman 3b84284743 Add tests for statistic report after build finish 2022-07-06 14:35:19 +00:00
nataliya.valtman 2520ef9232 Add build uuid into build scan 2022-07-06 14:35:18 +00:00
nataliya.valtman 4b0ac511b2 Add configuration_cache tag into statistic 2022-07-06 14:35:17 +00:00
Stanislav Erokhin d788a927c4 Change deprecations annotation order on Ranges#endExclusive property
We have [Int|Long|Char]Range classes in 2 different places:
- as separate class-files
- serialized in the kotlin_builtins file

For some reason our Kotlin compiler during the JVM compilation
re-arranging the order of the annotations, so in class file they
will be written in the following order:
- Deprecated
- SinceKotlin
- ExperimentalStdlibApi

But in the kotlin_builtins they will be stored the same way as
in the sources.
We need these 2 way to be synchronized, because stub's in IDE
cares about order.

After this commit IDE test BuiltInDecompilerConsistencyTest is fixed
2022-07-05 19:50:45 +00:00
Yahor Berdnikau 5eebcd92bd Fix using deprecated IsolationMode enum
^KT-46019 Fixed
2022-07-04 15:24:52 +00:00
Yahor Berdnikau 913660ce2b Use destinationDirectory instead of destinationDir in KotlinJvmTarget
^KT-46019 In Progress
2022-07-04 15:24:51 +00:00
Yahor Berdnikau c414b1ba93 Remove deprecated ConfigureUtil usages in KotlinTarget.mavenPublication
^KT-46019 In Progress
2022-07-04 15:24:50 +00:00
Yahor Berdnikau 99c19dc046 Remove deprecated ConfigureUtil usages in KotlinTargetWithBinaries
^KT-46019 In Progress
2022-07-04 15:24:50 +00:00
Yahor Berdnikau 762ed90a80 Remove deprecated ConfigureUtil usages in CocoapodsExtension
^KT-46019 In Progress
2022-07-04 15:24:49 +00:00
Yahor Berdnikau 06c5884d4d Remove deprecated ConfigureUtil usages in CinteropSettings
^KT-46019 In Progress
2022-07-04 15:24:48 +00:00
Yahor Berdnikau 59025ad742 Remove deprecated ConfigureUtil usages in KotlinJsTest
^KT-46019 In Progress
2022-07-04 15:24:48 +00:00
Yahor Berdnikau 37fd47eee3 Remove deprecated ConfigureUtil usages in Kotlin target containers
^KT-46019 In Progress
2022-07-04 15:24:47 +00:00
Yahor Berdnikau f0cfe60734 Remove deprecated ConfigureUtil usages in HasKotlinDependencies
^KT-46019 In Progress
2022-07-04 15:24:46 +00:00
Yahor Berdnikau 4b0ba493b7 Remove deprecated ConfigureUtil usages in KotlinAggregatingExecution
^KT-46019 In Progress
2022-07-04 15:24:46 +00:00
Yahor Berdnikau ddeb8b0a1f Remove deprecated ConfigureUtil usages in JS configuration DSL
^KT-46019 In Progress
2022-07-04 15:24:45 +00:00
Yahor Berdnikau ae3451e2c8 Remove deprecated ConfigureUtil usages in KotlinNativeBinaryContainer
^KT-46019 In Progress
2022-07-04 15:24:44 +00:00
Yahor Berdnikau e765d65b50 Remove deprecated ConfigureUtil usages in Kotlin presets DSL
^KT-46019 In Progress
2022-07-04 15:24:44 +00:00
Yahor Berdnikau 46d7d73e6f Remove deprecated ConfigureUtil usages in KotlinProjectExtension
^KT-46019 In Progress
2022-07-04 15:24:43 +00:00
Yahor Berdnikau ac14a1e016 Remove deprecated WrapUtil usages
^KT-46019 In Progress
2022-07-04 15:24:42 +00:00
Yahor Berdnikau 23e16dfc5d Fix test project is using deprecated JavaExec.main property
^KT-46019 In Progress
2022-07-04 15:24:42 +00:00
Yahor Berdnikau e902ae7c09 Fix usage of deprecated Report.setEnabled() method
^KT-46019 In Progress
2022-07-04 15:24:41 +00:00
Yahor Berdnikau 851f55e9ec Set Gradle 7.1.1 as max target version for integration tests
^KT-46019 In Progress
2022-07-04 15:24:40 +00:00
nataliya.valtman 398228679a Report build metrics in the end of build 2022-07-04 15:11:34 +00:00
Ilya Gorbunov 3a029b8e80 Fix ValueTimeMark adjustment in rare cases and properly test it 2022-07-01 15:20:22 +00:00
Nikolay Krasko 48a2ef040e Fix publication for kotlin-gradle-plugin-idea-proto
Javadoc and sources were missing.
2022-07-01 13:40:24 +00:00
Ilya Gorbunov 0546b0902c Fix line endings ruined after applying line filter
Line filtering causes output file have platform-specific line endings.
Apply another filter to fix them to LFs.
2022-07-01 13:16:11 +00:00