Commit Graph

11399 Commits

Author SHA1 Message Date
Sergey Bogolepov c6bbce986d [K/N] Fix KT-54498
Forward users to kotlinlang.org instead of new_mm.md because the latter
is obsolete now.
2022-10-17 14:36:59 +00:00
Ilya Goncharov 4c6b433496 [Gradle] Dry run with wasm flags only for wasm targets
^KT-54421 fixed
2022-10-17 13:03:41 +00:00
nataliya.valtman 57f1405d95 Don't report compilation exceptions into error.log 2022-10-14 15:41:49 +00:00
nataliya.valtman 2379185398 Log daemon exception for In process compilation into error.log 2022-10-14 15:41:48 +00:00
konstantin.tskhovrebov 0127c3a6c4 [KT-54442] Fix default test device Apple OS family parser. 2022-10-14 13:11:15 +00:00
konstantin.tskhovrebov 7f40a9394b [KT-54090] Filter Apple devices by availability 2022-10-14 13:11:15 +00:00
Alexander Likhachev 95c4d6d027 Revert "Remove usage of deprecated Gradle field, replace with equivalent"
This reverts commit 6a491dfd0f.
2022-10-14 12:25:36 +02:00
Sergej Jaskiewicz c1f14d80fd [JS IR] Add Gradle integration tests for names in sourcemaps 2022-10-14 10:09:40 +00:00
Sergej Jaskiewicz 227864c6ec [JS IR] Add a compiler option for generating name entries in sourcemaps 2022-10-14 10:09:39 +00:00
Thomas Tresansky 6a491dfd0f Remove usage of deprecated Gradle field, replace with equivalent 2022-10-13 22:36:17 +02:00
Ilya Goncharov c5732b6f4d [Gradle, JS] Make targetPbserver public in kotlinJsExtension 2022-10-13 17:53:40 +00:00
Anton Lakotka 4348878aab !fixup test typo 2022-10-13 14:56:51 +00:00
Anton Lakotka 728bd95aea [Gradle] Update tests after changes in sources publication
^KT-48839
2022-10-13 14:56:51 +00:00
Anton Lakotka 5e929bbd7b [Gradle] Don't publish test source sets in common module
Publish only shared source sets, including host-specific ones.

^KT-48839 Verification Pending
2022-10-13 14:56:51 +00:00
Anton Lakotka 5f26649246 [Gradle] Introduce getHostSpecificMainSharedSourceSets
^KT-48839
2022-10-13 14:56:50 +00:00
Anton Lakotka 42cda2633d [Gradle] Add/update tests about Sources Publication in MPP
^KT-48839
2022-10-13 14:56:50 +00:00
Yahor Berdnikau 023b9bf284 Align new compiler options names with api naming
Use Kotlin*CompilerOptions or Kotlin*CompilerToolOptions naming approach.

^KT-54306 Fixed
2022-10-13 12:19:08 +00:00
Artem Kobzar de880ce9aa [K/JS] Move ES modules logic to a new transformer with IC 2022-10-13 07:32:44 +00:00
Ilya Goncharov 866dee083e [Gradle, JS] Compilation after rebase 2022-10-12 17:59:10 +00:00
Ilya Goncharov 6d7b7724bd [Gradle, JS] Fix filtered arguments for relocated build cache 2022-10-12 17:59:09 +00:00
Ilya Goncharov 715ba5c59f [Gradle, JS] Fix tests 2022-10-12 17:59:09 +00:00
Ilya Goncharov 462c53d566 [JS, IR] Fix creating targets in both mode 2022-10-12 17:59:09 +00:00
Ilya Goncharov 93be8317fa [JS, IR] Fix wasm tests and presets 2022-10-12 17:59:08 +00:00
Ilya Goncharov a3be2c893b [JS, IR] Make IR default for both mode 2022-10-12 17:59:08 +00:00
Yahor Berdnikau ff271a7908 Set maximum supported AGP version in tests to 7.2.1
^KT-53013 Fixed
2022-10-12 15:27:46 +00:00
Yahor Berdnikau faf3638c58 Bump minimal supported AGP to 4.1.3
^KT-53013 In Progress
2022-10-12 15:27:45 +00:00
Ilya Goncharov b01411544a [Gradle, JS] Improvements of kotlin test adapters
- divide adapter.js into different files, which frameworks could load separately
- possibility to inject something to kotlin-test adapter by user

^KT-54418 fixed
2022-10-12 14:14:50 +00:00
Nikolay Krasko 6afceb1e84 Remove more usages for embedded with isTransitive = true
It's a refactoring because the list of dependencies shouldn't change

Follow up for KTI-942
2022-10-12 13:44:30 +00:00
Nikolay Krasko 0e44ad6c60 Minor: explicitly use ext.repoUrl 2022-10-12 08:20:25 +00:00
Daniel Santiago 189be2b117 [KAPT] Setup KaptJavaLog writers during initialization.
Migrate KaptJavaLog to not used deprecated constructor in newer JDKs and instead set up the writers during initialization. This enables us to get rid of KaptJavaLog17.

