Commit Graph

98013 Commits

Author SHA1 Message Date
Sebastian Sellmair 24db9f3680 [Gradle] Add MppCompositeBuildIT with host specific targets
... to cover KT-56111
2023-01-23 19:25:34 +00:00
Artem Daugel-Dauge c2e092fe4a [Gradle] Fix invalidating iOS framework after import
^KT-49430 Verification Pending
2023-01-23 18:52:03 +00:00
Artem Daugel-Dauge 8a34d1f430 Separate podgen & podinstall tasks
^KT-54161 Verification Pending
2023-01-23 18:52:03 +00:00
Alexander.Likhachev f144f8b6d3 [Gradle] Fix compilation error in CocoaPodsIT
Also add a Gradle version constraint for deprecation warnings suppressing
KT-55972 Related
2023-01-23 19:02:22 +01:00
Alexander.Likhachev 2e7e1625d3 [Gradle] Remove warnings suppression from more tests
KT-55972 Related
2023-01-23 17:21:17 +00:00
Alexander.Likhachev 9bb2a2468d [Gradle] Suppress warnings only for the Gradle versions that produce them
KT-55972 Related
2023-01-23 17:21:17 +00:00
Alexander.Likhachev 3373a1dd90 [Gradle] Add a warning mode assertion for the old test DSL tests
#KT-55972 Fixed
2023-01-23 17:21:17 +00:00
Alexander.Likhachev 1e7cf5571b [Gradle] Add a warning mode assertion for the new test DSL tests
#KT-55972 In Progress
2023-01-23 17:21:16 +00:00
Alexander.Likhachev dc24582a0b [Gradle] Apply gradle-warnings-detector to test projects
#KT-55972 In Progress
2023-01-23 17:21:16 +00:00
Alexander.Likhachev 7bcfa45c49 [Build] Add gradle-warnings-detector plugin for integration tests
#KT-55972 In Progress
2023-01-23 17:21:16 +00:00
Ilya Goncharov 7ae85ed68e [JS IR] Module descriptors depends on each other 2023-01-23 16:16:48 +00:00
Dmitriy Dolovov b42492cd4d [Native][tests] Mute failing ktor 1_5_4 and coroutines 1_5_0-RC-native-mt (KT-46697) Gradle IT 2023-01-23 16:11:06 +00:00
Roman Efremov 5bd76dbf0b Temporarily comment failing Enum.entries resolve in K/N C interop
See KT-53929
2023-01-23 12:53:07 +01:00
Roman Efremov 878608b7b2 Don't add Enum.entries to scope if it can't be called
^KT-53929 Fixed
2023-01-23 12:53:06 +01:00
Roman Efremov 2dc3871954 Add "hasEnumEntries" class flag to kotlinx-metadata
^KT-53929 Fixed
2023-01-23 12:53:06 +01:00
Roman Efremov 14b4cdc7c4 Write "hasEnumEntries" flag into metadata when feature enabled
^KT-53929 Fixed
2023-01-23 12:53:04 +01:00
Roman Efremov 3c5e556ba6 Add "hasEnumEntries" flag to class metadata
With this flag we can distinguish enum classes that have `entries`
property in the compiled bytecode (see `LanguageFeature.EnumEntries`).
This is needed to be able to understand in the frontend whether
`entries` can be called for that class. For Native and JS, this is
currently not possible even if the feature is enabled, but the class
was compiled with disabled feature.

^KT-53929 Fixed
2023-01-23 12:50:14 +01:00
Artem Daugel-Dauge f6eb978671 [Gradle] More workarounds for KT-55751 after adding linkOnly mode 2023-01-23 11:48:04 +00:00
Pavel Punegov 515c7f50c9 [K/N][test] Exclude properties/lateinit/isInitializedAndDeinitialize
Exclude this tests temporarily from run with one stage mode.

