Commit Graph

12133 Commits

Author SHA1 Message Date
Sebastian Sellmair d6a44c92b5 [Gradle] Implement KT55929MetadataConfigurationsTest to cover KT-55929
^KT-55929 Verification Pending
2023-01-18 08:26:33 +00:00
Sebastian Sellmair c0aa6cf873 [Gradle] Ensure deprecated *DependenciesMetadata configurations exclude common stdlib
^KT-55929 Verification Pending
2023-01-18 08:26:32 +00:00
Sebastian Sellmair cc684cce3d [Gradle] Ensure deprecated *DependenciesMetadata configurations carry necessary dependencies
^KT-55929 Verification Pending
2023-01-18 08:26:32 +00:00
Alexander Likhachev 432b08e158 [Gradle] Convert taskOutputsBackupExcludes into SetProperty
#KT-49785 In Progress
2023-01-17 22:15:56 +00:00
Alexander Likhachev db5df5c5ec [Gradle] Add Gradle integration tests with precise compilation outputs backup
#KT-49785 In Progress
2023-01-17 22:15:55 +00:00
Alexander Likhachev 82a2cac4d6 [Gradle] Add debug logging into TaskOutputsBackup 2023-01-17 22:15:53 +00:00
Alexander Likhachev 20ed029ba5 [Gradle, IC] Add gradle property to control precise compilation outputs backup
#KT-49785 In Progress
2023-01-17 22:15:52 +00:00
Alexander Likhachev ea4c792b9a [IC] Disable Gradle-side compiler outputs backup unconditionally
#KT-49785 In Progress
2023-01-17 22:15:51 +00:00
Ilya Goncharov e93fa380e2 [Gradle, Wasm] Detect correct browser executable depends on OS 2023-01-17 22:01:33 +00:00
Alexander Udalov a7b1bade85 Kapt: enable JVM IR by default
Add `kapt.use.jvm.ir=false` to `gradle.properties` to return the old
behavior.

 #KT-53135 Fixed
2023-01-17 20:23:32 +00:00
Alexander.Likhachev 9e1b6dc223 [Gradle] Update version requirements for MppTestsIT.testKt54634 2023-01-17 20:07:55 +01:00
Alexander.Likhachev 4a58e24a4a [Gradle] Rework ConfigurationCacheForAndroidIT to drop warnings suppression 2023-01-17 20:07:54 +01:00
Alexander.Likhachev 6cbbecc705 [Gradle] Mark one more warnings suppression as a workaround for KT-55751 2023-01-17 20:07:54 +01:00
Alexander.Likhachev f57bf74e4f [Gradle] Don't override warningMode with the default value in some tests 2023-01-17 20:07:54 +01:00
Alexander.Likhachev 9386fbbe0f [Gradle] Don't suppress warnings for tests that don't produce them
dont produce
2023-01-17 20:07:53 +01:00
Alexander.Likhachev 7949197b62 [Gradle] Fix deprecation warnings in Kapt3AndroidExternalIT 2023-01-17 20:07:52 +01:00
Alexander.Likhachev 21624d6d07 [Gradle] Add version checks on warnings suppression for old AGP versions 2023-01-17 20:01:01 +01:00
Artem Daugel-Dauge a24119858f Add linkOnly mode for pods
^KT-41830 Verification Pending

Merge-request: KT-MR-8302
Merged-by: Artem Daugel-Dauge <Artem.Daugel-Dauge@jetbrains.com>
2023-01-17 18:32:54 +00:00
Artem Kobzar 71486a321c [K/JS] Add support of compilation with ES-classes 2023-01-17 18:14:17 +00:00
Dmitriy Novozhilov 8d728d4f53 Revert "[FE 1.0] Deprecate declaration of expect and actual in the same module"
This reverts commit b09561c3c3.

It was decided to postpone this warning till 1.9
This is needed to provide proper IDE support

