Svyatoslav Scherbina
26a970bd1e
[Gradle] Unmute BuildCacheRelocationIT.testRelocationNative on Windows
...
The actual problem was fixed in 4c45f71e
^KT-48283
2022-01-25 09:44:53 +00:00
Yahor Berdnikau
e05f189082
Convert KotlinProjectIT to new test dsl
...
^KT-45745 In Progress
2022-01-24 23:27:28 +01:00
Yahor Berdnikau
1ac579b9b6
Convert SamWithReceiverModelIT to new test dsl
...
^KT-45745 In Progress
2022-01-24 23:27:28 +01:00
Yahor Berdnikau
8486972845
Convert NoArgModelIT to new test dsl
...
^KT-45745 In Progress
2022-01-24 23:27:28 +01:00
Yahor Berdnikau
eba9f697c0
Convert KotlinAndroidExtensionIT to new test dsl
...
^KT-45745 In Progress
2022-01-24 23:27:28 +01:00
Yahor Berdnikau
b07ba5f712
Convert KaptModelIT to new test dsl
...
^KT-45745 In Progress
2022-01-24 23:27:27 +01:00
Yahor Berdnikau
052b5c347e
Convert AllOpenModelIT to new test dsl
...
^KT-45745 In Progress
2022-01-24 23:27:27 +01:00
Yahor Berdnikau
e632189651
Add method to fetch from the project available models
...
^KT-45745 In Progress
2022-01-24 23:27:24 +01:00
Ilya Goncharov
d52fa8dd9b
[Gradle, JS] Add test on JS IR IC case with multiple artifacts
2022-01-24 14:46:50 +00:00
Yahor Berdnikau
35ef8cc6da
Show user-friendly message on OOM compilation error
...
This should provide a hint to user how to mitigate out-of-memory error
on compilation inside Kotlin daemon or in-process.
^KT-47522 Fixed
2022-01-24 10:30:53 +01:00
Yahor Berdnikau
d754c60c32
Migration DukatIntegrationIT tests to new DSL
...
^KT-45745 In Progress
2022-01-21 23:37:25 +03:00
Yahor Berdnikau
883432fbb8
Rename KotlinToolingMetadataIT to be considered as MPP test
...
^KT-45745 In Progress
2022-01-21 23:05:22 +03:00
Yahor Berdnikau
22623016b8
Rename HierarchicalStructureOptOutIT to be considered as MPP test
...
^KT-45745 In Progress
2022-01-21 23:05:21 +03:00
Yahor Berdnikau
8264623e3d
Move AppleFrameworkIT into native tests
...
^KT-45745 In Progress
2022-01-21 23:05:20 +03:00
Yahor Berdnikau
cb081f3752
Move NativeLibraryDslIT into native tests
...
^KT-45745 In Progress
2022-01-21 23:05:18 +03:00
Ivan Gavrilovic
d85be5f259
[Gradle] Add CompilerPluginConfig to API
...
Add a convenient way to specify Kotlin compiler
plugin options with the CompilePluginConfig,
which is added to the -api subproject.
^KT-50869 In Progress
2022-01-21 22:53:54 +03:00
Ivan Gavrilovic
c93594331b
[Gradle] Move some of the DSL to the API module
...
DSL exposed in the build scripts in effectively
an API, so this change moves it to the kotlin-gradle-plugin-api
subproject.
^KT-50869 In Progress
2022-01-21 16:57:23 +03:00
nataliya.valtman
791762d7ea
Update kotlin report properties
...
-add kotlin.build.report.output to add file/http/build_scan reports
-all reports verbose by default
-verbose reports includes compiler metrics
-fix "custom value exceed length limit"
2022-01-21 09:43:21 +00:00
Ilya Goncharov
72656b49f4
[Gradle, JS] Fix Native test and not consider artifact in path
2022-01-21 09:17:41 +00:00
Ilya Goncharov
443c0bf74f
[Gradle, JS] Fix case with multiple artifacts in module
2022-01-21 09:17:41 +00:00
Yahor Berdnikau
5f22bcd03b
Migrated ExecutionStrategyIT tests to new DSL
...
^KT-45745 In Progress
2022-01-20 14:20:57 +01:00
Yahor Berdnikau
b3fba1faad
Fix empty Android layout directories are not ignored
...
Kotlin Android extensions plugin adds layout directories as input to
KotlinCompile task when experimental flag is enabled. This breaks
cache relocation.
^KT-48849 Fixed
2022-01-19 15:47:33 +01:00
Ilya Gorbunov
efa09cbd80
Update dokka version for building stdlib docs
2022-01-19 17:24:53 +03:00
Alexander Likhachev
5199981d96
[Gradle] Check JVM targets only if mixed Java/Kotlin sources are present
...
#KT-48408 Verification Pending
2022-01-19 14:16:19 +00:00
Alexander Likhachev
b0d7c97ad2
[Gradle] Adjust test for KT-48408 to not fail without Kotlin sources
2022-01-19 14:16:18 +00:00
Alexander Likhachev
d9b279e675
Revert "[Gradle, JVM] Validate JVM targets even if compiler isn't called"
...
This reverts commit aa52a60f
2022-01-19 14:16:18 +00:00
Alexander Korepanov
59173baf5a
[JS IR] Pass forward -Xir-property-lazy-initialization option
...
Pass forward -Xir-property-lazy-initialization option
for the incremental cache.
^KT-50175 Fixed
2022-01-19 13:28:47 +00:00
Yahor Berdnikau
be020c588c
Clarify the case when a new benchmark project should be added
...
^KT-49921 Fixed
2022-01-17 14:24:44 +00:00
Yahor Berdnikau
4fe27cce07
Add benchmarks for kotlin-graphql library.
...
This library uses Spring plus kapt.
^KT-49921 In Progress
2022-01-17 14:24:43 +00:00
Yahor Berdnikau
ee9965a139
Add more benchmarks for Duckduckgo app
...
^KT-49921 In Progress
2022-01-17 14:24:43 +00:00
Yahor Berdnikau
3411012596
Fix changes in Android Java sources prevents incremental compilation
...
Such sources are attached to kapt generate stubs task to re-trigger it
on Java sources change, but they are not participate in actual stubs
generation.
^KT-50664 Fixed
2022-01-17 09:33:32 +00:00
Mikhail Glukhikh
0f2f6334c2
Fix error message for SUPERTYPE_IS_SUSPEND_FUNCTION_TYPE
...
#KT-48907 Fixed
2022-01-14 22:20:22 +03:00
Yahor Berdnikau
ec1c585da4
Fix android debug keystore fix was not applied for library plugin
2022-01-13 18:32:23 +03:00
Yahor Berdnikau
68f4580492
Fix kaptGenerateStubs doesn't ignore empty Android source directories
...
^KT-48617 Fixed
2022-01-13 13:11:20 +00:00
Yahor Berdnikau
a378e1e128
Bump Kotlin stable release to version 1.5.32
...
^KT-45745 In Progress
2022-01-13 10:30:54 +01:00
Yahor Berdnikau
0f3d7d5ad8
Fix typo in parameter name
...
^KT-45745 In Progress
2022-01-13 10:30:53 +01:00
Yahor Berdnikau
1c1e8f3c85
Migrate SubpluginsIT to new test DSL
...
^KT-45745 In Progress
2022-01-13 10:30:50 +01:00
Sergey Igushkin
eddf8c9e72
KT-50736: Fix the implementation of whenEvaluated
...
Re-implement `whenEvaluated` using a constant number of calls to
`withPlugin` per project.
The approach with `plugins.all { ... }` introduced by the fix
of KT-50509 had an issue with Android plugins applied last in the build:
in those cases that implementation didn't dispatch the actions after
Android and instead fired them earlier in `afterEvaluate`, because
`hasPlugin` doesn't return true in the callback when that exact plugin
is applied.
This change preserves the performance similar to that of the previous
implementation.
Issue #KT-50736
Merge-request: KT-MR-5418
2022-01-12 13:13:56 +00:00
Sergey Igushkin
3ac472ceb3
Fix Android unit test tasks not running in allTests
...
The Android unit test tasks were not created by the Kotlin Gradle
plugin, so the plugin didn't add the
tadk dependencies to its aggregating
`allTests` task.
Issue #KT-38456
Issue #KT-44227
2022-01-11 22:15:14 +00:00
Hung Nguyen
8d298bd25c
Fixed possible hanging of metrics collection in KGP
...
#KT-50719 Fixed
2022-01-11 19:15:42 +03:00
sebastian.sellmair
6c55e8cc58
[Gradle] GradleKotlinCompilerRunner: Be lenient to isolated classpaths
...
^KT-50592
2022-01-11 08:34:04 +00:00
sebastian.sellmair
56fa2655b7
[Gradle] Fixup testDetectingDifferentClassLoaders in respect of ^KT-50592 and KT-50598
2022-01-11 08:34:03 +00:00
sebastian.sellmair
b1bb68c10f
[Gradle] testProject/AndroidProject: Ensure non-isolated classpaths
...
^KT-50592
2022-01-11 08:34:03 +00:00
sebastian.sellmair
0b981a54bc
[Gradle] NativeDistributionCommonizerTask: Use safe project extension
...
... to access `KotlinMultiplatformExtension` on subprojects.
This will prevent strange ClassCastExceptions and show users
a proper error message when the operation fails because of isolated
classpaths.
This will also be lenient if the isoalted Kotlin plugin is not
a multiplatform plugin.
^KT-50592 Verification Pending
2022-01-11 08:34:02 +00:00
sebastian.sellmair
a355fefd05
[Gradle] KotlinProjectExtension: use castIsolatedKotlinPluginClassLoaderAware
...
Using this special cast function for accessing any Kotlin extension
will ensure that an isolated classpath will be reported to the user
when the casting fails because of it.
^KT-50592 WIP
2022-01-11 08:34:02 +00:00
sebastian.sellmair
32177b2cd2
[Gradle] Implement commonizer test with isolated jvm subproject
...
^KT-50592
2022-01-11 08:34:02 +00:00
Igor Yakovlev
e58d4163ad
[WASM] Add std methods for collections
2022-01-05 13:12:32 +01:00
Igor Yakovlev
c9a92d71ae
[WASM] Add kotlin.math tests
2022-01-05 13:12:32 +01:00
Ilya Gorbunov
2954769296
KT-50059 Stop publishing artifacts with 'modular' classifier
2021-12-29 17:43:56 +00:00
sebastian.sellmair
353593fa77
[MPP] Add documentation to .configureTaskOrder()
2021-12-28 21:15:20 +00:00