Commit Graph

14694 Commits

Author SHA1 Message Date
Brian Norman 926ae2abb8 [PowerAssert] Add Gradle build tools integration tests for Power-Assert
The integration test project was copied from the sample project in
github.com/bnorm/kotlin-power-assert. Original license information has
been preserved even though commit history has not been.

^KT-65951 Fixed
2024-03-07 16:31:18 +00:00
Igor Yakovlev 60d425e2c7 [Wasm] Make specialisations for closured primitive values
Fixed KT-66065
2024-03-07 14:51:02 +00:00
Ilya Chernikov b318566ecf Scripting: temporarely disable compiler plugin test
related to #KT-66395
2024-03-07 13:13:30 +00:00
Ilya Goncharov 6fb6f04509 [Gradle, Wasm] Not add target listeners for wasi projects
^KT-66373 fixed
2024-03-06 18:23:41 +00:00
Artem Kobzar 77f0cba23f [K/JS] Introduce v2015 target 2024-03-06 12:21:38 +00:00
Igor Yakovlev c0f387dbd1 [Wasm] Implement IrLinkageError end enable partial linker
KT-58088
2024-03-05 17:17:32 +00:00
Vyacheslav Gerasimov 2e787c50be Build: Create GroupedByGradleVersion Gradle IT test tasks only on CI
All those tasks are displayed in the gutter when running a test making
it very long.
2024-03-05 17:12:31 +00:00
Vyacheslav Gerasimov 679e6f0504 Build: Use junit auto detection for DisabledIfNoArgumentsProvided
#KTI-1596
2024-03-05 17:12:31 +00:00
Vyacheslav Gerasimov 424a5055e2 Build: Group KGP Integration Tests by Gradle version
#KTI-1596

To avoid Gradle daemons pile up during test execution, run each Gradle
version in a separate task. Gradle daemon used for testing will be
terminated at the end of each execution preventing memory exhausting
in a low-memory environment (e.g., build agents).
2024-03-05 17:12:31 +00:00
Nataliya.Valtman c2023142f5 Add validation for empty kotlin.build.report.json.directory property
#KT-66314: Fixed
2024-03-05 15:05:56 +00:00
Timofey Solonin 2a445a04b0 Specify androidTarget's source sets graph in tests
^KT-65540
2024-03-05 13:38:00 +00:00
Timofey Solonin a8266eb20e Simplify set up of the resources variant in js and native targets
^KT-65540
2024-03-05 13:38:00 +00:00
Timofey Solonin 1895e480c5 Mark resources APIs in ExternalKotlinTarget with ComposeKotlinGradlePluginApi
^KT-65540
2024-03-05 13:38:00 +00:00
Timofey Solonin 9f6fb715dd Improve the creation of resolvable resources configuration
* Remove type casting for KotlinJsIrTarget
* Only create a resolvable configuration when the appropriate strategy
  is used

^KT-65540
2024-03-05 13:38:00 +00:00
Alexander.Likhachev 9d88e90821 [BTA, Gradle] Share cached classloaders between builds
^KT-64353 Fixed
2024-03-05 10:51:10 +00:00
Ilya Goncharov 0ce7bdc837 [Gradle, Wasm] Fix compileSync input for production binary
^KT-66228 fixed
^KT-66159 fixed
2024-03-05 10:27:43 +00:00
cristiangarcia 306c7f4b03 Dokka is not compatible with ConfigurationCache (kotlin-stdlib-docs)
Required for KTI-1553
2024-03-04 11:40:28 +00:00
Ilya Gorbunov f44ab4676f [docs] Update Gradle version and wrapper in legacy docs build 2024-03-04 11:40:28 +00:00
Ilya Gorbunov caee1a9b2b [docs] Use env variable to detect teamcity build mode
Checking property 'teamcity.version' no longer works with the way
TC passes parameters when configuration cache is enabled.
2024-03-04 11:40:28 +00:00
Ilya Gorbunov 7cc2384485 Remove kotlin-stdlib-common exclusion
It's no longer a transitive dependency of kotlin-stdlib
2024-03-04 11:40:06 +00:00
Ilya Gorbunov 16e61f978c [stdlib-mpp] remove some kotlin-stdlib-common artifact deps 2024-03-04 11:40:06 +00:00
Dmitriy Novozhilov 80020a469e [Build] Exclude :kotlin-power-assert from JPS build 2024-03-01 12:18:11 +00:00
Dmitrii Krasnov 808d4353e5 [Gradle] Fixed race condition during k/n bundle downloading
Extended lock bounds.
Moved removing an old bundle back to configuration phase.