^KT-40904 Open
^KT-55177 Open
2023-01-17 18:02:50 +00:00
Artem Daugel-Dauge af649cbb44 [Gradle] Pass through errors from Gradle to Xcode
^KT-55650 Verification Pending
2023-01-17 15:56:05 +00:00
Yahor Berdnikau 5c8b8bf009 Remove Gradle plugin variants from ':kotlin-gradle-statistics'
Code does not use any Gradle API imports and does not use any KGP API
classes.
2023-01-17 14:03:53 +00:00
Yahor Berdnikau 92509ad400 Remove Gradle plugin variants from ':kotlin-gradle-build-metrics'
Code does not use any Gradle API imports and does not use any KGP API
classes.
2023-01-17 14:03:53 +00:00
Mikhail Glukhikh 5af37e4647 kotlin-reflect: split K2/K1 branches in KotlinModuleShadowTransformer 2023-01-17 13:46:52 +00:00
Dmitriy Novozhilov b09561c3c3 [FE 1.0] Deprecate declaration of expect and actual in the same module
^KT-40904 Fixed
^KT-55177 Fixed
2023-01-17 09:43:14 +00:00
Mikhail Glukhikh 7a61578e08 Language version 2.0: fix compiler messages and minor details 2023-01-16 18:16:48 +01:00
Mikhail Glukhikh cbedbda527 Enhance API/messages around BinaryVersion / JvmMetadataVersion 2023-01-16 18:16:07 +01:00
Mikhail Glukhikh 13502abab9 Fix FIR bootstrap in version 2.0 2023-01-16 18:16:07 +01:00
Mikhail Glukhikh 0c4a0360ac Deserialization/class reading: pass chosen JvmMetadataVersion whenever possible 2023-01-16 18:16:07 +01:00
Mikhail Glukhikh 3dc05f4ec5 Introduce language version 2.0 and associate K2 compiler with it 2023-01-16 18:12:55 +01:00
Sebastian Sellmair d0bb804e85 [Gradle] kgp-idea-proto: Add public API for extras serialisation
KT-55926
2023-01-16 14:56:46 +00:00
Sebastian Sellmair 54db04e0f4 [Gradle] ExternalTargetApiExtensions: Add extension for KotlinCompilation.extras
KT-55926
2023-01-16 14:56:46 +00:00
Sebastian Sellmair 16835469a4 [Gradle] Let InternalKotlinTarget implement HasMutableExtras
KT-55926
2023-01-16 14:56:45 +00:00
Alexander.Likhachev 75c9fd3032 [Gradle, MPP] Suppress deprecation warnings for tests with an old AGP
#KT-52998 In Progress
2023-01-16 13:42:57 +00:00
Alexander.Likhachev ab205edeab [Gradle] Fix MppCompositeBuildIT.test - sample1 - ide dependencies
The test was trying to invoke a task from the root project prepending it with two colons, which became an error since 7.6
#KT-53811 In Progress
2023-01-16 11:43:24 +00:00
Alexander.Likhachev 46e45b8137 [Gradle] Simplify regexp for extracting task output in integration tests
Gradle has slightly changed logging since 7.6, so the old way stopped working
#KT-53811 In Progress
2023-01-16 11:43:24 +00:00
Alexander.Likhachev 4b1c7f1c11 Bump max Gradle version to 7.6 in integration tests 2023-01-16 11:43:24 +00:00
Abduqodiri Qurbonzoda ba2833b90f Mark Base64 API with ExperimentalEncodingApi 2023-01-16 11:24:50 +00:00
Abduqodiri Qurbonzoda 954ec1f63c Introduce @ExperimentalEncodingApi for binary-to-text encoding API 2023-01-16 11:24:50 +00:00
Abduqodiri Qurbonzoda dc03a03762 Introduce basic, url-safe and mime Base64 variants #KT-9823 2023-01-16 11:24:49 +00:00
Ilya Chernikov ea255135a4 Scripting: avoid CME in maven resolving in IDE scenarios
combination of laziness in AetherResolveSession and possibly
async-modifiable repos collection in MavenDependenciesResolver
may lead to the CME.
#KT-54733 fixed
2023-01-15 20:11:56 +01:00
Ilya Chernikov 6c035bb5f4 Scripting: support scripts starting with UTF-8 BOM
#KT-54705 fixed
2023-01-15 20:11:56 +01:00
Ilya Chernikov 989c1ec64d Scripting: allow slf4j relocation
#KT-53283 fixed
2023-01-15 20:11:56 +01:00
Ilya Chernikov 80c80ad4e0 Scripting: replace slf4j-nop binding with -simple one in main-kts
will allow to see aether loging in case of resolving problems and may
simplify some problems similar to #KT-54819
2023-01-15 20:11:56 +01:00
Ilya Chernikov 400762635a Scripting: update version of maven resolver dependencies 2023-01-15 20:11:56 +01:00
Ilya Chernikov d8650d9b04 Scripting: support compiler plugins in hosted script compiler
Now the plugin-related compiler arguments are respected then used in
the compiler configuration (only in the static part, not supported
if set in a refinement callback)
Note that the "embeddable" version of the plugin should be used if
embeddable compiler is used.
#KT-54095 fixed
2023-01-15 11:14:41 +01:00
Ilya Chernikov d82f8b11f7 minor: bump k-x-serialization version in a main-kts test 2023-01-15 11:14:41 +01:00
Svyatoslav Kuzmich d14d4c8510 [Wasm] Support JsModule and JsQualifier 2023-01-13 21:58:34 +00:00
Yahor Berdnikau a7cb58418b Bump max AGP version in tests to 7.4.0 2023-01-13 20:38:17 +00:00
Alexander.Likhachev 25fb641da7 [Gradle, MPP] Slightly rework testAndroidMultiplatformPublicationAGPCompatibility
Each AGP version has its own compatible Gradle versions range. This commit adds additional version requirements for tests to respect AGP limitations
#KT-52998 In Progress
2023-01-13 16:28:00 +00:00