Fixes KT-54030
2022-10-11 23:48:18 +02:00
sebastian.sellmair fd9f542895 [Gradle][MPP] Remove Kotlin Multiplatform stability warning
^KT-54387 Verification Pending
2022-10-11 12:10:44 +00:00
Anton Lakotka 71fe1dae22 [Gradle] Support Configuration Cache for XCFramework task
^KT-54362
^KT-54339 Verification Pending
2022-10-11 11:20:59 +00:00
Anton Lakotka 13dcb9388c [Gradle] Support Configuration Cache for FatFramework task
^KT-54362
^KT-54339 Verification Pending
2022-10-11 11:20:59 +00:00
Anton Lakotka a7f33819fa [Gradle] Add workaround for Configuration Cache deserialization
Gradle Configuration Cache deserializer doesn't support Kotlin's
Objects of a Sealed Class. It creates new instance upon deserialization
and thus breaking equals contract in kotlin when's constructions.

See more info: https://github.com/gradle/gradle/issues/22347

^KT-54362
^KT-54339 Verification Pending
2022-10-11 11:20:58 +00:00
Anton Lakotka 4cda8f35bc [Gradle] Support Configuration Cache for Link task
^KT-54339 Verification Pending
2022-10-11 11:20:58 +00:00
Anton Lakotka 50b892f2f1 [Gradle] Update Configuration Cache test for Native tasks
Exclude Metadata Processing tasks that are not compatible yet

^KT-54339 Verification Pending
2022-10-11 11:20:58 +00:00
nataliya.valtman 512f7b3231 Add property validation for single file report
#KT-54335 Fixed
#KT-54356 Fixed
2022-10-11 09:57:12 +00:00
konstantin.tskhovrebov 5e96bf0795 [KT-54314] Cocoapods: disable signing for all pod dependencies in synthetic project 2022-10-11 09:19:39 +00:00
Abduqodiri Qurbonzoda 71381ec8e2 [K/N] HashMap/HashSet doesn't reclaim storage after removing elements #KT-53310 2022-10-07 11:19:31 +00:00
Dmitriy Novozhilov e290fa5f7b Add workaround for KT-54318 2022-10-07 10:38:52 +00:00
Ilya Goncharov 03bea0dbaa [Gradle, JS] Disable test when difference between ABI 2022-10-07 08:46:50 +00:00
Sebastian Sellmair 127c5120dd Only fail parsing KotlinToolingVersion if parsing major or minor fails
^KT-54301 Verification Pending
2022-10-06 07:54:41 +00:00
Dmitriy Novozhilov 9b63dde1c3 Add error-level OptIn on safeAs, cast and assertedCast functions in addToStdlib
Usage of this function is unsafe because it does not have native compiler
  support. This means that compiler won't report UNCHECKED_CAST,
  CAST_NEVER_SUCCEED or similar diagnostics in case of error cast
  (which can happen immediately or after some refactoring of class hierarchy)
2022-10-06 06:57:07 +00:00
Anton Lakotka e57f9384b9 [Gradle] Use KonanTarget's name instead of calling toString()
^KT-53107
2022-10-05 19:32:04 +00:00
Anton Lakotka eb5a2f65bd [Gradle] Fix tests after adding watchosDeviceArm64 target
^KT-53107
2022-10-05 19:32:04 +00:00
Anton Lakotka fd5c061c0b [Gradle] Use more granular arm64 clang macro's for fat frameworks
After introducing watchOsDeviceArm64 target it conflicted with existing
watchOsArm64 target. Because both having the same Konan Architecture as
Arm64. This is not entirely correct and actual
architectures are different. So it requires more precise macros for
fat framework.

* __ARM64_ARCH_8_32__ for `watchOsArm64` which is based on `arm64_32`
* __ARM64_ARCH_8__ for other arm64 devices including `watchOsDeviceArm64`

^KT-53107
2022-10-05 19:32:03 +00:00
Anton Lakotka 1b7f673e94 [Gradle] Register watchosDeviceArm64 in apple-specific tasks
^KT-53107
2022-10-05 19:32:03 +00:00
Anton Lakotka efa331feed [Gradle] Add arm64 architecture of watchos to AppleSdk object
^KT-53107
2022-10-05 19:32:02 +00:00
Anton Lakotka 640ba1ecfa [Gradle] Add watchosDeviceArm64 to nativeTargetsWithSimulatorTests
^KT-53107
2022-10-05 19:32:02 +00:00
Anton Lakotka 02c9cf74b4 [Gradle] Add watchosDeviceArm64 to KotlinArtifactsExtension
Generate via `generateAbstractKotlinArtifactsExtensionImplementation`

^KT-53107
2022-10-05 19:32:02 +00:00