Commit Graph

11623 Commits

Author SHA1 Message Date
Ilya Gorbunov 59131f8138 Use BCV plugin to dump and check public API of Kotlin Gradle plugin-related artifacts 2022-11-18 06:00:18 +00:00
Ilya Gorbunov 49bd4e672b Drop dump of the obsolete kotlin-coroutines-experimental-compat artifact 2022-11-18 06:00:17 +00:00
Ilya Gorbunov d8e8c6afb3 Update BCV library version in reference public api test and update dumps
There were two problems in BCV fixed:
- https://github.com/Kotlin/binary-compatibility-validator/issues/36
- https://github.com/Kotlin/binary-compatibility-validator/issues/58

Therefore some methods with default values and properties that
mistakenly wasn't included in the dump, now have appeared in it.
2022-11-18 06:00:17 +00:00
Aleksei.Cherepanov 123caee0ed Revert "Suppress warning for mvn+kapt+jdk9"
This reverts commit 3fc91b01
2022-11-17 08:45:27 +01:00
Sebastian Sellmair bbd8aed419 [Gradle] kgp-idea: Update api reference
KT-54825
2022-11-17 07:38:45 +00:00
Sebastian Sellmair 071395ef62 [Gradle] Rename IdePlatformDependencyResolver to IdePlatformBinaryDependencyResolver
^KT-54948 Verification Pending
2022-11-17 07:38:44 +00:00
Sebastian Sellmair ee7989eb3b [Gradle] Implement tests for IdePlatformDependencyResolver
^KT-54948 Verification Pending
2022-11-17 07:38:44 +00:00
Sebastian Sellmair bc9296d646 [Gradle] Implement IdePlatformDependencyResolver
(ported from IdeaKpmPlatformDependencyResolver)

^KT-54948 Verification Pending
2022-11-17 07:38:44 +00:00
Sebastian Sellmair e15812f196 [Gradle] kgp-idea: Update testedVersion to 1.8.20-dev-2253 for compatibility tests
KT-54825
2022-11-17 07:38:43 +00:00
Sebastian Sellmair b44be0d761 [Gradle][Minor] kgp-idea-proto: Avoid capturing project in test task
KT-54825
2022-11-17 07:38:43 +00:00
Sebastian Sellmair bc4644a031 [Gradle] Remove Internal marker from DefaultKotlinSourceSet
KT-54825
2022-11-17 07:38:43 +00:00
Sebastian Sellmair 7c00f6447d [Gradle] Implement IdeaKotlinDependencyForwardCompatibilityTest
KT-54825
2022-11-17 07:38:42 +00:00
Sebastian Sellmair 66cb2b3ad8 [Gradle] Implement IdeaKotlinDependencyBackwardsCompatibilityTest
KT-54825
2022-11-17 07:38:42 +00:00
Sebastian Sellmair 31b7fd9a1f [Gradle] Implement TestIdeaKotlinDependencySerializer
KT-54825
2022-11-17 07:38:41 +00:00
Sebastian Sellmair 0fa92315ff [Gradle] kgp-idea: Update testedVersion to 1.8.20-dev-2192 for compatibility tests
KT-54825
2022-11-17 07:38:41 +00:00
Sebastian Sellmair 7e1ad71996 [Gradle] kgp-idea: Demote stdlib dependency to compileOnly
KT-54825
2022-11-17 07:38:41 +00:00
Sebastian Sellmair 585045c599 [Gradle] kotlin-tooling-core: Demote stdlib dependency to compileOnly
KT-54825
2022-11-17 07:38:40 +00:00
Sebastian Sellmair 39904fe54b [Gradle] Update kgp-idea and kgp-idea-proto API reference
KT-54825
2022-11-17 07:38:40 +00:00
Sebastian Sellmair 786adcaf3f [Gradle] kgp-idea.serialize: Change naming schema from Idea* to IdeaKotlin*
KT-54825
2022-11-17 07:38:40 +00:00
Sebastian Sellmair 224a237385 [Gradle] Implement IdeaKotlinObjectGraphTest and fix discovered issues
KT-54825
2022-11-17 07:38:39 +00:00
Sebastian Sellmair 9771e57951 [Gradle] Implement IdeTransformedMetadataDependencyResolver
KT-54825
2022-11-17 07:38:39 +00:00
Sebastian Sellmair 687ccda3e8 [Gradle] Implement protobuf for kgp-idea/tcs
KT-54825
2022-11-17 07:38:38 +00:00
Sebastian Sellmair f3998d523d [Gradle] Move IdeDependency into kgp-idea module and share serializer logic
KT-54825
2022-11-17 07:38:38 +00:00
Sebastian Sellmair 1befefc687 [Gradle] o.j.k.kgp-integration-tests: Opt into InternalKotlinGradlePluginApi
KT-54825
2022-11-17 07:38:38 +00:00
Sebastian Sellmair 405c94e0bb [Gradle] Initial port of IdeaKpmProjectModelBuilder into TCS IdeMultiplatformImport
KT-54825
2022-11-17 07:38:37 +00:00
Aleksei.Cherepanov 3fc91b013d Suppress warning for mvn+kapt+jdk9
Suppress the warning about lack of tools.jar, as this jar does not present in JDK9+