^KT-65985 Fixed
2024-03-01 10:34:26 +00:00
Timofey Solonin 610b9eae91 Generate test project with proper path on Windows
^KT-65540
2024-03-01 09:13:34 +00:00
Andrey Yastrebov 45d544c139 KT-66236 Dowgrade iOS deployment target for SwiftExportXCIT 2024-02-29 17:06:11 +00:00
Andrey Yastrebov 42f6eb4eb4 KT-66156 add KotlinRuntime to Swift Export Synthetic 2024-02-29 08:11:29 +00:00
Yahor Berdnikau 3511733aa7 [Gradle] Deprecate kotlinOptions in KotlinNativeLinkArtifactTask task
^KT-63419 Verification Pending
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 48a84e5b79 [Gradle] Deprecate kotlinOptions in KotlinNativeLinkArtifactTask task
^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 6719a437f7 [Gradle] Deprecate kotlinOptions in KotlinNativeLink task
^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 6e874340e9 [Gradle] Deprecate Kotlin*Options types
^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 4921a29aa5 [Gradle] Deprecate dceOptions in KotlinJsDce task
^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 24acf800d6 [Gradle] Deprecate KotlinCompile DSL
^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 2f70478e67 [Gradle] Deprecate kotlinOptions DSL in KotlinCompile DSL
^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 433bec3700 [Gradle] Deprecate kotlinOptions DSL in KotlinCompilation
^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 2e3a209d0d [Gradle] Fix usages of kotlinOptions in BuildKotlinToolingMetadataTask
Replaced them with compiler options DSL.

^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 66a39952ee [Gradle] Fix usages of kotlinOptions in KotlinJsIrTarget
Replaced them with compiler options DSL.

^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Yahor Berdnikau 0986733f29 [Gradle] Remove unused method
^KT-63419 In Progress
2024-02-28 21:20:18 +00:00
Timofey Solonin 1435fcc50f Add an IT for consumption of multiplatform resources
^KT-65540
2024-02-28 20:19:08 +00:00
Timofey Solonin 2fda16f526 Add APIs to resolve multiplatform resources in variant publications
^KT-65540
2024-02-28 20:19:08 +00:00
Igor Yakovlev a5ef668e3c [Wasm] Boolean boxed instances are the same
Fixed #KT-65411
2024-02-28 15:23:21 +00:00
Timofey Solonin a171f774be Validate that resources from new source sets are published 2024-02-28 15:22:58 +00:00
Timofey Solonin 01ff4a597a Validate consuming a project with multiplatform resources
^KT-65540
2024-02-28 15:22:58 +00:00
Timofey Solonin 0f20e39475 Add an IT for publication of multiplatform resources in wasm target
^KT-65540
2024-02-28 15:22:58 +00:00
Timofey Solonin e35e2eaa48 Add an IT for publication of multiplatform resources in a native target
^KT-65540
2024-02-28 15:22:58 +00:00
Timofey Solonin b145796e14 Publish multiplatform resources as variants for wasm, js and native targets
^KT-65540
2024-02-28 15:22:58 +00:00
Timofey Solonin bba39dd4fe Add an IT for publication of multiplatform resources in Android target
^KT-65540
2024-02-28 10:37:16 +00:00
Timofey Solonin a2989a3711 Publish multiplatform resources and assets for Android target
^KT-65540
2024-02-28 10:37:16 +00:00
Timofey Solonin 43a4fd5ddf Add an API for KotlinAndroidTarget to publish assets
^KT-65540
2024-02-28 10:37:16 +00:00
Alexander Udalov 7f90111283 Build: remove obsolete -Xbuiltins-from-sources from stdlib build
It was removed in 77dba281a3.
2024-02-28 07:25:47 +00:00
nataliya.valtman 485840731d Remove old build report properties
kotlin.build.report.dir and kotlin.internal.single.build.metrics.file
were deleted

#KT-64380
2024-02-27 21:46:53 +00:00