sebastian.sellmair
9336e4b09b
HierarchicalKotlinNativePlatformDependencies: Provide platform dependencies to source sets not participating in any commonization
...
^KT-46142 Verification Pending
2021-04-17 14:58:15 +00:00
Abduqodiri Qurbonzoda
3a8d1c4b5e
Remove redundant @OptIn
2021-04-16 19:01:28 +03:00
Abduqodiri Qurbonzoda
f253b1fb15
Incorrect description for JVM toUpperCase method #KT-45884
2021-04-16 19:01:09 +03:00
Alexander Likhachev
6f96c225d7
[Gradle, K/N] Prefer injection over lateinit vars for task configuration
...
#KT-45801 Fixed
2021-04-16 17:39:53 +03:00
Anton Lakotka
80f95528c2
[MPP] Always use native plugin artifact for native compilations
...
#KT-46122 Fixed
2021-04-16 16:25:06 +03:00
Anton Lakotka
d75d42da9d
[MPP] Test that native common compilation uses native plugin artifacts
...
#KT-46122 In Progress
2021-04-16 16:25:04 +03:00
Ilya Gorbunov
ce7092a638
More efficient Char(Int) in common, JS, and JS-IR
2021-04-16 03:58:34 +03:00
Alexander Udalov
168d8b07a8
Minor, fix warnings on new stdlib API
...
In modules where allWarningsAsErrors is not yet enabled.
2021-04-15 18:39:06 +02:00
Yahor Berdnikau
00df2c4a9e
Fix failing non-JUnit5 tests.
...
They have failed due to migration to new plugin api in test projects.
^KT-45744 Fixed
2021-04-13 16:48:20 +03:00
Yahor Berdnikau
9ef5817f8b
Update SimpleKotlinGradleIT.kt tests to use new DSL.
...
^KT-45744 In Progress
2021-04-13 16:48:19 +03:00
Yahor Berdnikau
aabb05104e
Extract common versions to the separate file.
...
^KT-45744 In Progress
2021-04-13 16:48:18 +03:00
Yahor Berdnikau
8db67ec24b
Add file system watching option to build options.
...
Default build option value - disabled.
In Gradle 7 it is enabled by default, and I suspect it causes flaky
build failure when 'TempDir' tries to delete test project.
^KT-45744 In Progress
2021-04-13 16:48:17 +03:00
Yahor Berdnikau
81621a79a6
Add flag to enable Gradle process debugging.
...
^KT-45744 In Progress
2021-04-13 16:48:16 +03:00
Yahor Berdnikau
9ae47004d0
Append by default heap dump options.
...
^KT-45744 In Progress
2021-04-13 16:48:15 +03:00
Yahor Berdnikau
ffa11eacca
Add task to run only JUnit 5 KGP tests.
...
^KT-45744 In Progress
2021-04-13 16:48:14 +03:00
Yahor Berdnikau
34f1c58f1e
Add Gradle task to clean test kit cache dir.
...
Always run it on CI when tests will finish.
^KT-45744 In Progress
2021-04-13 16:48:13 +03:00
Yahor Berdnikau
644882df61
Set default max Gradle version to '7.0'.
...
^KT-45744 In Progress
2021-04-13 16:48:11 +03:00
Yahor Berdnikau
93230d72f5
Add build option to control Gradle parallelism.
...
Limit workers count, so when running tests parallel, they will not
compete over CPU usage.
^KT-45744 In Progress
2021-04-13 16:48:10 +03:00
Yahor Berdnikau
3c78c94fb1
Add configuration cache support to the default build options.
...
^KT-45744 In Progress
2021-04-13 16:48:08 +03:00
Yahor Berdnikau
8b393910d3
Add support for tests mute-in database in JUnit 5.
...
^KT-45744 In Progress
2021-04-13 16:48:07 +03:00
Yahor Berdnikau
7ffdafe791
Enable forwarding successful Gradle test output on demand.
...
^KT-45744 In Progress
2021-04-13 16:48:05 +03:00
Yahor Berdnikau
5b218bdad2
Set tests lifecycle to be 'PER_CLASS'.
...
Usually Gradle tests should be pretty isolated between each other to use
'PER_METHOD' lifecycle.
^KT-45744 In Progress
2021-04-13 16:48:03 +03:00
Yahor Berdnikau
40c525c4a6
Add '.testKitDir/' to '.gitignore' file.
...
^KT-45744 In Progress
2021-04-13 16:48:02 +03:00
Yahor Berdnikau
35a020340c
Don't share temp directory between tests.
...
Apparently this causes problems on Windows CI runners.
^KT-45744 In Progress
2021-04-13 16:48:00 +03:00
Yahor Berdnikau
0ca4254cba
Setup running tests against different Gradle versions.
...
^KT-45744 In Progress
2021-04-13 16:47:59 +03:00
Yahor Berdnikau
3dcac00aec
Add basic file content transformations.
...
^KT-45744 In Progress
2021-04-13 16:47:57 +03:00
Yahor Berdnikau
f5dfe7ce95
Automatically add 'pluginManagement' block to settings.gradle file.
...
Only in the case when it does not exist.
^KT-45744 In Progress
2021-04-13 16:47:56 +03:00
Yahor Berdnikau
9e2cdc7337
Add file or directory exists/does not exist assertions.
...
^KT-45744 In Progress
2021-04-13 16:47:55 +03:00
Yahor Berdnikau
710287920b
Add initial setup to build common options.
...
^KT-45744 In Progress
2021-04-13 16:47:54 +03:00
Yahor Berdnikau
7549d14a36
Add Gradle output assertions.
...
^KT-45744 In Progress
2021-04-13 16:47:53 +03:00
Yahor Berdnikau
b7864c1e43
Add tasks assertions.
...
^KT-45744 In Progress
2021-04-13 16:47:51 +03:00
Yahor Berdnikau
e13f21e461
Add basic DSL based on Gradle TestKit for KGP integration tests.
...
^KT-45744 In Progress
2021-04-13 16:47:50 +03:00
Yahor Berdnikau
c6aa5d1495
Fix plugin is using deprecated method that is removed in AGP 7.0.
...
^KT-45950 Fixed
2021-04-12 18:20:42 +03:00
Yahor Berdnikau
9100be4566
Set Android Gradle Plugin dependency version to 3.4.0.
...
This is required to get method deprecations and new proposed methods.
2021-04-12 18:20:41 +03:00
Abduqodiri Qurbonzoda
39731fd493
Merge Stdlib generators
2021-04-12 16:51:24 +03:00
Yahor Berdnikau
2d9a3f364c
Update advance Gradle version to 7.0 for KGP tests.
...
^KT-44949 Fixed
2021-04-12 15:02:02 +03:00
Alexander Likhachev
9e78e43c49
[Gradle] Always declare system property reads for compile tasks
...
When Kotlin plugin is applied in buildSrc or included build that defines Gradle plugins it can cause Gradle to report undeclared system property reads at configuration time. Declaring all system properties reads through Gradle providers to cover all these cases.
#KT-45910 Fixed
2021-04-12 03:15:10 +03:00
Abduqodiri Qurbonzoda
98d31a1813
Expand KDoc of inc() and dec() operators #KT-43701
2021-04-10 03:23:04 +03:00
sebastian.sellmair
02c1d7fad3
[Gradle] HierarchicalNativeDistributionCommonizerTask: Ensure that native distribution commonization tasks can't run in parallel
2021-04-09 23:36:01 +02:00
sebastian.sellmair
c4562fd1db
[Gradle] GetCommonizerTargetOfSourceSet: Gracefully handle common non-hmpp workaround
2021-04-09 23:36:01 +02:00
sebastian.sellmair
2aeb08e245
[Gradle] Implement internal intransitiveMetadataConfiguration
...
- Implemented additional intransitiveMetadataConfiguration to support
dependencies that shall not be added transitively to dependsOn edges
2021-04-09 23:36:00 +02:00
sebastian.sellmair
4e40bd6371
[Minor] Make CInteropProcess cacheable
2021-04-09 23:36:00 +02:00
sebastian.sellmair
ce0fdbd2df
[Minor] Make CInteropCommonizerTask cacheable
2021-04-09 23:36:00 +02:00
sebastian.sellmair
9ac7b61094
[Gradle] HierarchicalNativeDistributionCommonizerTask: Implement project global caching
...
- Implement NativeDistributionCommonizationCache which will act similar
to the 'SuccessMarker' used in the non hierarchical commonization task.
- Implement 'kotlin.mpp.enableNativeDistributionCommonizationCache'
Gradle property to disable project global caching. The cache is
turned on by default.
2021-04-09 23:36:00 +02:00
sebastian.sellmair
2bb0dbaf38
[Gradle] Implement CommonizerHierarchicalIT integration test
2021-04-09 23:36:00 +02:00
sebastian.sellmair
d9eb130f82
[Gradle] Enable hierarchical commonization by default
2021-04-09 23:35:59 +02:00
sebastian.sellmair
933c52d470
[Commonizer] Gracefully handle absent targets for hierarchical commonization
2021-04-09 23:35:59 +02:00
sebastian.sellmair
947dc71bda
[Gradle] Leave native source sets: Add expect parts explictely
2021-04-09 23:35:59 +02:00
sebastian.sellmair
10692b5b7c
[Minor] Add commonizer classpath to HierarchicalNativeDistributionCommonizerTask
2021-04-09 23:35:58 +02:00
sebastian.sellmair
8c941fc203
[Gradle] Implement support for hierarchical commonization
2021-04-09 23:35:57 +02:00