Evgenii Mazhukin
3f8505a090
[IC] Smoke tests for KMP IC, part 1.5
...
Refactorings: rework testData to better reflect usages of declarations,
clean up internal test methods.
Merge-request: KT-MR-13232
Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com >
2023-11-29 13:28:26 +00:00
Ilya Goncharov
08e3cb300a
[JS] Migrate tests onto IR compiler with outputDir API instead of outputFile
...
^KT-61117 fixed
2023-11-29 11:21:56 +00:00
Yahor Berdnikau
e50f6e6bca
[Gradle] Add '@JvmStatic' annotation to companion methods in Kotlin types
...
This should improve usability in groovy scripts.
^KT-63601 Fixed
2023-11-29 10:24:23 +00:00
Alexander.Likhachev
b0254add6d
[Gradle] Add a check for the SNAPSHOT_SIZE metric
2023-11-28 15:22:43 +00:00
Alexander.Likhachev
a7e3f7b3a6
[Gradle] Apply IDEA suggestions to BuildReportsIT.kt
2023-11-28 15:22:43 +00:00
Alexander.Likhachev
71320d2439
[IC] Add a check for the CACHE_DIRECTORY_SIZE metric
...
^KT-63010 Fixed
2023-11-28 15:22:43 +00:00
Alexander.Likhachev
9f89e7f94f
[Gradle] Flip the IC backup optimizations flags in the tests
...
^KT-62758 Fixed
2023-11-28 15:22:43 +00:00
Alexander.Likhachev
0f245ef3c6
[Gradle] Enable the IC backup optimizations by default
...
^KT-62758 In Progress
2023-11-28 15:22:43 +00:00
Alexander.Likhachev
f0c643a887
[Gradle] Remove warning about experimental IC backup optimizations
...
This commit is part of the optimizations stabilization
^KT-62758 In Progress
2023-11-28 15:22:43 +00:00
Evgenii Mazhukin
563c878f20
[KGP] Fix sharing build cache between Windows and Linux
...
On Windows, path() uses backslash as a file separator, and Mac/Linux
are using forward slashes. If friendPathsSet differs, remote build outputs
from other platforms can't be reused.
This patch uses invariant paths to address the issue.
^KT-63460 Fixed
Merge-request: KT-MR-13261
Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com >
2023-11-28 12:09:39 +00:00
Ilya Goncharov
8c95665e27
[Gradle, JS] Deprecate specific Node.js properties
...
^KT-62780 fixed
2023-11-28 10:36:36 +00:00
Ilya Gorbunov
28c1049518
[stdlib] KT-55619 provide samples and extend documentation for String.format
2023-11-27 15:04:51 +00:00
Anton Lakotka
bb5e219c1d
[Gradle] Explain reason for (isCanBeResolved && isCanBeConsumed) check
2023-11-26 18:47:29 +01:00
Anton Lakotka
7673434ccd
[Gradle] Keep "-publishable" configurations as dependencyScope
...
As they would clash with the ones that is intended to be consumed as
project dependencies. It will not be compatible with future Gradle
versions. This should be fixed with KT-49919
^KT-60879
2023-11-26 18:47:29 +01:00
Anton Lakotka
e73441843b
[Gradle] Don't make native compilation api configuration resolvable
...
Instead, create a resolvableDetached configuration for that purpose.
Changing configuration roles is deprecated since Gradle 8.2
^KT-60879
2023-11-26 18:47:29 +01:00
Anton Lakotka
5d46e45da7
[Gradle] Fix tests for Gradle 8.2 compatibility
...
* Dependency scope configurations can't have attributes
* ConfigurationInternal.path is removed
^KT-60879
2023-11-26 18:47:29 +01:00
Anton Lakotka
2ab30d8880
[Gradle] Add role-based configuration method factories
...
Starting from Gradle 8.2 there is deprecation diagnostic that
disallows changing configuration roles after creation.
With Gradle 8.4 there is an Incubating API that introduces
role factories for Configuration. For consistency reasons names that
introduced in this commit match the names that Gradle introduces in 8.4
version.
^KT-60879
2023-11-26 18:47:29 +01:00
Abduqodiri Qurbonzoda
e94b247835
Introduce Common StringBuilder.append/insert(Byte/Short) extensions #KT-63341
2023-11-26 02:48:19 +02:00
Abduqodiri Qurbonzoda
db6a662631
Remove Common StringBuilder.append/insert(Byte/Short) members #KT-63341
2023-11-26 02:48:18 +02:00
Alexander Udalov
b63a780e15
Build: update kotlinx-metadata-jvm to 0.7.0
2023-11-24 14:03:21 +00:00
Ilya Goncharov
f9ffe67430
[Gradle, JS] Add comment why we use project.provider and not use single
2023-11-24 11:17:49 +00:00
Philip Wedemann
1dbb227de2
KT-63544: Fix Gradle CC problem in KotlinJsIrLink
2023-11-24 11:17:49 +00:00
Ilya Gorbunov
88bbe8d92d
[stdlib] Enable explicit API mode
2023-11-24 01:45:45 +00:00
Ilya Goncharov
957d3c5610
[Gradle, JS] Use binaries for wasi with KotlinJsIrCompilation
2023-11-23 18:36:39 +00:00
Yahor Berdnikau
b000b3a90b
[Gradle] Drop usage of non-LTS JDK versions in integration tests
2023-11-23 18:28:10 +00:00
Ilya Gorbunov
d8ee74222f
[builtins-gen] Explicit visibility for companion objects and secondary constructors
2023-11-22 18:04:34 +00:00
Ilya Gorbunov
ab7c2f2196
[stdlib] Explicit visibility and return types: builtins
2023-11-22 18:04:34 +00:00
Ilya Gorbunov
df190b1265
[stdlib] Explicit visibility and return types: JVM internal
2023-11-22 18:04:34 +00:00
Ilya Gorbunov
2e030f213b
[stdlib] Explicit visibility and return types: JVM
2023-11-22 18:04:34 +00:00
Nataliya.Valtman
6bbf5b83c8
Add compiler metrics to JPS build report
...
#KT-63549: Fixed
2023-11-22 11:30:08 +00:00
Alexander Korepanov
45c166abf8
[JS IR] Introduce special setMetadataFor*() for synthetic classes
...
^KT-63436 Fixed
2023-11-22 09:21:44 +00:00
Alexander Korepanov
9af681e234
[JS IR] Rename metadataUtils.kt -> metadataUtilsOld.kt
2023-11-22 09:21:44 +00:00
Alexander Udalov
dec41e8c46
Improve muted K2 metadata (kotlinp) tests
...
Add comments referencing issues where K2 behavior is questionable, and
provide `.fir.txt` versions where behavior is different but fine.
2023-11-21 19:57:10 +00:00
Ilya Gorbunov
4d8cf4903c
[stdlib] Explicit visibility and return types: DOM API
2023-11-21 18:14:09 +00:00
Ilya Gorbunov
ce427b96b3
[stdlib] Suppress explicit api errors in DOM declarations generated by dukat
...
Suppressions should be removed once dukat supports generating
explicit public visibility and return types
2023-11-21 18:14:09 +00:00
Ilya Gorbunov
cfa8a1dc0f
[stdlib] Explicit visibility and return types: Wasm
2023-11-21 18:14:09 +00:00
Ilya Gorbunov
381a8fd55f
[stdlib] Explicit visibility and return types: JS
...
Stepping test line number changes are due to changes in coroutineInternalJS.kt
2023-11-21 18:14:09 +00:00
Yahor Berdnikau
ffa6bfc95e
[Gradle] Partially restore top-level compiler options DSL in MPP
...
To support configuring free compiler arguments for all shared source
sets (KT-61573), we restore 'compilerOptions { }' DSL in the
multiplatform extension.
To avoid user confusion on accidentally using 'compilerOptions {}'
inside Kotlin targets and Kotlin compilations DSL, similar methods with
ERROR deprecation level were added into `KotlinTarget` and
`KotlinCompilation` interfaces. Invoking these interfaces will throw
UnsupportedOperationException. Such an approach works both for Kotlin
and Groove Gradle scripts.
^KT-63491 Fixed
2023-11-21 14:06:17 +00:00
Yahor Berdnikau
294b36e16f
[Gradle] Repurpose 'kotlin.experimental.tryK2'
...
Now it sets +1 to default one language version. Property name was
updated to 'kotlin.experimental.tryNext'.
^KT-61975 Fixed
2023-11-21 11:58:45 +00:00
Yahor Berdnikau
a20f21f76f
[Gradle] Introduce 'kotlin.internal.compiler.arguments.log.level' property
...
This property allows changing log level for message printing the final
set of compiler arguments used to run compilation.
Possible levels are 'error', 'warning', 'info', 'debug'. Default level
is 'debug'.
^KT-60733 Fixed
2023-11-20 21:03:38 +00:00
Evgenii Mazhukin
5973951f71
[IC] Smoke tests for KMP IC, part 1
...
Assert reasonable compile avoidance when basic changes are made in a
multiplatform project
^Relates to KT-56963
Merge-request: KT-MR-13032
Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com >
2023-11-20 17:17:27 +00:00
Dmitriy Dolovov
6de0b3a645
[Gradle][MPP] Minor: Don't use @GradleTestVersions in the test
...
^KT-62515
2023-11-20 13:40:54 +00:00
Ilya Goncharov
94ce4c06a7
[Gradle, Wasm] Use separate hierarchical methods for JS and wasi
...
^KT-63417 fixed
2023-11-20 10:30:58 +00:00
Ilya Goncharov
dcab981ee8
[Gradle, Wasm] Use static source sets accessors for wasm
...
^KT-62955 fixed
2023-11-20 10:30:16 +00:00
Ilya Gorbunov
62700c3ec3
[stdlib] K/N ArrayList: restore constructor docs, correct modifier order
2023-11-20 02:24:40 +00:00
Ilya Gorbunov
aa4419b7e3
[stdlib] Explicit visibility and return types: Collections
2023-11-20 02:24:40 +00:00
Ilya Gorbunov
0dd61c9f81
[stdlib] Explicit visibility and return types: Duration
2023-11-20 02:24:40 +00:00
Ilya Gorbunov
da1d3be7f2
[stdlib] Explicit visibility and return types: StringBuilder
2023-11-20 02:24:40 +00:00
Ilya Gorbunov
92b3131c12
[stdlib] Explicit visibility and return types: HexFormat
2023-11-20 02:24:40 +00:00
Ilya Gorbunov
02e933b3ff
[stdlib] Explicit visibility and return types: common
2023-11-20 02:24:39 +00:00