Ilya Gorbunov
e627356aea
docs: cleanup remaining previous version specializations
2023-03-07 17:55:22 +00:00
Yahor Berdnikau
5ddd60a015
Add '-progressive' option into Gradle compiler options DSL
...
^KT-53923 Fixed
2023-03-07 17:32:20 +00:00
Alexander.Likhachev
cef557c407
[IC] Notify user about enabled IC backup optimizations
...
KT-52625, KT-55995, KT-56052 Related
2023-03-07 16:19:24 +00:00
Alexander.Likhachev
ae75736864
[Gradle] Enable in-memory wrappers for the precise outputs backup tests
...
#KT-56052 In Progress
2023-03-07 16:19:23 +00:00
Alexander.Likhachev
3ed651a7a6
[Gradle] Add a property to control if the IC caches in-memory wrapper is enabled
...
#KT-56052 In Progress
2023-03-07 16:19:20 +00:00
Oleg Yukhnevich
dddd5a57c5
fix api dumpp
2023-03-07 13:57:35 +01:00
Oleg Yukhnevich
3726bf0ed5
replace KDoc comment with simple one
2023-03-07 13:57:35 +01:00
Oleg Yukhnevich
3f8f25fe43
move ExperimentalWasmDsl opt-in to file level
2023-03-07 13:57:35 +01:00
Oleg Yukhnevich
b240b8452a
support WASM in KotlinTargetHierarchyBuilder
2023-03-07 13:57:35 +01:00
Yahor Berdnikau
174f39aa46
Add '-opt-in' option into Gradle compiler options DSL
...
^KT-53924 Fixed
2023-03-07 09:40:09 +00:00
Sebastian Sellmair
d23a4f46cc
[Gradle] Split Tasks.kt into several source files (per class) (2/2)
...
^KT-57142 Verification Pending
2023-03-06 18:19:12 +00:00
Sebastian Sellmair
02ac54fe5f
[Gradle] Split Tasks.kt into several source files (per class) (1/2)
...
^KT-57142 Verification Pending
2023-03-06 18:19:11 +00:00
Ivan Kochurkin
de5b475f7a
[FIR] Use KlibBasedSymbolProvider in FirCommonSessionFactory
...
Unify logic of KLib resolving (Common and JS)
^KT-56354 Fixed
2023-03-03 20:58:24 +00:00
Svyatoslav Kuzmich
eb8c47343a
[Wasm] Don't use js("code") in browser API
...
Use internal newJsObject to create new objects instead.
This is a preparation for restricted js("code") support (KT-56955)
2023-03-03 19:39:09 +00:00
Nikolay Lunyak
bb368bd191
KT-56687: Unify handling of EnumEntries.
...
`supportsEnumEntries` in `EnumCLassLowering` is not really
needed, but it was left just in case.
Both K1 and K2 ensure the feature is
enabled before they generate IR.
`supportsEnumEntries` is not enough, because the frontend will not
generate `entries` if `kotlin.enums.EnumEntries` is not available
(linking against an outdated stdlib is considered a valid use-case).
From the resolution point of view,
it's OK to resolve into `entries` while
the feature is off, because then K1 reports an error on the call site.
^KT-56687 Fixed
^KT-55614 Fixed
2023-03-02 10:23:38 +00:00
Pavel Kargashinsky
6d7e17e60c
[Gradle][Tests] Remove unnecessary arch -x86_64 usage for arm Mac
2023-03-01 16:32:03 +00:00
Pavel Kargashinsky
f4d2283f87
[Gradle][Tests] Bump AGPVersion to 4.2.2
2023-03-01 16:32:02 +00:00
Sebastian Sellmair
7c3e242a64
[Gradle] Disable K2HierarchicalMppIT using Disabled instead of Ignore
...
^KT-56210 Verification Pending
2023-03-01 16:30:46 +00:00
Sebastian Sellmair
ff9d4799aa
[Gradle] KotlinCompilationK2MultiplatformConfigurator: Only configure when K2 is used
...
^KT-56210 Verification Pending
2023-03-01 16:30:45 +00:00
Sebastian Sellmair
896d1ce267
[Gradle] Rename K2CompileTask to K2MultiplatformCompilationTask
...
^KT-56210 Verification Pending
2023-03-01 16:30:45 +00:00
Sebastian Sellmair
a30abcb00c
[Gradle] Move KotlinCompilationK2MultiplatformConfigurator into 'DefaultKotlinCompilationPreConfigure'
...
^KT-56210 Verification Pending
2023-03-01 16:30:45 +00:00
Sebastian Sellmair
b90207edb9
[Gradle] Rename -Xdepends-on to -Xfragment-refines and use ':' for -Xfragment-sources instead of ';'
...
^KT-56210 Verification Pending
2023-03-01 16:30:44 +00:00
Sebastian Sellmair
a692de871b
[Gradle] Rename KotlinNativeCompile.buildKotlinNativeKlibCompilerArgs to buildCompilerArgs
...
^KT-56210 Verification Pending
2023-03-01 16:30:44 +00:00
Sebastian Sellmair
015941b195
[Gradle] Ensure KotlinCompilationK2MultiplatformConfigurator does not force eager task evaluation
...
^KT-56210 Verification Pending
2023-03-01 16:30:44 +00:00
Sebastian Sellmair
b51fa78559
[Gradle] Rename K2Compile to K2CompileTask and expose KotlinCommonCompilerOptions
...
^KT-56210 Verification Pending
2023-03-01 16:30:43 +00:00
Sebastian Sellmair
cda92fa456
[Gradle][Minor] Fix test - okio - getArtifacts not using mavenLocal()
...
^KT-56210 Verification Pending
2023-03-01 16:30:43 +00:00
Sebastian Sellmair
aecbbe3856
[Gradle][Minor] KlibBasedMppIT.kt: Remove unused import
...
^KT-56210 Verification Pending
2023-03-01 16:30:43 +00:00
Sebastian Sellmair
cb61b93ea3
[Gradle] Implement initial K2 based versions of existing integration tests
...
^KT-56210 Verification Pending
2023-03-01 16:30:42 +00:00
Sebastian Sellmair
a6d145eb4f
[Gradle] Implement K2MultiplatformStructureTest
...
^KT-56210 Verification Pending
2023-03-01 16:30:42 +00:00
Sebastian Sellmair
4f48cac601
[Gradle] Pass multiplatform structure to K2
...
^KT-56210 Verification Pending
2023-03-01 16:30:42 +00:00
Sebastian Sellmair
6c618ae5cc
[Gradle] Add KotlinVersion.DEFAULT
...
KT-56210
2023-03-01 16:30:41 +00:00
Sebastian Sellmair
57b32b6f69
[Gradle] Fix cryptic task descriptions of Kotlin Compile Tasks
...
^KT-57023 Verification Pending
2023-03-01 08:55:59 +00:00
Sebastian Sellmair
de138532c7
[Gradle] Multiplatform: Bump minSupportedVersion for AGP to 4.2
...
^KT-56654 Verification Pending
2023-03-01 08:55:04 +00:00
Sebastian Sellmair
cd7b4eb632
[Gradle] Multiplatform: Bump maxSupportedVersion for AGP to 8.0
...
^KT-56654 Verification Pending
2023-03-01 08:55:04 +00:00
Alexander Korepanov
a0727b22bb
[Gradle, JS] Make KotlinJsIrLink::rootCacheDirectory public
...
^KT-56999 Fixed
2023-02-28 14:58:09 +00:00
Alexander.Likhachev
1af19e6903
[Gradle] Configure process resources task names from Java source sets
...
#KT-56645 Fixed
2023-02-27 22:46:28 +00:00
Alexander.Likhachev
11049c1ab6
[Gradle] Add test for KT-56645
2023-02-27 22:46:28 +00:00
Ilya Gorbunov
d2dc23d8bb
Introduce Path.createParentDirectories function #KT-53263
2023-02-27 20:36:21 +00:00
Artem Daugel-Dauge
5b841a3af6
[Gradle] Fix Gradle Native IT on x86 macos
...
This includes a workaround for a cocoapods bug which was triggered by deprecation
of AFNetworking and a fix of asserting on OS-specific command invocation.
2023-02-27 16:40:42 +00:00
Alexander Korepanov
4cda89db9e
[JS IR] Fix klib fingerprint format
...
^KT-56961 Fixed
2023-02-27 12:42:23 +00:00
Yahor Berdnikau
473a2dc87c
Fix KaptGenerateStubsTask freeCompilerArgs duplication
...
Now this task uses configured freeCompilerArgs both from itself and from
linked KotlinCompile task. When these tasks are configured with the
same value this leads to freeCompilerArgs duplication.
Added workaround is to use linked KotlinCompile freeCompilerArgs as
convention value for KaptGenerateStubsTask. Proper fix will be done via
KT-54468.
^KT-55452 Fixed
^KT-55565 Fixed
2023-02-24 09:20:23 +00:00
Yahor Berdnikau
a49906f4e4
Bump AGP dependency version to 4.2.2
...
^KT-56454 Fixed
2023-02-24 09:17:47 +00:00
Yahor Berdnikau
db5589121d
Bump minimal supported AGP version to 4.2.2
...
^KT-56454 In Progress
2023-02-24 09:17:47 +00:00
Anton Lakotka
fa4bbdf6d6
[Gradle] Avoid configuration resolution in MPP projects
...
Add `getResolvedArtifactsCompat` for compatibility with gradle <7.4
However configurations are still resolved in these gradle versions
^KT-51940 Verification Pending
2023-02-23 17:59:56 +00:00
Simon Ogorodnik
253cdb1b8f
KT-56789: Fix memory leak in CoreJrtFileSystem
...
CoreJrtFileSystem uses JrtFileSystemProvider provider to read contents
of jrt-fs from JDK
Implementation of FileSystems.newFileSystem causes metaspace memory leak
that wasn't fixed until JDK 17, see
https://bugs.openjdk.java.net/browse/JDK-8260621
When FileSystems.newFileSystem used to create jrt-fs on JDK9 with
provided java.home value it creates new ClassLoader under-the-hood,
which subsequently leaks due to aforementioned bug
Remove conditional usage of `java.home` + FileSystems.newFileSystem and
switch to use jrt-fs classloader cache regardless of
compiler runtime JDK to reduce classloader leaks
^KT-56789
2023-02-23 15:55:24 +00:00
Aleksei.Cherepanov
25b6eb3114
[Maven] Add tests for K2
...
#KT-56903 Fixed
Co-authored-by: Ilya Gorbunov <Ilya.Gorbunov@jetbrains.com >
Merge-request: KT-MR-8922
Merged-by: Aleksei Cherepanov <aleksei.cherepanov@jetbrains.com >
2023-02-23 11:24:20 +00:00
Ilya Gorbunov
69b90e107c
Fix missing native-wasm source set in legacy docs build
2023-02-22 23:52:43 +00:00
Ilya Gorbunov
5a2d557839
docs: specialize build for latest version
...
- leave only the latest version in versions list
- remove conditions for previous versions
- merge JVM7/8 source sets into JVM
2023-02-22 23:52:43 +00:00
Ilya Gorbunov
ba6732ac17
Render kotlin-reflect library documentation in a separate module
2023-02-22 23:52:42 +00:00
Ilya Gorbunov
d695b0eac4
Setup multi-module docs build task
2023-02-22 23:52:42 +00:00