sebastian.sellmair
290fda9c10
[Gradle] Replace o.j.k.g.utils.UnsafeApi with o.j.k.tooling.core.UnsafeApi
2022-05-23 14:40:51 +00:00
sebastian.sellmair
865a91784b
Share Test: binary compatibility run configurations
2022-05-23 14:40:50 +00:00
sebastian.sellmair
4f4f749c08
[kpm] Replace KotlinExternalModelContainer with new Extras implementation
...
This newly introduced `Extras` shall present a more generic mechanism
of attaching data of a given type to any entity.
2022-05-23 14:40:49 +00:00
Alexander Likhachev
7d49d3bac7
[Gradle] Don't try to build relative paths for Kapt exclude rules
...
#KT-52392 Fixed
2022-05-23 11:58:08 +00:00
Ilya Goncharov
e452efe51b
[Gradle, JS] environment map as input, not nested
...
Merge-request: KT-MR-6326
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
^KT-51532 fixed
2022-05-23 09:28:09 +00:00
Igor Yakovlev
b1c93fe53d
[WASM] Implement std print
2022-05-20 16:33:58 +02:00
Igor Yakovlev
7f0535ded9
[WASM] Fix test adapter reporting
2022-05-20 16:33:58 +02:00
Igor Yakovlev
15ba9682e8
[GradlePlugin] Add mixed mode for js and wasm compilations
2022-05-20 16:33:57 +02:00
Igor Yakovlev
73a86fffe5
[WASM] Bootstrap std compatibility fix
2022-05-20 16:33:57 +02:00
Igor Yakovlev
8da6ab7a04
[WASM] New VTable format
2022-05-20 16:33:57 +02:00
Dmitriy Novozhilov
29725ad007
[Build] Disable -Werror for libraries if FIR is enabled
2022-05-20 13:33:06 +00:00
Igor Yakovlev
9519d7998b
[WASM] Run all std tests with d8
2022-05-20 12:22:43 +03:00
sebastian.sellmair
d7bfa02bb3
[tooling-core] Add KotlinToolingVersionOrNull factory function
2022-05-19 12:46:04 +00:00
Dmitriy Novozhilov
993021a71d
[Build] Use 1.8 target version instead of 1.6 while using JPS build
2022-05-19 07:14:21 +00:00
Ivan Kylchik
1564f2c549
Mark all declarations that will be evaluated with ir interpreter
2022-05-18 21:19:54 +03:00
Ilya Muradyan
00819c421f
[REPL] Report script codegen errors in advance
2022-05-18 10:02:58 +03:00
Anton Lakotka
bd299ed12c
[Test] Rename gcc* to configCache* variable to avoid ambiguity
...
^KT-51947
2022-05-18 05:48:42 +00:00
Anton Lakotka
1c65ef28f8
[Test] Update warning message for tasks that disables GCC
...
cherry-picked from 26b4c946e67b25b7206c37ba56a79e5ffeb04dd6
^KT-51947
2022-05-18 05:48:41 +00:00
Anton Lakotka
dfd89a45f7
[Test] Disable Configuration Cache for native tasks
...
cherry-picked from 538cb41a320df93ca85a194b8566ea44457187ca
^KT-43293
2022-05-18 05:48:40 +00:00
Anton Lakotka
d2c6489de9
[Gradle] Mark tasks that not compatible with configuration cache
...
Gradle 7.4 offers new API that allow to exclude task configuration
from being stored in Configuration Cache.
GCC should be supported in further releases.
* KotlinNativeCompile -- KT-43293
* GenerateProjectStructureMetadata
and TransformKotlinGranularMetadata -- KT-49933
cherry-picked from 7bdde5f4c025f2f55c0038a8d58e0ea78a0ff151
^KT-51946 Verification Pending
2022-05-18 05:48:40 +00:00
Anton Lakotka
399bd750c1
[Gradle] [Test] Add Gradle 7.4.2 to test versions
2022-05-18 05:48:39 +00:00
Ilya Gorbunov
4a6466e290
Include kotlin.internal package from core/builtins/src into stdlib-common compilation
...
It is required because internal annotations from there can be used in
other compiled kotlin-stdlib-common sources.
2022-05-17 14:38:44 +00:00
Ilya Gorbunov
eb8e701cb5
Make IntrinsicConstEvaluation annotation internal
2022-05-17 14:38:43 +00:00
nataliya.valtman
dcdd1cd14e
KT-49780 Do not clean outputs after cache corruption
2022-05-17 08:47:23 +00:00
konstantin.tskhovrebov
59b92c02b4
Add OptIn for KotlinNativeArtifactDSL implementation: mute warning.
2022-05-16 13:54:41 +00:00
Ilya Muradyan
edacd90a6c
[Scripting] Take local repository path from settings if it exists
2022-05-16 12:29:25 +00:00
Ilya Muradyan
46563e93ea
[Scripting] Allow transitive resolution of non-JAR artifacts
...
It allows to resolve libraries sources which is crucial for
Kotlin Notebook plugin.
2022-05-16 11:45:47 +00:00
konstantin.tskhovrebov
84add3a27e
KT-44155: Add 'headers' option to Cocoapod config.
...
It is needed for Cinteroping with pods without module map inside
2022-05-16 10:57:39 +00:00
konstantin.tskhovrebov
4753c3f4a3
KT-52328: Add '-framework' linker flag only if framework exists.
2022-05-16 10:55:46 +00:00
sebastian.sellmair
d737c3ebbe
[Gradle][MPP] Setup Gradle attributes for commonizer classpath configuration
...
KT-51583
2022-05-14 13:49:23 +00:00
Dmitriy Novozhilov
032f17920e
[Gradle] Add 1.8 and 1.9 api versions to gradle plugin
...
^KT-52208 Fixed
2022-05-14 09:54:42 +00:00
Andrey Uskov
a3d8ccfc15
[build statistics] Allow reporting milestostone and RC versions
2022-05-13 11:08:37 +03:00
Andrey Uskov
44834bf82c
[build statistics] Truncate long values instead of randomization
2022-05-13 11:08:36 +03:00
Ilya Goncharov
75bc90f512
rra/ilgonmic/KT-52221-dry-run-with-empty-nodejs
...
[Gradle, JS] Disable for wasm
[Gradle, JS] Add test on mocha with dry run should report test state
[Gradle, JS] When run in dry mode, we need special adapter which not run tests
Merge-request: KT-MR-6205
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
^KT-52221 fixed
2022-05-11 13:27:31 +00:00
Ilya Goncharov
b739344b1c
[Gradle, JS] DCE and minimized names could be falsify
...
[Gradle, JS] Add test on falsify compiler flags
[Gradle, JS] DCE and minimized names could be falsify
Merge-request: KT-MR-6167
Merged-by: Ilya Goncharov <Ilya.Goncharov@jetbrains.com >
^KT-51957 fixed
2022-05-11 08:51:22 +00:00
Yahor Berdnikau
9850b97ea7
Remove excessive logging
2022-05-10 23:43:55 +02:00
Yahor Berdnikau
1537b2ed3d
Update duckduckgo regression benchmarks
...
Make it compatible with Kotlin 1.7.0 release.
2022-05-10 23:43:55 +02:00
konstantin.tskhovrebov
8b9e91568f
KT-49032: Add default framework header search path for Cocoapod cinterop
...
Similarly Cocoapods logic
https://github.com/CocoaPods/CocoaPods/blob/d18f49392c5e9ed9a2cdcb2ee89391cf7690ee5d/lib/cocoapods/target/build_settings.rb#L1188
2022-05-10 15:10:00 +00:00
Yahor Berdnikau
b5449f6ed3
Exclude Android asset-pack and asset-pack-bundle plugins
...
'kotlin-android' plugins will not try to configure the project, when
any of these two plugins are applied. Usually these plugins are used
to handle Android resources and no compilation is required.
^KT-51898 Fixed
2022-05-10 13:48:02 +00:00
Yahor Berdnikau
92df5cd67f
Revert usage of NormalizeLineEndings
...
This annotation causes wrong UP-TO-DATE checks leading to unexpected
build failures.
^KT-52313 Fixed
2022-05-09 11:15:38 +00:00
Yahor Berdnikau
6a901c79a5
Add Gradle test for KT-51913
2022-05-09 11:42:21 +02:00
Vyacheslav Gerasimov
7157a54155
Fix unnecessary usages of Locale.getDefault()
2022-05-06 22:08:25 +00:00
sebastian.sellmair
d0e7657035
[Gradle][MPP] Fix test cinterop caching on Windows
...
KT-52243
2022-05-06 16:08:40 +02:00
sebastian.sellmair
d43fdfeb22
[Gradle][MPP] CInteropIdeaSyncIT: Ignore assertion after running leniently failed task again.
...
KT-52243
2022-05-06 16:08:40 +02:00
Ivan Gavrilovic
4e4508de2b
KT-52243: Fix cacheability of CInteropProcess
...
Remove manual up-to-date checks that were preventing task
from being retrieved from the build cache. When outputs are
not present, task would always run because of
https://github.com/gradle/gradle/issues/9095 .
Test: CommonizerIT
2022-05-06 16:08:40 +02:00
Ilya Muradyan
537ae662d7
[Scripting] Pass exception when constructing ScriptDiagnostic
2022-05-06 13:01:32 +00:00
Vyacheslav Gerasimov
dcd17e41a4
Fix capitalization related deprecation warnings
2022-05-04 19:15:01 +00:00
sebastian.sellmair
40d62bf1a7
:tools:binary-compatibility-validator: Remove explicit kotlinx-metadata-jvm dependency
...
The kotlinx:binary-compatibility-validator dependency is expected
to bring this dependency in.
KT-52045
2022-05-04 18:31:40 +00:00
sebastian.sellmair
fd0645548d
Update binary-compatibility-validator to v0.9.0
...
KT-52045
2022-05-04 18:31:39 +00:00
Ilya Muradyan
0ea9c1fbce
[Scripting] Remove obsolete Aether dependencies and add new maven.resolver ones instead
...
scripting-dependencies-maven actually depended on both maven.resolver
and Aether dependencies, it caused an issue in KScript
(https://github.com/holgerbrandl/kscript/issues/345 ) and caused some
issues in the past. These problems were partially solved with exclude()
which is now removed.
2022-05-04 10:31:02 +00:00