Anton Lakotka
26c1b931c8
[Gradle] Create deprecated configurations as some projects are still...
...
...dependending on them.
2023-01-11 12:32:58 +00:00
Anton Lakotka
ee3034328b
[Gradle] Update test that resolves jsMain dependencies metadata
...
This behavior is incorrect and it is not supported by new
resolvable metadata dependencies configurations.
Because this configuration is expected to be resolved to metadata
artifacts only. And the fact that it gets resolvled to some platform
variant is not right. But is not critical as well.
The next steps is to remove metadata configurations from platform
source sets.
2023-01-11 12:32:58 +00:00
Anton Lakotka
0e3be164c7
[Gradle] Update kotlin-gradle-plugin-api after removing...
...
... `getRelatedConfigurationNames` override.
This property shouldn't be used in user scripts. It supposed to be
internal.
2023-01-11 12:32:58 +00:00
Anton Lakotka
b16f404cc2
[Gradle, Test] Remove unnecessary JS test that checks metadata dependencies
...
Kotlin metadata dependencies shouldn't be used in JS plugin. It is
pure multiplatform thing.
2023-01-11 12:32:57 +00:00
Anton Lakotka
89acfd0a98
[Gradle] Source Dependency Resolver shouldn't check whether project...
...
...dependency is in current build or not. Because for IDE import it
matters that it is a source dependency. While for CLI it is not
since included builds will produce an actual klib that will be transformed
2023-01-11 12:32:57 +00:00
Anton Lakotka
ac429b6997
[Gradle] Use resolvableMetadataConfiguration as Input for transformation task
2023-01-11 12:32:57 +00:00
Anton Lakotka
6cda136566
[Gradle] Fix tests after deprecating and removing scoped Metadata Configurations
2023-01-11 12:32:56 +00:00
Anton Lakotka
3f8df88857
[Gradle, Test] Move newMppDependenciesDsl test to functional tests
2023-01-11 12:32:56 +00:00
Anton Lakotka
13fbfad549
Add dependencies only to intransitive
2023-01-11 12:32:56 +00:00
Anton Lakotka
eaa3eadc9e
Remove metadataConfiguration for source set and reuse
...
resolvableMetadataConfiguration
2023-01-11 12:32:55 +00:00
Anton Lakotka
0690613082
[Gradle] Don't use whole Project in MetadataDependencyResolution's
...
Instead, derive Project info from Resolved Component.
2023-01-11 12:32:55 +00:00
Anton Lakotka
35b2672436
[Gradle] Deprecate scoped metadata dependencies
...
Scoped metadata dependencies are not needed since
metadata dependencies are used only for metadata compilation. Metadata
is not consumed at runtime. Therefore, scoped metadata dependencies
are not required.
^KT-55312
2023-01-11 12:32:55 +00:00
Pavel Punegov
dfef9e03f0
[K/N][test] Build the platform libs only if Xcode >= 14.1
...
Test uses light distribution and builds platform libs that
require Xcode at least 14.1.
Merge-request: KT-MR-8243
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com >
2023-01-11 11:35:10 +00:00
Svyatoslav Kuzmich
1564de5859
[Wasm] Support external vararg
...
Initial implementation copies Wasm array to JS array and spreads it
2023-01-11 10:35:36 +00:00
Aleksei.Cherepanov
99de93bbd6
[Maven] Kotlin compiler plugin should respect model's compile source roots
...
#KT-13995 Fixed
Merge-request: KT-MR-8236
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com >
2023-01-11 10:19:31 +00:00
Ilya Goncharov
c3bdcc6b0d
[Gradle, JS] Use JAR archive task type only for jar archiveType
2023-01-10 20:15:55 +00:00
Alexander.Likhachev
ca68ca753a
[Gradle] Temporary add max version for ScriptingIT due to a Gradle bug
...
#KT-52625 In Progress
2023-01-10 19:08:38 +00:00
Alexander Likhachev
be3fe747c3
[Gradle] Suppress JS deprecation warning in test projects
2023-01-10 19:08:37 +00:00
Alexander Likhachev
d7b446d20f
[Gradle] Avoid accessing PropertiesProvider via rootProject
...
This way in the default setup, there are no reported problems with project isolation
#KT-55164 Fixed
#KT-52963 Fixed
#KT-52625 In Progress
2023-01-10 19:08:37 +00:00
Alexander Likhachev
61cac14ed7
[Gradle] Don't detect multiple plugin instances with project isolation enabled
...
#KT-55164 In Progress
#KT-52625 In Progress
2023-01-10 19:08:37 +00:00
Alexander Likhachev
08c8d3ec03
[Gradle] Bump maximum supported Gradle version to 7.4 in tests
...
#KT-52625 In Progress
2023-01-10 19:08:36 +00:00
Alexander Likhachev
51b011706b
[Gradle] Check if configuration cache was stored in JS CoCa tests
2023-01-10 19:08:36 +00:00
Alexander Likhachev
89811f8d95
[Gradle] Remove unnecessary Gradle version requirements for CoCa tests
2023-01-10 19:08:36 +00:00
Alexander Likhachev
487439054e
[Gradle] Remove default build options duplicates in ConfigurationCacheIT
2023-01-10 19:08:35 +00:00
Alexander Likhachev
bfde8eda81
[Gradle] Do not check for configuration cache report file existence
...
This file is generated even if there's no problems since Gradle 7.4. It now contains useful information to determine configuration inputs. Rely on the configuration cache problems option instead.
#KT-52625 In Progress
2023-01-10 19:08:35 +00:00
Alexander Likhachev
72a6f977f6
[Gradle] Disable fail on warning for some tests because of KT-55751
...
#KT-52625 In Progress
2023-01-10 19:08:35 +00:00
Alexander Likhachev
503db425aa
[Gradle] Disable fail on warning for some tests with an old AGP version
...
#KT-52625 In Progress
2023-01-10 19:08:34 +00:00
Pavel Kirpichenkov
38d55757b3
[Tests] Move MultiplatformExtensionTest to util
...
KT-55530
2023-01-10 16:02:55 +00:00
Pavel Kirpichenkov
e40d64dfc0
[Tests] Move functional task tests to unit tests package
...
KT-55530
2023-01-10 16:02:55 +00:00
Pavel Kirpichenkov
4dbb2b01fe
[Tests] Give clear name to functional dependency resolution tests
...
KT-55530
2023-01-10 16:02:54 +00:00
Pavel Kirpichenkov
11b026f268
[Tests] Remove deprecated JS compiler type from test
...
KT-55530
2023-01-10 16:02:54 +00:00
Pavel Kirpichenkov
ba7ecc07be
[Tests] Move external android target smoke test to the common package
...
KT-55530
2023-01-10 16:02:54 +00:00
Pavel Kirpichenkov
f768b05804
[Tests] Rename functional test packages in KGP
...
KT-55530
2023-01-10 16:02:53 +00:00
Pavel Kirpichenkov
c3ea93f4a4
[Tests] Split functional tests by Gradle tasks
...
KT-55530
2023-01-10 16:02:53 +00:00
Pavel Kirpichenkov
f92558d1c3
Minor: code cleanup
...
KT-55530
2023-01-10 16:02:53 +00:00
Pavel Kirpichenkov
cee5d568a5
[MPP, tests] Rearrange functional tests
...
Split tests into groups: unit tests, regression tests and
ide importing tests. Create additional run configurations for them.
KT-55530
2023-01-10 16:02:52 +00:00
Yahor Berdnikau
0bce15b862
Mark all internal configuration as resolvable and non-consumable
...
^KT-55632 Fixed
2023-01-10 13:06:12 +00:00
Leonid Startsev
d646906437
New kotlinx-metadata-jvm release
...
Update changelog for kotlinx-metadata-jvm 0.6.0, add migration guide, and actualize ReadMe.md
Document releasing process
Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com >
Merge-request: KT-MR-8206
Merged-by: Leonid Startsev <leonid.startsev@jetbrains.com >
2023-01-10 12:25:38 +00:00
dependabot[bot]
2dc13506f5
Bump json5 from 2.2.1 to 2.2.3 in /libraries/kotlin.test/js-ir/it
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-10 12:28:08 +01:00
dependabot[bot]
c1d03731e8
Bump json5 from 2.2.1 to 2.2.3 in /libraries/kotlin.test/js/it
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-10 12:27:40 +01:00
Artem Kobzar
642bbd38ba
[K/JS] Move global interface id state into an object to prevent interface ids reinitialization ^Fixed KT-55758
2023-01-09 20:56:19 +00:00
Artem Daugel-Dauge
dc514fa396
Deprecate useLibraries()
...
^KT-55801
Merge-request: KT-MR-8220
Merged-by: Artem Daugel-Dauge <Artem.Daugel-Dauge@jetbrains.com >
2023-01-09 19:01:49 +00:00
Artem Daugel-Dauge
243c529a40
Add to pod-dependencies .def indication to link against corresponding framework
...
^KT-55579 Verification Pending
Merge-request: KT-MR-8109
Merged-by: Artem Daugel-Dauge <Artem.Daugel-Dauge@jetbrains.com >
2023-01-09 09:57:40 +00:00
Ilya Goncharov
cf8b1692ca
[Gradle, JS] Remove base plugin applying in NodeJsRootPlugin and dependencies on clean task
2023-01-06 17:37:12 +00:00
Ilya Goncharov
f1aedc74da
[Gradle, JS] Use mjs extension for wasm in webpack task
2023-01-06 17:33:16 +00:00
Artem Daugel-Dauge
1538f7ba27
Fix sdk selection for watchosDeviceArm64
...
^KT-55790 Fixed
2023-01-05 20:47:35 +00:00
Yahor Berdnikau
8ec90e2bf2
Remove dependency order workaround for kotlinx-serialization plugin
...
Current workaround is not working with platform (bom) and since 1.8.0
release kotlinx-serialization was migrated to IR which removed need for
workaround.
^KT-54691 In Progress
2023-01-05 18:26:28 +00:00
Yahor Berdnikau
b9aac83135
Add Kotlin Gradle plugins bom
...
This should help with failed variants selection between different Kotlin
Gradle plugins versions.
^KT-54691 In Progress
2023-01-05 18:26:27 +00:00
Nikolay Krasko
6f276b7504
Use line diff in RuntimePublicAPITest
...
Otherwise, test fails because of too big comparison.
2023-01-04 19:57:17 +00:00
Ilya Gorbunov
916f733f73
Make k.c.Volatile since 1.9 in JVM and Common KT-55268, KT-55609
...
Leave it experimental since 1.8 for K/Native.
2023-01-04 17:28:46 +00:00