Commit Graph

11817 Commits

Author SHA1 Message Date
Sebastian Sellmair aed8c323e4 [Gradle] Fix IdeSourceDependencyResolutionTest after 9f810116
^KT-55475 Verification Pending
2022-12-16 16:46:14 +00:00
Sebastian Sellmair 38f310467a [Gradle] Implement IdeaKotlinClasspath interner
This very simple interner mechanism ensures that when import runs
within the IDE process, we de-duplicate existing file instances.

This might have an effect, because during GradleProjectResolution
we could have plenty source sets that refer to the same
files.

^KT-55492 Verification Pending
2022-12-16 16:46:14 +00:00
Sebastian Sellmair e32cff3b38 [Gradle] Implement IdeMultiplatformImport using new IdeaKotlinClasspath
^KT-55492 Verification Pending
2022-12-16 16:46:13 +00:00
Sebastian Sellmair 53c5444a7a [Gradle] kgp-idea: Compatibility tests: bump version to 1.8.20-dev-4242
KT-55492
2022-12-16 16:46:13 +00:00
Sebastian Sellmair 4eb5641e2a [Gradle] Implement IdeaKotlinClasspath concept
KT-55492
2022-12-16 16:46:13 +00:00
Yahor Berdnikau 189ef3425f Add test to check kaptGenerateStub and KotlinCompiler have same module-name
^KT-55334
2022-12-16 09:27:40 +00:00
Takumi Maeomote c4f83adc2a Add sample for Map.asSequence (#5055) 2022-12-15 19:58:38 +03:00
Sebastian Sellmair c802fd30c0 [Gradle] IdeJvmAndAndroidDependencyResolutionTest: Add assertion on jvmAndAndroidTest
^KT-55475 Verification Pending
2022-12-15 13:01:42 +00:00
Sebastian Sellmair 9f810116d3 [Gradle] Fine-tune Jvm and Android ide dependency resolution
The binary dependency resolver shall only run for remote
artifacts. Project to project dependencies shall be handled
by the IdeJvmAndAndroidSourceDependencyResolver

^KT-55475 Verification Pending
2022-12-15 13:01:42 +00:00
Bogdan Mukvich 9c1a68fcec Specify versions-maven-plugin version explicitly
If version not specified explicitly maven-cli downloads the latest
Regression have been introduced in version 2.14.0
https://github.com/mojohaus/versions/issues/848
2022-12-14 18:15:07 +01:00
dependabot[bot] 1371216207 Bump decode-uri-component in /libraries/tools/kotlin-test-js-runner
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-13 16:27:53 +01:00
Sebastian Sellmair 1d30ce9662 [Gradle] MppCompositeBuildIT: Replace included build path in Windows compatible way
^KT-52172 Verification Pending
2022-12-13 14:47:19 +00:00
Sebastian Sellmair 151da98331 [Gradle] cleanNativeDistributionCommonization: Don't try to delete .lock file
^KT-52172 Verification Pending
2022-12-13 14:47:19 +00:00
Sebastian Sellmair 8a01ad9010 [Gradle] MppCompositeBuildIT: Add test for included build using different Kotlin version
^KT-52172 Verification Pending
2022-12-13 14:47:18 +00:00
Sebastian Sellmair fb6a2f5bb4 [Gradle] Implement MppCompositeBuildIT based on martinbonnin's commit
^KT-52172 Verification Pending
2022-12-13 14:47:18 +00:00
Sebastian Sellmair abd58445c9 [Gradle] Move test project from martinbonnin into /sample1
^KT-52172 Verification Pending
2022-12-13 14:47:18 +00:00
Martin Bonnin 240983bca4 [Gradle] add a reproducer project for KT-52172
Cherry Picked from: https://github.com/JetBrains/kotlin/pull/5045
2022-12-13 14:47:17 +00:00
Sebastian Sellmair b706e05e65 [Gradle] NativeDistributionCommonizerLock: Lift lockedOutputDirectories into companion
^KT-52172 Verification Pending
2022-12-13 14:47:17 +00:00
Sebastian Sellmair 7f14255be8 [Gradle] Implement initial MppCompositeBuildIT
^KT-52172 Verification Pending
2022-12-13 14:47:17 +00:00
Sebastian Sellmair d12fbcf574 [Gradle] Share NativeDistributionCommonizerLock with 'cleanNativeDistributionCommonization' task
KT-52172
2022-12-13 14:47:16 +00:00
Sebastian Sellmair 6e0f5e8212 [Gradle] NativeDistributionCommonizerCache: Share intraProcessLock statically
KT-52172
2022-12-13 14:47:16 +00:00
Sebastian Sellmair b872d42723 [Gradle] Handle multiplatform composite builds when metadata.jar is not yet present
KT-52172
2022-12-13 14:47:16 +00:00
Sebastian Sellmair 90f8edbe80 [Gradle] TCS:Gradle Sync: Initial support for multiplatform composite builds
KT-52172
2022-12-13 14:47:15 +00:00
Sebastian Sellmair d4177f167b [Gradle] ResolvedMppVariantsProvider: Use dependent.selected instead of requested...
... in order to support dependencySubstitutions

KT-52172
2022-12-13 14:47:15 +00:00
Artem Daugel-Dauge 82a3ac830e KT-55243 Fix Gradle 7.6 incompatible root project podspec generation
Merge-request: KT-MR-7988
Merged-by: Artem Daugel-Dauge <Artem.Daugel-Dauge@jetbrains.com>
2022-12-13 12:38:36 +00:00
Andrey Uskov bdf20d756e Enable new incremental compilation by default
#KT-53832 Fixed
2022-12-12 21:40:29 +00:00
Sebastian Sellmair 5b0350d146 [Gradle] Make IdeBinaryDependencyResolver part of ExternalKotlinTargetApi
KT-55289
2022-12-12 20:29:14 +00:00
Sebastian Sellmair 59ddd381aa [Gradle] Implement IdeMultiplatformImportStatistics as project level service
KT-55289
2022-12-12 20:29:13 +00:00
Sebastian Sellmair 636d4a74a5 [Gradle] Add convenience extensions for IdeaKotlinBinaryDependency
^KT-55289 Verification Pending
2022-12-12 20:29:13 +00:00
Sebastian Sellmair 5deebd7209 [Gradle] Fix IdeSourceDependencyResolutionTest
... after 786ea79 [MPP] add tests for source set constraints

^KT-55289 Verification Pending
2022-12-12 20:29:13 +00:00
Sebastian Sellmair d7ba6916b5 [Gradle] Implement UnusedSourcesAndDocumentationFilter
^KT-55289 Verification Pending
2022-12-12 20:29:12 +00:00
Sebastian Sellmair 79fc191c20 [Gradle][Minor] Mark all IdeDependencyResolvers internal
^KT-55289 Verification Pending
2022-12-12 20:29:12 +00:00
Sebastian Sellmair d6f855b225 [Gradle] Implement very simple performance tracking for IdeDependencyResovlers
^KT-55289 Verification Pending
2022-12-12 20:29:12 +00:00
Sebastian Sellmair 7a89f4087a [Gradle] Implement IdeSourcesAndDocumentationResolutionTest
^KT-55289 Verification Pending
2022-12-12 20:29:11 +00:00
Sebastian Sellmair 7b2c4856c4 [Gradle] Implement separate SourcesAndDocumentationResolution DependencyResolutionPhase
^KT-55289 Verification Pending
2022-12-12 20:29:11 +00:00
Sebastian Sellmair fd50860b57 [Gradle][Minor] Rename IdeStdlibImportTest.kt to IdeStdlibResolutionTest
^KT-55289 Verification Pending
2022-12-12 20:29:11 +00:00
Sebastian Sellmair 0395b8f975 [Gradle][Minor] Rename IdeResolveSourceDependenciesTest.kt to IdeSourceDependencyResolutionTest
^KT-55289 Verification Pending
2022-12-12 20:29:10 +00:00
Sebastian Sellmair 6457bae80c [Gradle] Rename IdeSlowSourcesAndDocumentationResolver.kt to IdeArtifactResolutionQuerySourcesAndDocumentationResolver
^KT-55289 Verification Pending
2022-12-12 20:29:10 +00:00
Sebastian Sellmair a438c12bf5 [Gradle] resolvableMetadataConfiguration: Use named configuration and extendsFrom
^KT-55289 Verification Pending
2022-12-12 20:29:10 +00:00
Sebastian Sellmair f0ac427f46 [Gradle] Remove old comment from resolvableMetadataConfiguration.kt
^KT-55289 Verification Pending
2022-12-12 20:29:10 +00:00
Sebastian Sellmair 077945ef46 [Gradle] Adjust NewMultiplatformIT: Add stdlib-common
^KT-55289 Verification Pending
2022-12-12 20:29:09 +00:00
Sebastian Sellmair eabc763c4f [Gradle] resolvableMetadataConfiguration: Use detachedConfiguration
^KT-55289 Verification Pending
2022-12-12 20:29:09 +00:00
Sebastian Sellmair b659778b2f [Gradle] Implement IdeMetadataSourcesResolver by resolving 'resolvableMetadataConfiguration'
^KT-55289 Verification Pending
2022-12-12 20:29:09 +00:00
Sebastian Sellmair bfdcda82ab [Gradle] Rename IdePlatformDependencyResolver.kt to IdeBinaryDependencyResolver
^KT-55289 Verification Pending
2022-12-12 20:29:08 +00:00
Sebastian Sellmair 703fd0f23a [Gradle] GranularMetadataTransformation: Re-use resolvableMetadataConfiguration
^KT-55289 Verification Pending
2022-12-12 20:29:08 +00:00
Sebastian Sellmair ec9956041a [Gradle] Implement and re-use resolvableMetadataConfiguration for Source Sets
^KT-55289 Verification Pending
2022-12-12 20:29:07 +00:00
Sebastian Sellmair 764a57f126 [kotlin-tooling-core] Implement ExtrasLazyProperty
^KT-55289 Verification Pending
2022-12-12 20:29:07 +00:00
Sebastian Sellmair bd229584e4 [Gradle] Implement sources.jar resolvers
^KT-55289 Verification Pending
2022-12-12 20:29:07 +00:00
Yahor Berdnikau ff73e7a37a Fix version parsing crash on Gradle rich version string
Gradle accepts different types of version string declaration:
https://docs.gradle.org/current/userguide/single_versions.html. Now code
 should parse such declarations into semantic versioning without
 exception.

^KT-55255 Fixed
2022-12-12 19:26:07 +00:00
Nikolay Krasko e57521ed23 Remove bintray mentioning from the servers list 2022-12-12 15:53:23 +00:00