Merge-request: KT-MR-8408
Merged-by: Pavel Punegov <Pavel.Punegov@jetbrains.com>
2023-01-23 11:43:28 +00:00
Vladimir Sukharev 195ecbac2e Serialize native klib extensions to pass most ObjCExport and CInterop tests.
Merge-request: KT-MR-8398
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2023-01-23 11:34:47 +00:00
Sergey Bogolepov 576e8ba127 [K/N] Port to the new driver 2023-01-23 09:11:33 +00:00
Anna Kozlova 21e57b1c54 [AA] allow to skip keywords completely
no need in fun/val/var in file structure
2023-01-23 08:27:26 +00:00
Abduqodiri Qurbonzoda 1b258646be Specify benchmarks repository for Base64 2023-01-22 02:02:38 +00:00
Nikolay Krasko 92840bf4b8 Clean-up verification-metadata.xml from old dependencies 2023-01-21 16:38:49 +00:00
Nikolay Krasko 4a4c38bafa Update verification-metadata.xml after add command 2023-01-21 16:38:49 +00:00
Nikolay Krasko 4f69f61ef7 Advance version of kotlinx serialization in imports-dumper
File separator are not escaped now, as there's no need to escape /
character in JSON strings.
2023-01-21 16:38:48 +00:00
Nikolay Krasko 922ffa80b0 Remove kotlinx-serialization-core:1.0.0-RC usage 2023-01-21 16:38:48 +00:00
Nikolay Krasko e895409c4a Bump kotlinx-html-jvm version 0.6.12 -> 0.7.3 2023-01-21 16:38:48 +00:00
Nikolay Krasko 50c911f159 Restrict and document usage for special repositories
This also should reduce the amount of requests for seeking artifacts
across the repositories.
2023-01-21 16:38:47 +00:00
Ilya Chernikov 61e39f2c31 minor: fix a typo leading to the wrong lines count with LT 2023-01-21 11:20:59 +00:00
Mark Mann 47f6cb663e Native: add flag that disables ObjC method name mangling for methods in different Kotlin Interfaces (#5070) 2023-01-20 21:27:44 +01:00
Anton Lakotka bbc2a9a1db [Gradle] Test that CInterop[MDT]Tasks outputs doesn't conflict
^KT-49933
2023-01-20 20:15:40 +00:00
Sebastian Sellmair d4a9bb8d90 [Gradle] CInteropMetadataDependencyTransformationTask: Fix overlapping outputLibrariesFileIndex
Before this change, IDE tasks from different projects
were re-using the same libraries index file, leading
to overwrites and therefore missing dependencies in the IDE

KT-49933
2023-01-20 20:15:40 +00:00
Sebastian Sellmair 6849804941 [Gradle] KotlinMetadataLibraryDirectories: Use composite build root for IDE directories
KT-49933
2023-01-20 20:15:39 +00:00
Anton Lakotka 61748f4016 [Gradle] Add mavenCentralCacheRedirector back to fix compilation error
^KT-49933
2023-01-20 20:15:39 +00:00
Sebastian Sellmair 3d8ee5bae5 [Gradle][Minor] ProjectMppDependencyProjectStructureMetadataExtractor: Remove unnecessary constructor
KT-49933
2023-01-20 20:15:39 +00:00
Anton Lakotka 00bcaebd15 [Gradle] Move collectAll[PSM]InCurrentBuild to
^KT-49933
2023-01-20 20:15:38 +00:00
Anton Lakotka cc98b7b4cd [Gradle] Delete failing KPM tests after Configuration Cache fixes
KPM is experimental and is not going to be supported before stable
release

^KT-49933
2023-01-20 20:15:38 +00:00
Anton Lakotka 3a02090ff3 [Gradle] Collect project structure metadata for current build separately
^KT-49933
2023-01-20 20:15:38 +00:00
Anton Lakotka 244f742610 [Gradle] Move MetadataDependencyTransformationTask configuration to task file
^KT-49933
2023-01-20 20:15:37 +00:00
Anton Lakotka afaa86291f [Gradle] Remove dependency to transform all dependencies metadata task
from `resolveIdeDependencies` task.

^KT-49933
2023-01-20 20:15:37 +00:00
Anton Lakotka 33a680c123 [Gradle] Re-use GlobalProjectStructureMetadataStorage to obrain all...
...Kotlin Project Structure Metadata to feed it for Metadata Dependency
Transformation process

^KT-49933
2023-01-20 20:15:37 +00:00
Sebastian Sellmair 321647b831 [Gradle] Restore KotlinMetadataTargetConfigurator.applyToConfiguration
... to avoid unnecessary :all: dependencies being imported
in 'old' import style (using deprecated DependenciesMetadata configurations)

KT-49933
2023-01-20 20:15:36 +00:00
Sebastian Sellmair a02279df7d [Gradle][Minor] Optimise imports on KotlinNativeCompilation
KT-49933
2023-01-20 20:15:36 +00:00
Sebastian Sellmair 55faa69a7d [Gradle][Minor] Optimise imports on ProjectMetadataProviderImpl
KT-49933
2023-01-20 20:15:36 +00:00
Anton Lakotka 5a396187ca [Gradle] Remove with prefix in hostSpecificMetadataConfigurationName
^KT-49933
2023-01-20 20:15:35 +00:00
Anton Lakotka d5936a52f0 [Gradle] Move hostSpecificMetadataConfiguration to configuration container
Previously it was declared on KotlinNativeCompilation with extra
NativeCompilationDependencyConfigurationsContainer interface. But it is
not necessary, and hostSpecificMetadataConfiguration can be placed
directly to KotlinCompilationConfigurationsContainer and guarded
and created on demand via `withHostSpecificMetadata` flag on a factory
method.

^KT-49933
2023-01-20 20:15:35 +00:00
Sebastian Sellmair e36338b091 [Gradle][Minor] CInteropMetadataDependencyTransformationTask: Demote visibility of internals
KT-49933
2023-01-20 20:15:35 +00:00
Sebastian Sellmair b31100a90c [Gradle][Minor] MetadataDependencyTransformationTask: Demote visibilty of internals
KT-49933
2023-01-20 20:15:34 +00:00
Sebastian Sellmair e0fde89262 [Gradle][Minor] Move evaluation of 'isResolvedToProject'
KT-49933
2023-01-20 20:15:34 +00:00