Sergey Igushkin
57b85e155c
KPM/Gradle: don't include host-specific klibs into the common metadata
2022-02-14 15:04:56 +00:00
Sergey Igushkin
c3fe4e7fb2
KPM/Gradle: disable metadata compilations for JVM & JS shared fragments
2022-02-14 15:04:56 +00:00
Sergey Igushkin
dbb34a44f0
Map Kotlin/Native compilation to the supported-platform KPM variants
2022-02-14 15:04:56 +00:00
Sergey Igushkin
c67f80e1f3
Map Kotlin/Native compilation to the supported-platform KPM variants
2022-02-14 15:04:55 +00:00
Sergey Igushkin
736a33b182
Fix missing K/N compilation task dependency in the compilationOoutputs
2022-02-14 15:04:55 +00:00
Sergey Igushkin
992f7bf3c1
Disable o.j.k.multiplatform publications with KPM model mapping
2022-02-14 15:04:54 +00:00
Sergey Igushkin
bc65bb0775
Improve friend paths calculation in KPM: use actual resolution results
...
Avoid adding compilation outputs of all variants to the friend paths, as
this leads to false task dependencies, and also the real file system
paths on the classpath may not point to the compilation outputs and will
rather use the *Elements artifacts.
2022-02-14 15:04:54 +00:00
Sergey Igushkin
3f49217cc9
Prepare intermediate layer of model mapping in Kotlin compilations
...
Extract all logic and internal model that may be different in different
modes to a separate entity called "compilation details"
2022-02-14 15:04:54 +00:00
Sergey Igushkin
8753ea592f
KPM-mapped-model: simple mapping of JVM variants
2022-02-14 15:04:53 +00:00
Sergey Igushkin
bc8f795f71
Fix BasePluginConvention deprecation in KGP
2022-02-14 15:04:53 +00:00
Sergey Igushkin
2c6c2c3929
Improve registering resources tasks in compilations: support laziness
2022-02-14 15:04:52 +00:00
Sergey Igushkin
876ab4ae52
KPM minor fix registering JVM compilation classesDirs
2022-02-14 15:04:52 +00:00
Sergey Igushkin
0acf923d6a
Rewrite the checks for the presence of KPM: adapt them to mapped models
2022-02-14 15:04:52 +00:00
Sergey Igushkin
d495c5b604
Introduce a container for the KPM model for different kinds of projects
2022-02-14 15:04:51 +00:00
Sergey Igushkin
a998e2d291
Model mapping experiment: map source sets to KPM fragments
...
TODO: keep type compatibility,
inject the behavior in DefaultKotlinSourceSet
2022-02-14 15:04:51 +00:00
Yahor Berdnikau
a26c7ace8b
Remove accidentally left test debug parameters
2022-02-14 16:08:22 +03:00
nataliya.valtman
d4d5c701fe
Make statistic more readable
2022-02-11 17:23:38 +03:00
Yahor Berdnikau
322b10f1bb
Fix changes in Android layout resources breaks incremental compilation
...
This only happens when project has 'kotlin-android-extensions' plugin
applied and 'experimental = true' flag is set. On changes in android
layout resources task was running full compilation instead running
incrementally.
^KT-51177 Fixed
2022-02-11 10:32:07 +00:00
Svyatoslav Kuzmich
4636f71076
[Wasm] Loader improvements
...
- Output ES modules instead of plain files
- Support -Xwasm-launcher=d8 for d8 shell used in tests and benchmarks.
- Reuse launcher generation logic in CLI and box tests runners.
- Create separate output directory for each box since
there are multiple output files generated for each test.
- Stop using absolute paths in generate JS files
to simplify running generated code on different machine
- Remove ">>>" from println output
Merge-request: KT-MR-5729
Merged-by: Svyatoslav Kuzmich <svyatoslav.kuzmich@jetbrains.com >
2022-02-10 22:59:44 +00:00
konstantin.tskhovrebov
c08d42d6bb
KT-50106 Add gradle property with global K/N linker flags
...
Clean NativePlatformLibsIT code
2022-02-10 20:22:50 +03:00
Abduqodiri Qurbonzoda
0d46d0d69b
[WASM] Sync stdlib-gen template with actual source code
2022-02-10 10:23:22 +00:00
sebastian.sellmair
0a85f0dd34
[Gradle] Implement ideaImportDependsOn API for KTIJ-20989
...
This will rely on a task called `prepareKotlinIdeaImport` which,
if present, will be invoked by the IDE before import.
Co-authored-by: Sergey Igushkin <Sergey.Igushkin@jetbrains.com >
Merge-request: KT-MR-5688
Merged-by: Sebastian Sellmair <Sebastian.sellmair@jetbrains.com >
2022-02-09 13:43:29 +00:00
konstantin.tskhovrebov
003cb156bf
KT-50106 Add gradle property with global K/N linker flags
2022-02-09 16:23:31 +03:00
nataliya.valtman
d089d27bef
Add proper kotlin version into http reports
2022-02-08 16:24:15 +00:00
Hung Nguyen
d018031cbf
KT-45777: Clean up build cache tests for incremental compilation
...
- Clean up BuildCacheRelocationIT.testKotlinIncrementalCompilation
- Delete BuildCacheIT.testKotlinCompileIncrementalBuildWithoutRelocation
as it is already covered by the test in BuildCacheRelocationIT
- Add BuildCacheRelocationIT.testKotlinIncrementalCompilation_withClasspathSnapshot
- Updated BuildCacheRelocationIT.testKotlinIncrementalCompilation_withClasspathSnapshot
2022-02-08 18:07:38 +03:00
sebastian.sellmair
200cc9f75f
[Gradle][MPP] Disabled CInteorp warning: Show cinterops instead of compilations
...
KT-51176
2022-02-08 09:22:15 +01:00
sebastian.sellmair
56de13fe2f
[Gradle][MPP] Show (potential) warning on disabled cinterop commonization
...
^KT-51176 Verification Pending
2022-02-08 09:22:15 +01:00
Ilya Goncharov
77b367fe96
rra/ilgonmic/ic-to-compiler
...
[JS IR] Fix compilation in tests
[JS IR] Fix test after migrating IC to compiler
[JS IR] Fix memory leak
[JS IR] Move js ic to compiler
Merge-request: KT-MR-5673
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
2022-02-07 11:40:16 +00:00
nataliya.valtman
56207abc27
KT-34862: Add kotlin build dir as output
...
build history files are non cacheable outputs
#KT-34862
2022-02-07 10:09:36 +00:00
Ilya Gorbunov
771eff503b
stdlib-docs: Use local ext link to stdlib instead of default
...
When building kotlin.test docs, do not query kotlinlang.org
for stdlib package list, but use the one built locally beside.
This avoids build failures when the site is not available.
2022-02-05 06:21:49 +00:00
Pavel Punegov
1ce7286c86
[Gradle][K/N] Don't use Gradle daemon <= 6.9 on macOS arm64
...
Native Apple Silicon support was added in 6.9. Older versions suffer
from inability to set environment variables in the daemon process
2022-02-04 13:21:47 +00:00
Pavel Punegov
da3f81c5da
[Gradle][test] Fix test to run it on macos arm64 hosts
...
Ignore tests with old ktor and coroutines on this target
Add test with newer versions that support arm64
2022-02-04 13:21:47 +00:00
Pavel Punegov
ecf1eef8db
[Gradle][test] Run IR linker test only on macos x64
...
Arm64 is supported in newer versions of Ktor and coroutines that
don't reproduce linkage failure
2022-02-04 13:21:46 +00:00
Pavel Punegov
da6409d0ca
[Gradle][test] CocoaPods test: force gem output to stdout
2022-02-04 13:21:46 +00:00
Pavel Punegov
74ac51a4cb
[Gradle][test] Ignore test that fails due to the ^KT-50925
2022-02-04 13:21:46 +00:00
Pavel Punegov
a4e4ffdf29
[Gradle][native] Generate run tasks for macos_arm64
...
^KT-48649 Fixed
2022-02-04 13:21:45 +00:00
Pavel Punegov
a8f2e9ced7
[Gradle][test] Correct iOS simulator targets for both x64 and arm64
2022-02-04 13:21:45 +00:00
Pavel Punegov
219d5e3ecf
[Gradle][test] Filter out connection message from stdout
2022-02-04 13:21:44 +00:00
Pavel Punegov
9b55ec43e7
[Gradle][test] Don't use daemon when testing environment variables
2022-02-04 13:21:44 +00:00
Igor Yakovlev
eb8c3aa54e
[WASM] Remove WasmImport annotation
2022-02-03 21:25:59 +01:00
Igor Yakovlev
d30a4fa4d5
[WASM/Native] Split AllCodePointsTest into two separate tests
2022-02-03 21:25:59 +01:00
Igor Yakovlev
8eec1743fb
[WASM] Remove TODO with UOE for std readln actuals
2022-02-03 21:25:59 +01:00
Igor Yakovlev
0fe7ad8157
[WASM] Enable std tests
2022-02-03 21:25:58 +01:00
Igor Yakovlev
32fbf69738
[WASM] Std code clean up
2022-02-03 21:25:58 +01:00
Igor Yakovlev
195513d4f2
[WASM] Workaround about call toTypedArray on AbstractCollection
2022-02-03 21:25:58 +01:00
Igor Yakovlev
c3a6d0b499
[WASM] Fix invalid constructors call flow for exceptions
2022-02-03 21:25:58 +01:00
Igor Yakovlev
e30b449454
[WASM] Replace non-performance way of building String from CharArray
2022-02-03 21:25:58 +01:00
Igor Yakovlev
a44b103da9
[WASM] Fix invalid equals/hashCode for Double.NaN and Float.NaN
2022-02-03 21:25:58 +01:00
Igor Yakovlev
ea76501f9e
[WASM] Implement ConstrainedOnceSequence
2022-02-03 21:25:58 +01:00
Igor Yakovlev
d0370bd145
[WASM] Fix invalid Array.fill methods implementations
2022-02-03 21:25:58 +01:00