sebastian.sellmair
c684588ebb
[KPM] KotlinFragmentPlatformAttributes: Only set jvm environment on Gradle 7+
2022-01-26 21:51:56 +00:00
sebastian.sellmair
629f7a66d6
[KPM] Implement KotlinFragmentConfigurationDefinitionTest
2022-01-26 21:51:55 +00:00
sebastian.sellmair
2d8bcc11ae
[KPM] Split KotlinFragmentConfigurationDefinition source file
...
... and tweak names of extension functions to make them more coherent
with Gradle APIs
2022-01-26 21:51:55 +00:00
sebastian.sellmair
7aceda94ac
[KPM] Convert noop implementations from 'object' to 'val'
...
This is to avoid leaking the extension function defined
inside those objects to the global namespaces.
Using these extensions on the receiver outside the
noop object makes no sense.
2022-01-26 21:51:55 +00:00
sebastian.sellmair
dfac177d35
[KPM] Rename ConfigurationContextImpl to KotlinGradleFragmentConfigurationContextImpl
2022-01-26 21:51:54 +00:00
sebastian.sellmair
0c579ec9b6
[KPM] variantPublishing: Temporary workaround to only publish .aar
2022-01-26 21:51:54 +00:00
sebastian.sellmair
d5823a5f7b
[KPM] Implement kotlin-gradle-plugin-kpm-android module for prototyping
2022-01-26 21:51:53 +00:00
sebastian.sellmair
590bf6ed9a
[KPM] Implement preliminary 'ExternalVariantApi'
2022-01-26 21:51:53 +00:00
sebastian.sellmair
986cf1ae51
[KPM] Implement *ConfigurationDefinition and Kotlin*VariantConfig APIs
...
Those new APIs shall make it easier for external Variant authors
(Android) to reuse logic from KGP with more clear semantic.
2022-01-26 21:51:53 +00:00
sebastian.sellmair
47a1d2aec6
[Gradle] Fix wrong project path to :kotlin-test:kotlin-test-junit
2022-01-26 21:51:52 +00:00
Stanislav Erokhin
0347a737f6
Exclude the :compiler:cli-js from the kotlin-compiler-fe10-for-ide.jar
...
:compiler:cli already excluded and :compiler:cli-js have references
to the classes from :cli.
P.s. the excluded list for kotlin-compiler-for-ide artifact is way more
we need to review that and refactor
2022-01-27 00:29:11 +03:00
Igor Yakovlev
a655f9da58
[WASM] Remove ignore from passing tests
2022-01-26 23:40:42 +03:00
Igor Yakovlev
2ec0411a7f
[WASM] DCE implementation
2022-01-26 23:40:41 +03:00
sebastian.sellmair
84caad7ba2
[Gradle][MPP] Remove duplicated dependencyProjectStructureMetadata input
...
This input is now tracked in the new `ChooseVisibleSourceSetProjection`
KT-50952
2022-01-26 17:18:17 +00:00
sebastian.sellmair
af61ea9cb7
[Gradle][MPP] Correctly rename test for KT-50952
2022-01-26 17:18:16 +00:00
sebastian.sellmair
abed5b98ac
[Gradle][MPP] Implement ChooseVisibleSourceSetProjection as nested task input
...
^KT-50952 Verification Pending
2022-01-26 17:18:16 +00:00
sebastian.sellmair
f7c3ed7888
[Gradle][MPP] Add MppCInteropDependencyTransformationIT test for KT-50952
2022-01-26 17:18:16 +00:00
Dmitry Petrov
e55f7459f4
JVM_IR drop StripTypeAliasDeclarationsLowering
2022-01-26 12:49:20 +00:00
Svyatoslav Scherbina
149e596bef
Native: support -Xoverride-konan-properties in generatePlatformLibraries
2022-01-26 12:43:41 +00:00
Svyatoslav Scherbina
1d3e72cef4
Native: do not cache DependencyProcessor.localKonanDir
...
Caching is wrong when the compiler is working in Gradle daemon, because
the daemon can change the environment, while localKonanDir depends on
the environment.
2022-01-26 12:43:41 +00:00
Mikhail Glukhikh
ad0d0ca47f
Drop redundant Suppress("RemoveExplicitTypeArguments")
2022-01-26 12:19:55 +00:00
Dmitriy Dolovov
02d74fbd87
[Native][tests] Pass "free compiler args" to static cache compilations
...
^KT-50775
2022-01-26 13:36:27 +03:00
Dmitriy Dolovov
33a09fbb77
[Native][tests] Support all cache modes in KLIB ABI tests
...
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov
008734f146
[Native][tests] Use fewer number of static cache directories
...
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov
255f97b771
[Native][tests] Support three modes for KLIB caches
...
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov
4b660d3503
[Native][tests] Load custom cache compiler args from konan.properties
...
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov
f2bd2f3e7d
[Native][tests] Keep KLIB dirs in KotlinNativeHome settings
...
^KT-50775
2022-01-26 13:36:26 +03:00
Dmitriy Dolovov
33ca8b528c
[Native][tests] Support static cache as a separate compilation and dependency type
...
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov
e03bfaee0b
Minor. Comments fixed
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov
ca27eac254
[Native][tests] Refactoring: Use typed compilations and artifacts
...
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov
7df68af664
[IR, Native] KLIB ABI tests: backup but don't overwrite artifacts
...
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov
3648ae222c
[IR, Native] KLIB ABI tests: add support to new test infrastructure
...
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov
9096725d1d
[IR, JS] KLIB ABI tests: separate testing logic so that it can be reused in non-JS tests
...
^KT-50775
2022-01-26 13:36:25 +03:00
Dmitriy Dolovov
d64a720749
[IR, JS] KLIB ABI tests: create KotlinCoreEnvironment in setUp()
...
^KT-50775
2022-01-26 13:36:24 +03:00
Dmitriy Dolovov
d80572dac8
[IR, JS] KLIB ABI tests: create and clean up build directory with setUp()/tearDown()
...
^KT-50775
2022-01-26 13:36:24 +03:00
Dmitriy Dolovov
703fd8539d
[IR, JS] KLIB ABI tests: don't create unnecessary disposable
...
^KT-50775
2022-01-26 13:36:24 +03:00
Dmitriy Dolovov
3ec4a8d6f3
[IR] Rename LinkageError symbol to IrLinkageError
...
This is needed to 1) avoid ambiguity about the type of linkage used in Kotlin/Native compiler, 2) have the same exception name in JS and Native backends.
^KT-50775
2022-01-26 13:36:24 +03:00
Dmitriy Dolovov
24b011436c
[IR] Improve partial linkage error messages
...
^KT-50775
2022-01-26 13:36:24 +03:00
Dmitriy Dolovov
15e6101608
[IR, Native] Support partial linkage in backend
...
^KT-50775
2022-01-26 13:36:23 +03:00
Dmitriy Dolovov
4726b14c4b
[IR, Native] Refactoring: Introduce KonanUnlinkedDeclarationsSupport
...
^KT-50775
2022-01-26 13:36:23 +03:00
Dmitriy Dolovov
319125607e
[IR, JS] Refactoring: Introduce JsUnlinkedDeclarationsSupport
...
^KT-50775
2022-01-26 13:36:23 +03:00
Dmitriy Dolovov
0b1a7d05a9
[IR] Move UnlinkedDeclarationsProcessor to another package
...
^KT-50775
2022-01-26 13:36:23 +03:00
Dmitriy Dolovov
cc37934d6f
[IR, Native] Add compiler flag for partial linkage mode
...
^KT-50775
2022-01-26 13:36:23 +03:00
Aleksei.Cherepanov
9971ae4ffd
Revert "Fix org.jetbrains.kotlin.jps.build.KotlinJpsBuildTest#testSourcePackageLongPrefix"
...
This reverts commit e3634c16
2022-01-26 10:03:06 +00:00
Aleksei.Cherepanov
44d796e850
Fix JPS tests after JPS module moved to Kotlin repo
...
Fix testdata of new compiler tests for JPS, as it is build-log-sensitive:
ClassHierarchyAffected.testWithIntermediateBodiesChanged
PureKotlin.testSerializedSubClassAndChangedInterfaces
WithJava.JavaUsedInKotlin.testRawErrorTypeDuringSerialization
Mute JavaUsedInKotlin.SamConversions tests, as it was fixed in 212 idea
Add missed part of commit 5f4be072 [JPS] Fix JS incremental compilation
Part of commit, located in JPS module, was missed during JPS relocation
Fix test MixedInheritance for non-JPS builds
Depends on commit [CHERRY PICKED FROM IJ] [testdata] Replace test IncrementalJvmJpsTest...
2022-01-26 10:03:05 +00:00
Aleksei.Cherepanov
411a0ecc38
[CHERRY PICKED FROM IJ] [testdata] Replace test IncrementalJvmJpsTestGenerated.WithJava.JavaUsedInKotlin.testMixedInheritance with new one
...
Replace test because JPS recompile inherited classes only in case of existence of direct use (like override or direct call of parent methods).
Tested cases:
*Add new abstract method when derived class does not abstract
*Add and remove method, when such method is present in derived class
*Change return type/access modifier
GitOrigin-RevId: 767e58ba3d3e4069838c717666329b43f1b8e936
Original commit: https://github.com/JetBrains/intellij-community/commit/d738c61aaefe95acd8130066f53f8d8bcadfa977
2022-01-26 10:03:04 +00:00
Sergey.Shanshin
aa1700f3e7
Fixed serialization with custom serializer for parametrized sealed class
...
#KT-50764 Fixed
#KT-50718 Fixed
Fixes Kotlin/kotlinx.serialization#1705
2022-01-26 09:42:36 +00:00
Ilya Matveev
acced31bb2
[K/N] Fix CMS GC hanging on Windows
...
Issue #KT-50948 Fixed
2022-01-26 12:57:09 +07:00
Nikita Bobko
81b4760907
Kotlin JPS plugin: set JVM bytecode target to 1.8
...
^KTIJ-20854 Fixed
2022-01-25 18:28:25 +00:00
sebastian.sellmair
e8d64542b0
Bump bundled K/N version to 1.7.0-dev-1037
2022-01-25 16:59:28 +00:00