Alexander Udalov
7f90111283
Build: remove obsolete -Xbuiltins-from-sources from stdlib build
...
It was removed in 77dba281a3 .
2024-02-28 07:25:47 +00:00
nataliya.valtman
485840731d
Remove old build report properties
...
kotlin.build.report.dir and kotlin.internal.single.build.metrics.file
were deleted
#KT-64380
2024-02-27 21:46:53 +00:00
nataliya.valtman
a7f57710e2
Create checker for deprecated gradle properties
...
#KT-64380 Fixed
2024-02-27 21:46:52 +00:00
Abduqodiri Qurbonzoda
65cfc578a8
Introduce constructor-like function for AutoCloseable #KT-66102
2024-02-27 20:52:49 +00:00
Abduqodiri Qurbonzoda
557ea32f87
Introduce kotlin.AutoCloseable typealias in K/JVM stdlib #KT-55777
2024-02-27 20:52:49 +00:00
Abduqodiri Qurbonzoda
98ad68eb90
Promote AutoCloseable & use to stable #KT-65532
2024-02-27 20:52:49 +00:00
Abduqodiri Qurbonzoda
0811a5b77b
Promote enumEntries() to stable #KT-65532
2024-02-27 19:49:12 +00:00
Timofey Solonin
7e9e064748
Add an IT for publication of multiplatform resources in a jvm target
...
^KT-65540
2024-02-27 14:04:51 +00:00
Timofey Solonin
370799b4e3
Publish multiplatform resources in for jvm target
...
^KT-65540
2024-02-27 14:04:51 +00:00
Timofey Solonin
3dd33e5aa7
Add external APIs to publish multiplatform resources in a target
...
^KT-65540
2024-02-27 14:04:51 +00:00
Artem Daugel-Dauge
fff5a412ec
[Gradle] Xcode version too high warning
...
Adds new warning diagnostic that checks that selected Xcode version is not higher than latest tested with the current Kotlin version
^KT-62373 Verification Pending
2024-02-27 13:23:55 +00:00
Artem Daugel-Dauge
e822375461
[Gradle] Fix CocoaPods configuration cache IT for Gradle 8.6
2024-02-27 13:23:33 +00:00
Alexander.Likhachev
2d161723d5
[Gradle] Regenerate Gradle compiler arguments DSL
...
^KT-65986 Fixed
2024-02-27 13:07:18 +00:00
Alexander.Likhachev
83a9ac62ea
[Gradle] Regenerate Gradle compiler arguments DSL
...
^KT-65986 In Progress
2024-02-27 13:07:18 +00:00
Timofey Solonin
5ddc7b47ef
Add a task to hierarchically assemble multiplatform resources
...
^KT-65540
2024-02-27 10:27:38 +00:00
Timofey Solonin
74628c0394
Register multiplatform publication extension
...
^KT-65540
2024-02-27 10:27:38 +00:00
Timofey Solonin
ea0c3837a0
Add kotlin.mpp.enableResourcesPublication feature toggle
...
^KT-65540
2024-02-27 10:27:38 +00:00
Nataliya.Valtman
5885514c3d
Add JSON output type for build reports
...
#KT-65792 Fixed
2024-02-27 08:32:36 +00:00
Anton Lakotka
3ff2bc403c
[Gradle] Report warning when there is multiple source roots in compilation
...
This issue should warn users about possible problems in K2 compiler.
Because in this setup there will be no symbols visibility between
those source set roots as it used to be in K1.
There is an assumption that this case usually appears in the code
generation setup. And users might not experience any problems before.
^KT-64913 Verification Pending
2024-02-27 02:01:25 +00:00
Yahor Berdnikau
bdb96dc0db
[Gradle] Rename to HasConfigurableKotlinCompilerOptions
...
Added "Kotlin" to better indicate to what this interface belongs to.
^KT-65196
2024-02-26 19:32:26 +00:00
Andrey Yastrebov
28a305a826
KT-65928 Worker API for Swift Export
2024-02-26 12:44:22 +00:00
Abduqodiri Qurbonzoda
31aa71dd6a
Promote Common String.toCharArray(destination) to stable #KT-65532
2024-02-26 10:48:29 +00:00
Andrey Yastrebov
2ae8d28b33
KT-65582 Swift export XCTest integration tests
2024-02-26 09:57:12 +00:00
Andrey Yastrebov
6146a59636
KT-65582 Swift export build integration tests
2024-02-26 09:57:12 +00:00
Andrey Yastrebov
444dc790db
KT-65582 Extract xcode simulator test helpers
2024-02-26 09:57:12 +00:00
Andrey Yastrebov
6ed6e7ce28
KT-65582 Add Swift export test tags
2024-02-26 09:57:12 +00:00
Dmitriy Novozhilov
eb85caedad
[FIR] Search for typealias in dependencies, if expect class was found first
...
^KT-65840 Fixed
2024-02-26 09:25:57 +00:00
Anton Lakotka
3e5afcaaba
[Gradle] Setup Consistent metadata dependencies resolution
...
Configure consistent metadata resolution only for source sets that
participate in metadata compilation. i.e. test or any other extra
compilations should be excluded.
^KT-65954 Verification Pending
^KT-66047 Verification Pending
2024-02-25 20:59:03 +00:00
Anton Lakotka
c027ba642f
[Gradle] Introduce SourceSetDependenciesResolution dsl for tests
...
It allows to mock published via gradle libraries to verify
dependency resolution correctness.
2024-02-25 20:59:03 +00:00
Anton Lakotka
46abf63796
[Gradle] Compare resolved components ignoring versions for source sets
...
Source Set Visibility algorithm relies on the match between metadata
dependencies resolution and platform dependencies resolution. However
there is a chance that they don't match in versions.
i.e. commonMain resolved into 1.0 but jvmMain got 2.0 of the same
library. However this discrepancy is not correct after all. And
both metadata compilations and platform compilations should see the same
set of libraries. This behavior will be fixed in KT-66047
^KT-65954 Verification Pending
2024-02-25 20:59:03 +00:00
Anton Lakotka
32be35051d
[Gradle] Test that metadata compilation for bug KT-65954 doesn't fail
...
Metadata compilation should not fail when test source set has
dependency with higher version
^KT-65954 Verification Pending
2024-02-25 20:59:03 +00:00
Ilya Chernikov
49559d2a5a
K2 Scripting: fix implicit receivers resolution order
...
#KT-65975 fixed
2024-02-23 22:03:44 +00:00
Sebastian Sellmair
d80e6f8d66
[kotlin-tooling-core] Implement 'closure' sequence APIs
2024-02-23 15:48:47 +00:00
Sebastian Sellmair
704379934e
[kotlin-tooling-core] Allow nullable extra values
...
The change is binary compatible, but not source compatible.
Potential clients like Google might need to adapt
a potential `IdeaKotlinExtrasSerializationExtension` implementaiton.
Right now, no such implementation is known
2024-02-23 07:31:32 +00:00
Ilya Gorbunov
85854a6b8d
[stdlib] Make enumEntriesIntrinsic not reified/inline
...
It's required to simplify the corresponding backends' inliners.
KT-59712, KT-59713
2024-02-23 05:50:37 +00:00
Ilya Gorbunov
86d5e83f4b
[stdlib] Remove bootstrap implementation of enumEntriesIntrinsic
...
It should have been already implemented as intrinsic in all backends.
Do not test enumEntries intrinsic in the old JVM BE.
KT-53154
Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com >
2024-02-23 05:50:37 +00:00
Dmitriy Dolovov
d70dd7808b
[kotlinp] Fix: Forgotten sorting of KmClasses in KlibKotlinp
...
The declarations that are printed by the kotlinp tool may be optionally
sorted. That's controlled by `sortDeclarations` flag in
`org.jetbrains.kotlin.kotlinp.Settings`. However, there was no sorting
implemented for `KmClass`es.
This commit fixes that.
^KT-62340
2024-02-22 22:21:30 +00:00
Yahor Berdnikau
1d9129f688
[Gradle] Bump max Gradle version in tests to 8.6
...
^KT-64378 Verification Pending
2024-02-22 19:01:29 +00:00
Andrey Yastrebov
d76a6d6a9c
KT-65741 Add Swift Export KGP tasks
2024-02-22 18:46:01 +00:00
Ilya Goncharov
eabd2f0fc7
[Gradle, Wasm] Fix mismatch report message for upgradeLockFile
...
^KT-65870 fixed
2024-02-22 18:33:46 +00:00
Ilya Goncharov
bca785a87c
[Gradle, Wasm] Fix copying wasm file to destination dir
...
^KT-65889 fixed
2024-02-22 14:53:54 +00:00
Yahor Berdnikau
6b19b8b9d0
[Repo] Don't use kotlinOptions in repo build scripts
...
^KT-63419 In Progress
2024-02-22 14:48:10 +00:00
Bogdan Mukvich
ff2fea390b
Fix snapshot deployment maven params
...
^KT-65944
2024-02-21 17:13:29 +00:00
Ilya Gorbunov
0ecbbbf1ca
[stdlib] Set AV to 2.0, LV to 1.9 for main compilations, build tests with K2
2024-02-21 16:28:12 +00:00
Artem Daugel-Dauge
7ab691fcef
[Gradle] Forbid using embedAndSign together with Pod-dependencies
...
^KT-64096 Verification Pending
2024-02-21 11:25:31 +00:00
Yahor Berdnikau
f5de0f9399
[Gradle] Use BuildFeatures service to get project isolation feature state
...
^KT-64355 Verification Pending
2024-02-21 10:20:20 +00:00
Yahor Berdnikau
e405072419
[Gradle] Use BuildFeatures service to get configuration cache feature state
...
^KT-64355 In Progress
2024-02-21 10:20:19 +00:00
Yahor Berdnikau
2a195062a8
[Gradle] Add plugin variant for Gradle 8.5
...
^KT-64355 In Progress
2024-02-21 10:20:19 +00:00
Ilya Gorbunov
c2e28149e6
[stdlib] Enable link-via-signatures to workaround KT-62798
2024-02-20 19:59:16 +00:00
Dmitrii Krasnov
f525d03e67
[Gradle] Moved downloading konan dependencies from compiler to Gradle
...
^KT-65823 Fixed
2024-02-20 15:47:58 +00:00