sebastian.sellmair
5fb30b05ff
Implement CommonizerIT.test KT-46234 intermediate source set with only one native target to cover KT-46234
...
^KT-46234
2021-04-21 20:05:06 +00:00
Yahor Berdnikau
4f352950d9
Include Dukat generated sources into generic 'sourcesJar' output.
...
Gradle 7 complains that "sourcesJar" task uses inputs from Dukat
generate task outputs directory, but this tasks does not have explicit
dependency.
^KT-46006 Fixed
2021-04-21 16:48:16 +03:00
Ilya Gorbunov
4ae5efd6da
Prevent calling AssertContentEquals with two Set arguments
...
It's unclear whether these sets are intended to be compared with
the unordered Set equality, or with the ordered Iterable equality.
KT-32996
2021-04-21 03:08:35 +03:00
Ivan Gavrilovic
2666a93e6a
[Gradle] Avoid using dependsOn and add output provider to the file collection
2021-04-20 22:13:25 +03:00
Yahor Berdnikau
9e9450caa2
Fix adding associated compilation for Kotlin Native.
...
Kotlin native does not support 'compileOnly' or 'runtimeOnly'
configurations. In this case associated compilations are added as
'implementation'.
^KT-45911 Fixed
2021-04-20 10:15:15 +02:00
Abduqodiri Qurbonzoda
57c4f79c1c
Update Char.digitToInt documentation
2021-04-20 04:36:05 +03:00
Abduqodiri Qurbonzoda
bb2a50a4eb
Fix Char.isISOControl doc
2021-04-19 19:14:17 +03:00
Abduqodiri Qurbonzoda
d1f18c4651
Add @see doc references to java isUpperCase and isLowerCase
2021-04-19 19:14:14 +03:00
Abduqodiri Qurbonzoda
22dcc92951
Fix Char.isTitleCase doc
2021-04-19 19:14:13 +03:00
Abduqodiri Qurbonzoda
36aee8f2b4
Fix String.replace doc
2021-04-19 19:14:10 +03:00
Abduqodiri Qurbonzoda
dab09e7052
Fix CharSequence.repeat doc
2021-04-19 19:14:08 +03:00
Ilya Goncharov
c73dadbcdf
[Gradle, JS] Install dukat only if there is dependency with generateExternals
...
^KT-46178 fixed
2021-04-19 17:29:51 +03:00
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