#KT-47110 Fixed

Merge-request: KT-MR-7566
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com>
2022-11-16 20:02:57 +00:00
Aleksei.Cherepanov fb38ab3cbb Add integration tests for 1adc2426
#KT-29346 Fixed
2022-11-16 11:47:47 +01:00
Yahor Berdnikau 49a5e9b91d Allow to suppress kotlinOptions.freeCompiler args modification warning
It could be done via 'gradle.properties':
'kotlin.options.suppressFreeCompilerArgsModificationWarning=true'

^KT-54888 Fixed
2022-11-15 16:52:02 +00:00
Zalim Bashorov ab590e1279 [Wasm, stdlib] Change visibility for wasm_* helper functions to internal 2022-11-15 12:55:10 +01:00
Zalim Bashorov 2fc6cea681 [Wasm] Migrate to the new GC M6 instructions 2022-11-15 12:55:10 +01:00
nataliya.valtman 5fa3b85581 Update metric collection and tags for build statistics 2022-11-14 11:24:16 +00:00
Ilya Chernikov 22d6906b33 FIR JS: implement a copy of JS Gradle IT with K2 2022-11-12 16:28:24 +01:00
Ilya Chernikov a4da33cae6 [minor] missing option rename fir -> k2 2022-11-12 16:28:24 +01:00
Ilya Chernikov 7a57e8d903 FIR JS: Add K2 support to K2JsIrCompiler 2022-11-12 16:28:24 +01:00
Sebastian Sellmair 126c8eafa3 [Gradle] KotlinWithJavaCompilationFactory: Use compile&runtime classpath from javaSourceSet
^KT-54867 Verification Pending
2022-11-12 13:18:50 +00:00
Sebastian Sellmair cc004c75c2 [Gradle] Implement KT54867KotlinWithJavaCompilationClasspathTest to cover KT-54867 2022-11-12 13:18:50 +00:00
Zalim Bashorov 9c6254c8f5 [Wasm, JS] Add script to check that a specific v8 version is available for all platforms 2022-11-11 16:20:43 +01:00
Zalim Bashorov cbf7497f76 [Wasm, JS] Update v8 to 10.9.194
It turned out that 10.9.130 is not available for intel based macs (mac64)
2022-11-11 16:20:43 +01:00
Yan Zhulanow f3c4ae8bbf [Pill] Add the ':kotlin-gradle-plugin-annotations' module 2022-11-11 11:28:34 +00:00
Igor Yakovlev 210212c284 [WASM] Remove redundant parameters for w3c dynamic getters 2022-11-11 10:53:05 +00:00
nataliya.valtman 592db99cfe KT-53402 Add test for resources ignore 2022-11-11 11:04:27 +01:00
Igor Yakovlev b6eb2b3620 [WASM] Add w3c bindings 2022-11-10 14:22:44 +00:00
Zalim Bashorov 4bafa2c9db [Wasm, Gradle] Quick fix for broken NewMultiplatformIT.testWasmD8Test 2022-11-10 13:54:10 +00:00
Leonid Startsev 2aede50306 Update BCV to 0.12.0; use JAR dump mode for kotlinx-metadata-jvm and
therefore remove BCV from kotlinx-metadata project.

Introduce @IgnoreInApiDump to workaround issue#104 in BCV.
2022-11-10 13:30:12 +00:00
Leonid Startsev 2b2e749d1f Rename KotlinClassMetadata.header to annotationData 2022-11-10 13:30:11 +00:00
Leonid Startsev b974b283a3 Lower deprecation notice for KotlinClassHeader and improve migration path 2022-11-10 13:30:11 +00:00
Leonid Startsev 96279364de Rework Binary Compatibility Validator integration:
- Add BCV to root project to commonize version

- Remove BCV from kotlinx-metadata-klib as it is not necessary for now

- Remove obsolete entry from kotlinx-metadata apiDump

- Add dependency from :kotlinx-metadata-jvm:check to :kotlinx-metadata:check so TC build can verify integrity of API dumps in both projects
2022-11-10 13:30:11 +00:00
Leonid Startsev 21d2211dcd Fix various review comments: rephrase deprecations, update KDocs,
remove unnecessary deprecations and unused functions.
2022-11-10 13:30:10 +00:00
Leonid Startsev 474ef921d8 Use standard @Deprecated in place of special opt-in annotation
Remove @DeprecatedVisitor
2022-11-10 13:30:10 +00:00
Leonid Startsev c4d409608c Rewrite KotlinP so it does not use visitors from kotlinx-metadata anymore;
fix bug with missing moduleName.
2022-11-10 13:30:10 +00:00