Commit Graph

11585 Commits

Author SHA1 Message Date
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
Leonid Startsev 3d679b76bc Use Metadata directly instead of KotlinClassHeader; rewrite latter to Java
so Java clients can obtain Metadata instance from it.
2022-11-10 13:30:09 +00:00
Leonid Startsev 471882b743 Introduce @DeprecatedVisitor; mark up visitor-related declarations with it.
Provide convenient JVM writing API.

Get rid of ExperimentalUnsignedTypes.
2022-11-10 13:30:09 +00:00
Leonid Startsev dd985d8209 Add Binary Compatibility Validator to kotlinx-metadata projects
Initiate API dumps
2022-11-10 13:30:08 +00:00
nataliya.valtman e1e07d2094 KT-54492 Add kotlin plugin version into error file 2022-11-10 08:57:10 +00:00
Vyacheslav Karpukhin a69ac69de1 KMM: fix multiplatform libraries import for Android (when running without an Android IDE plugin) 2022-11-09 16:01:02 +00:00
Zalim Bashorov d4e0d07b5b [Wasm] Update Binaryen version in gradle plugin: 109 -> 110 2022-11-09 13:44:39 +01:00
Zalim Bashorov d29010807a [Wasm] Apply recent changes in TFR proposal and update v8
Type index immediate was added to call_ref and return_call_ref instructions.
More details here https://github.com/WebAssembly/function-references/pull/76
2022-11-09 13:44:38 +01:00
Zalim Bashorov 9ed94b25fa [Wasm] Cleanup instructions list
* Split by proposal, at least for work-in-progress ones
* Add a link to the repo for WIP proposals
* Move some instructions to right group
2022-11-09 13:44:38 +01:00
Zalim Bashorov ff2d3d0bdb [Wasm] Remove unnecessary --experimental-wasm-eh option while running d8 and nodejs
The support for Exception Handling proposal is turned on by default everywhere.
2022-11-09 13:44:38 +01:00
Zalim Bashorov 21c4580e20 [JS, Wasm] Update Nodejs to the current LTS (18.12.1) and add useful links 2022-11-08 14:31:43 +00:00
Yahor Berdnikau ddc72db0de Configure compilation -jvm-target also from Java toolchain spec
Correctly wire JVM toolchain spec such way that `-jvm-target` will also
be configured from toolchain spec set either via java extension or
kotlin extension.

