Sebastian Sellmair
4e85434536
[Gradle] Implement CompilationAssociator.default, ...
...
... to allow extending the default behaviour for ExternalTargetApi consumers
^KT-59562 Verification Pending
2023-07-01 06:58:16 +00:00
Yahor Berdnikau
89f7053437
[Gradle] Add comment why nagFreeCompilerArgsModification message is not shown
...
Gradle 8.0 suppresses such messages produced by `kotlin-dsl` plugin
^KT-59587 Fixed
2023-06-30 14:18:06 +00:00
Yahor Berdnikau
447c849b29
[Gradle] Fix jvm target validation test on Gradle 8
...
^KT-59587 In Progress
2023-06-30 14:18:06 +00:00
Yahor Berdnikau
6a80cd596a
[Gradle] Fix kapt jvm target validation test on Gradle 8
...
^KT-59587 In Progress
2023-06-30 14:18:06 +00:00
Yahor Berdnikau
9453deb840
[Gradle] Update jvm validation test tags
...
Annotation each test separately, so each test should run on CI.
^KT-59587 In Progress
2023-06-30 14:18:05 +00:00
Yahor Berdnikau
6cf35c74af
[Gradle] Update toolchain tests to run on Gradle 8+
...
^KT-59587 In Progress
2023-06-30 14:18:05 +00:00
Yahor Berdnikau
36f748cbcc
[Gradle] Fix Jvm Toolchain Android tests are not running on CI
...
JUnit5 combines tags and then applies to this combined list filters from
the test task. If this list contains any excluded tag - test will be
ignored.
^KT-59587 In Progress
2023-06-30 14:18:05 +00:00
Yahor Berdnikau
05ce873d2a
[Gradle] Fix Android tests for Jvm Toolchain
...
^KT-59587 In Progress
2023-06-30 14:18:05 +00:00
Sergey Bogolepov
d433d1eb3f
KT-58862: Remove cinterop -mode option
...
metadata cinterop libraries perform pretty well for years,
so we can drop this flag.
2023-06-30 14:16:01 +00:00
Pavel Kargashinsky
807e7f1c28
[MPP][Tests] Bump AndroidAndJavaConsumeMppLibIT tests Gradle version to 7.6.
...
Tests will be failed if AGP >=7.1.0 or Gradle >= 8.0
See KT-57351 for details
2023-06-30 14:15:40 +00:00
Pavel Kargashinsky
816efc2def
[MPP][Tests] Use max supported Gradle version for MPP old-dsl tests
2023-06-30 14:15:39 +00:00
Nataliya.Valtman
ea8b482f4f
Don't get BuildScanExtension when buildScan report is disabled
...
#KT-59589: Fixed
2023-06-30 09:59:09 +00:00
ksenia.sergeeva
5e7e1e6c92
add gradle integration tests for explicit api mode in android KT-59117
2023-06-30 09:52:17 +00:00
Sebastian Sellmair
24debfd9b7
[Gradle] ExternalTargetApi: Implement ExternalKotlinTargetSourcesJarUtils
...
This utils are intended to be used external target authors exclusively
and shall help to create sources.jar files using regular
Kotlin Multiplatform conventions.
^KT-58109 Verification Pending
2023-06-30 09:34:07 +00:00
Sebastian Sellmair
3f1faa26ac
[Gradle] ExternalTargetApi: Add sourcesElements-published and add this configuration to the published component
...
^KT-58109 In Progress
2023-06-30 09:34:07 +00:00
Bogdan Mukvich
45e56f9c14
Disable SBOM for Gradle plugins
...
Current implementation causes publishing to fail
^KTI-1282
2023-06-30 07:55:45 +00:00
Timofey Solonin
d6d1ed6c35
[MPP] Fix NewMultiplatformIT and make it run on arm macOS
...
^KT-58822
2023-06-29 14:59:45 +00:00
Ilya Goncharov
49b2ac1b10
[JS] Remove legacy js in maven
2023-06-29 14:25:45 +00:00
Artem Daugel-Dauge
6861591840
[Gradle] Migrate Xcode/CocoaPods warnings to the new diagnostics infra + elevate deprecation of useLibraries
...
^KT-59313 Verification Pending
^KT-58519 Verification Pending
2023-06-29 14:23:55 +00:00
Artem Daugel-Dauge
67c19b00e0
[Gradle] Excplictly pass locale to CocoaPods invocations
...
^KT-59522 Verification Pending
2023-06-29 14:23:30 +00:00
Artem Daugel-Dauge
27600eecb3
[Gradle] Make check for illegal target names case-insensitive
...
^KT-59733 Verification Pending
2023-06-28 17:51:07 +00:00
Ilya Goncharov
0b912b0200
[Gradle, JS] Return back deprecated methods for compatibility
...
^KT-59604 fixed
2023-06-28 17:14:52 +00:00
Timofey Solonin
16236936e5
[MPP] Use proper assertion in CommonizerIT
...
^KT-58712
2023-06-28 16:58:10 +00:00
Ilya Goncharov
2d178e5273
[Gradle, JS] Not reset runtimeChunk because it does not affect stacktraces
2023-06-28 15:58:22 +00:00
Leonid Startsev
1a1cbcb321
Rework flags in kotlinx.metadata:
...
Introduce extensions for KmNodes to work with various modifiers instead of old Flags.SOMETHING.invoke(flags).
Provide Visibility, Modality, and Kind enums.
Introduce KmPropertyAccessorAttributes to replace KmProperty.getterFlags and KmProperty.setterFlags.
Deprecate nodes constructors which take flags but not flags itself (yet).
Adapt KotlinP to changes.
#KT-59440 Fixed
2023-06-27 15:12:46 +00:00
Alexander Udalov
ecc1f9fb0b
Update to kotlinx-metadata-jvm 0.6.2
...
Migrate to the new API in kotlin-reflect build script, remove obsolete
workarounds.
2023-06-27 14:32:15 +00:00
Dmitrii Krasnov
78e288be38
Bumped max supported gradle version to 8.0 in tests
...
#KT-56636 Fixed
Merge-request: KT-MR-10723
Merged-by: Dmitrii Krasnov <Dmitrii.Krasnov@jetbrains.com >
2023-06-27 11:39:51 +00:00
Bogdan Mukvich
4ded83d266
Add SBOM publishing for kotlin-test-js-runner
...
^KTI-1273
2023-06-27 09:02:18 +00:00
Bogdan Mukvich
acb97d8cc9
Add SBOM for gradle plugins
...
^KTI-1273
2023-06-27 09:02:17 +00:00
Troels Bjerre Lund
111bb461a9
CLI: Change kotlin reflection to java reflection
...
The command line argument parser is using between 0.25s and 0.5s
(depending on platform) on finding annotated properties. This fix
replaces the slow kotlin reflection with java reflection, which is an
order of magnitude faster.
#KT-58183 Fixed
2023-06-27 08:34:40 +00:00
Alexander Udalov
f3a7312ee6
K2: use ClassKind.CLASS for object literals
...
K1 uses CLASS, and libraries like kotlinx-metadata-jvm and
kotlin-reflect already rely on it.
#KT-57641 Fixed
2023-06-26 20:58:55 +00:00
Alexander Udalov
1be0fcb53a
Kotlinp: add "test can be unmuted" error to K2 tests
2023-06-26 20:58:55 +00:00
Sebastian Sellmair
3366366361
[Gradle] Implement initial ExternalAndroidTargetIT
...
Using AGP version 8.2.0-alpha09: Covering the
external Android target maintained and developed by Google.
The initial tests are intended to give basic coverage
of basic functionality (such as build and running tests), as well as
checking compatibility between AGP and KGP
^KT-59578 Verification Pending
2023-06-26 18:38:53 +00:00
Alexander Udalov
c66bc36382
Build: fix some warnings in buildSrc and build.gradle.kts
2023-06-26 15:42:21 +00:00
Sebastian Sellmair
4d91229d79
[Gradle] Implement KotlinDefaultHierarchyFallbackNativeTargetShortcutUsageDetected diagnostic
...
^KT-58676 Verification Pending
2023-06-26 11:36:18 +00:00
Sebastian Sellmair
8d6c4019c5
[Gradle] Implement KotlinMultiplatformSourceSetConventionsTest
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
c31c5ea0be
[Gradle] Implement IosSourceSetConventionUsedWithoutIosTarget diagnostic
...
... in case when iosMain, iosTest conventions are used
w/o any ios target being applied
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
6d1e039b77
[Gradle] Do not apply default hierarchy template for: test KT-47641...
...
See: KT-59596:
The test did not apply any hierarchy before as well, therefore this
change is returning the setup back to its original behaviour.
However, we therefore discovered an issue (tracked as KT-59596):
Compiling metadata compilations for cinterops is not desirable
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
6f42446138
[Gradle][Minor] Improve documentation in KotlinHierarchyDsl
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
37ec18d8d6
[Gradle][Minor] Fix typo in KotlinMultiplatformExtension documentation
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
f26f3e0738
[Gradle] Remove InternalKotlinHierarchyTemplate interface (in favor of using Impl directly)
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
6d4dbfae28
[Gradle] Move KotlinHierarchyDsl documentation into KotlinHierarchyDsl.kt
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
a03fb02af3
[Gradle] Deduplicate documentation from KotlinHierarchyTemplate.Templates.default and applyDefaultHierarchyTemplate
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
772bcb283d
[Gradle] Replace KotlinSourceSetTree interface with simpler class
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
85f4b72c8b
[Gradle] Remove deprecation from deprecated KotlinTargetHierarchy entities
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
18a2ceebea
[Gradle] Keep deprecated KotlinTargetHierarchy in previous KotlinTargetHierarchy.kt source file
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
1cd8089e92
[Gradle] Move KotlinHierarchyTemplate.Templates.default into -api module
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
2a4f9b19f0
[Gradle] KotlinSourceSetConvention: KotlinSourceSet registration logic
...
Separate the retrieval and registration of KotlinSourceSets in the getValue function of KotlinSourceSetConvention. Add a custom Trace class to be stored in the isRegisteredByKotlinSourceSetConventionAt property for better readability and debugging purposes.
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
0b57dac738
[Gradle] Deprecate native target shortcuts ...
...
... in favor of default hierarchy template
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00
Sebastian Sellmair
845c8bd1c3
[Gradle] Implement KotlinGradlePluginDsl annotation and check in for binary compatibility validation
...
^KT-58676 Verification Pending
2023-06-26 11:36:17 +00:00