^KT-50115 Fixed
2022-11-08 09:20:01 +00:00
Sebastian Sellmair dec0946896 [Gradle][Minor] Opt into InternalKotlinGradlePluginAPI (workaround KT-54823)
^KT-54766 Verification Pending
2022-11-07 13:39:53 +00:00
Sebastian Sellmair 2391ab0ded [Gradle][Minor] CompilationAssociator: Rename parameters to auxiliary and main
^KT-54766 Verification Pending
2022-11-07 13:39:52 +00:00
Sebastian Sellmair 25fe9589b4 [Gradle] Make ExternalKotlinTargetImpl internal
^KT-54766 Verification Pending
2022-11-07 13:39:52 +00:00
Sebastian Sellmair f34875b161 [Gradle] ExternalAndroidTargetPrototypeSmokeTest: Assume assumeAndroidSdkAvailable
^KT-54766 Verification Pending
2022-11-07 13:39:52 +00:00
Sebastian Sellmair 898174a2a0 [Gradle] Add ExternalKotlinTargetApi annotation to API snapshot 2022-11-07 13:39:51 +00:00
Sebastian Sellmair 966ed6b7fb [Gradle] Extract setupCompileTask into separate function
^KT-54766 Verification Pending
2022-11-07 13:39:51 +00:00
Sebastian Sellmair 9599c16d95 [Gradle] Initial 'externalTargetApi' w/ compilable Android prototype
^KT-54766 Verification Pending
2022-11-07 13:39:50 +00:00
Sebastian Sellmair 33adebe5bf [Gradle][MPP] Add k.g.p-tcs-android module for prototyping
KT-54766
2022-11-07 13:39:50 +00:00
Alexander Likhachev 71b431db15 [Gradle] Update the Kapt3AndroidExternalIT.testRealm test project
Now it uses the latest version of realm-gradle-plugin
#KT-45748 Fixed
2022-11-04 15:22:03 +00:00
Alexander Likhachev ff6442a1cb [Gradle] Split AGP depending on mpp lib test
#KT-45748 In Progress
2022-11-04 15:22:03 +00:00
Alexander Likhachev bdedc36ed3 [Gradle] Disable Android lint tests on Windows
Lint leaves some file descriptors opened leading to test failure on Windows. See https://android.googlesource.com/platform/tools/base/+/be16b7622a15073725ef1c1555d78cce9fa8a795 for the fix.
#KT-45748 In Progress
2022-11-04 15:22:03 +00:00
Alexander Likhachev 3fee07207e [Gradle] Move the OtherGradlePluginTests tag from Kapt3BaseIT to Kapt3IT
Tags on classes are being combined leading to Kapt3AndroidIT and other Kapt3 Android tests being marked as both ``@OtherGradlePluginTests` and `AndroidGradlePluginTests`
#KT-45748 In Progress
2022-11-04 15:22:02 +00:00
Alexander Likhachev 8508ce27c4 [Gradle] Cleanup imports in Kapt3AndroidIT
#KT-45748 In Progress
2022-11-04 15:22:02 +00:00
Alexander Likhachev db63614ae1 [Gradle] Move AndroidAndJavaConsumeMppLibIT to mpp subpackage
#KT-45748 In Progress
2022-11-04 15:22:02 +00:00
Alexander Likhachev 026288155c [Gradle] Fix KotlinAndroidMppIT.testLintInAndroidProjectsDependingOnMppWithoutAndroid
#KT-45748 In Progress
2022-11-04 15:22:01 +00:00
Alexander Likhachev d980f94fff [Gradle] Move external dependencies tests out from Kapt3AndroidIT
#KT-45748 In Progress
2022-11-04 15:22:01 +00:00
Alexander Likhachev 90b0c867ed [Gradle] Move incremental build tests out from Kapt3AndroidIT
#KT-45748 In Progress
2022-11-04 15:22:00 +00:00
Alexander Likhachev 378ac8daca [Gradle] Move ConfigurationCacheForAndroidIT to android subpackage
#KT-45748 In Progress
2022-11-04 15:22:00 +00:00
Alexander Likhachev aac1e3a63f [Gradle] Move MultiplatformAndroidSourceSetLayoutV2IT to android subpackage
#KT-45748 In Progress
2022-11-04 15:22:00 +00:00
Alexander Likhachev fc088bb84a [Gradle] Split & migrate AbstractKotlinAndroidGradleTests to the new dsl
#KT-45748 In Progress
2022-11-04 15:21:59 +00:00
Alexander Likhachev 8bbf98f24c [Gradle] Migrate Kapt3AndroidIT to the new test DSL
#KT-44350 Fixed
#KT-45748 In Progress
2022-11-04 15:21:59 +00:00
Sebastian Sellmair 8581c8a546 [Gradle] Agp7AddKotlinSourcesToAndroidSourceSetConfigurator: Workaround KTIJ-22631
^KTIJ-22631 Verification Pending
2022-11-04 15:50:52 +01:00
Alexander Korepanov d5e9e87538 [JS BE] Drop JS scripting support
JS scripting uses the old IR to JS transformer.
 The new IR to JS transformer can not be used for
 JS scripting out of the box. Patching the new transformer for
 JS scripting is potentially dangerous and requires a lot of effort.
 Dropping JS scripting and the old IR to JS transformer allows to
 refactor and simplify JS BE codebase.
2022-11-04 14:15:15 +00:00
Alexander Likhachev d75bbc49e7 [Gradle, MPP] Mark KotlinTest.ignoreRunFailures as @Internal
This change is also done in order to preserve up-to-date state of successfully executed tests. This property is similar to Gradle's `AbstractTestTask.ignoreFailures` which is also `@Internal`
#KT-54787 Fixed
2022-11-04 13:15:03 +00:00
Alexander Likhachev f3becdcbd9 [Gradle, MPP] Do not disable individual test task reporting
Do not disable individual test task reporting in order to preserve up-to-date state of successfully executed tests
#KT-54787 In Progress
2022-11-04 13:15:03 +00:00
Alexander Likhachev ebb9ea4caa [Gradle, MPP] Add test for KT-54787 2022-11-04 13:15:02 +00:00
Alexander Likhachev e784e18f48 [Gradle, MPP] Rerun test tasks whose failures were suppressed
#KT-54506 Fixed
2022-11-04 13:15:02 +00:00