Nikita Bobko
8f79e833a8
Drop all redundant kotlin-reflect, kotlin-reflect-api dependencies
...
Review: https://jetbrains.team/p/kt/reviews/6753
All redundant I managed to find, of course.
Why: I'm going to process all reflect dependencies in the next commits.
Cleanup reflect dependency before processing.
They are redundant because:
1. if `compileOnly` then compilation didn't break after dropping the
dependency
2. if `test*` then tests didn't break after dropping the dependency.
3. `analysis/analysis-api-fir/analysis-api-fir-generator/build.gradle.kts`
`compiler/fir/checkers/checkers-component-generator/build.gradle.kts`
Drop `implementation(project(":kotlin-reflect-api"))` because the
module already depends on
`implementation(project(":kotlin-reflect"))`
4. `compiler/daemon/daemon-client/build.gradle.kts`. Drop `runtimeOnly`
because after dropping `compileOnly` compilation didn't break (so
`runtimeOnly` looks suspicious). Less safe than 1-3
2022-08-22 15:42:57 +02:00
Nikita Bobko
e3bf7698a9
kotlin-scripting-dependencies-maven: fix reflect dependency
...
Review: https://jetbrains.team/p/kt/reviews/6753
Use the same reflect dependency as in the rest of the project.
Why: I'm going to process all reflect dependencies in the next commits.
Normalize reflect dependency before processing.
This weird reflect dependency style was introduced in
83087291df . I think it was a simple
mistake.
2022-08-22 15:42:45 +02:00
nataliya.valtman
6e2202ad5a
Fix repeating custom values in build scan. Refactor build statistic
2022-08-22 09:29:44 +02:00
Alexander Likhachev
c8a48473e2
[Gradle] Add test for KT-53617
2022-08-18 02:35:03 +02:00
Abduqodiri Qurbonzoda
9134b81863
Enable bytecode desugaring in Android test projects
...
After advancing stdlib jvmTarget to 1.8.
2022-08-17 23:35:18 +00:00
Abduqodiri Qurbonzoda
6c4777dcdd
Fix JDK-dependent stdlib tests after advancing jvmTarget
2022-08-17 22:55:43 +03:00
Mikhail Glukhikh
b4a92e8a56
Undeprecate @BuilderInference annotation #KT-52400 Declined
2022-08-17 14:07:13 +00:00
Ilya Gorbunov
744896b571
Explicitly specify repository for resolving tested version of artifacts
...
Currently, it implicitly relies on the space bootstrap repository
which can be changed when using a different bootstrap method
(e.g. from TeamCity build or from locally deployed artifacts).
2022-08-17 13:46:49 +00:00
Andrey Uskov
3b63c1bf82
Update dependency on junit-jupiter-api to 5.6.3
...
#KT-51063 Fixed
2022-08-17 14:15:44 +04:00
Alexander Udalov
02bd26562c
Improve stack trace analysis logic in parameter null check intrinsic
...
This doesn't change behavior for the default JVM, so no new tests are
added. The current behavior is already tested in
`javaInterop/notNullAssertions/paramAssertionMessage.kt`. But this will
improve exception message on Android, where there are 2 platform frames
in the stack trace instead of 1.
#KT-50083 Fixed
2022-08-17 02:00:49 +02:00
Ilya Goncharov
626ebb7c7e
[Gradle, JS] Update NPM dependencies
...
^KT-53614 fixed
2022-08-16 11:09:11 +00:00
Andrei.Tyrin
e87ea4c209
[MPP] Support for platform notation in Gradle MPP dependencies configuration
...
KT-53396
2022-08-16 10:05:05 +00:00
Alexander Likhachev
c1f0e71056
[Gradle] Make daemon connection error logging compatible with Gradle 6.7
...
`Throwable.stackTraceAsString` is available in stdlib since Kotlin 1.4, but Gradle 6.7 uses bundled Kotlin 1.3. Use `stackTraceAsString` that does exactly the same from KGP instead
2022-08-16 11:10:48 +02:00
Alexander Likhachev
468ff889a7
[Gradle] Add tests for Kotlin daemon fallback strategy
...
#KT-48843
2022-08-16 11:10:47 +02:00
Alexander Likhachev
5fa7fcb7a8
[Gradle] Add property to disable Kotlin compiler daemon fallback strategy
...
#KT-48843 Fixed
2022-08-16 11:10:47 +02:00
Alexander Likhachev
41e6f7efc5
[Gradle, JS] Add test for KT-53374
2022-08-16 08:47:32 +00:00
Alexander Likhachev
7cc42d3fe9
[Gradle] Implement IDEA sync detection via ValueSource for Gradle 7.5+
...
#KT-53374 Fixed
2022-08-16 08:47:31 +00:00
Alexander Likhachev
b5491177c9
[Gradle] Add Gradle 7.5+ variant
2022-08-16 08:47:31 +00:00
mvicsokolova
3021008b5f
Enable JS/JVM IR transformation by atomicfu-compiler-plugin according to the flag set in the project.
...
Merge-request: KT-MR-6865
Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com >
2022-08-16 08:12:04 +00:00
Alexander Likhachev
effa12e9a4
[Gradle] Optimize KaptGenerateStubs inputs filtering
...
^KT-53118 Fixed
2022-08-16 07:26:22 +00:00
Yahor Berdnikau
d6032be06e
Reduce overhead on wiring task inputs to Android layouts
...
^KT-53118 In Progress
2022-08-16 07:26:21 +00:00
Abduqodiri Qurbonzoda
eb3bbc3265
Remove "-Xsuppress-deprecated-jvm-target-warning" compiler argument
2022-08-13 01:48:23 +03:00
Abduqodiri Qurbonzoda
983c7adb1e
Remove :libraries:tools:stdlib-compiler-classpath project
...
It was used as a workaround to allow jvmTarget=1.6 in stdlib.
2022-08-13 01:42:43 +03:00
Abduqodiri Qurbonzoda
34e50649e8
Switch JVM target of the standard libraries to 1.8 #KT-51907
2022-08-13 01:33:45 +03:00
Ilya Goncharov
54980ce0d5
[Gradle, JS] Remove redunddant mismatch report kind
2022-08-12 16:58:57 +02:00
Anton Lakotka
3eb0868d5b
[Gradle] Propagate user-defined attributes to Java Configurations
...
Java Compilation classpath should have the same user-defined attributes
as Kotlin Compilation.
This also prevents from Gradle variant resolution failures on
Java Configurations in case if user-defined attributes
resolve that ambiguity.
^KT-31468 Verification Pending
2022-08-12 12:05:25 +00:00
Anton Lakotka
8bb2fe47f4
[Gradle] Test that no extra attributes are copied to Java Configurations
...
^KT-31468
2022-08-12 12:05:24 +00:00
Anton Lakotka
8bfe5691e6
[Gradle] Add tests for KT-31468 Targets disambiguation doesn't work if
...
a depending multiplatform module uses `withJava()` mode
^KT-31468
2022-08-12 12:05:23 +00:00
Dmitry Savvinov
174252f68f
[mpp, tests] Add tests for rendering KpmTestCases
2022-08-12 12:34:14 +02:00
Dmitry Savvinov
afa9c2f8b9
[mpp, tests] Use JUnit5 in kotlin-project-model tests
2022-08-12 12:34:14 +02:00
Dmitry Savvinov
c1e21f5b8f
[mpp, tests] Add infrastructure for *Generated KPM Core tests
2022-08-12 12:34:14 +02:00
Dmitry Savvinov
309b2f569d
[mpp, tests] Add few simple KpmCoreCases
2022-08-12 12:34:14 +02:00
Dmitry Savvinov
a2c9864adc
[mpp, tests] Introduce KpmCoreCases infrastructure
2022-08-12 12:34:14 +02:00
Dmitry Savvinov
3bb70f55d7
Minor: add KpmVariant.nativeTarget extension
2022-08-12 12:34:14 +02:00
Mikhail Glukhikh
66e710704a
Protect SubclassOptInRequired with opt-in marker
2022-08-11 14:05:09 +00:00
Mikhail Glukhikh
3f96626b40
Introduce SubclassOptInRequired annotation (see KT-41886)
2022-08-11 14:05:06 +00:00
Dmitriy Novozhilov
6fde784b55
[FE 1.0] Allow generation of nested classes for java classes from plugins
2022-08-11 15:22:35 +03:00
Ilya Gorbunov
5adfbfc73f
Temporarily disable testng docs linking
...
Until https://github.com/cbeust/testng/issues/2789 is fixed
2022-08-11 10:42:27 +00:00
Dmitriy Novozhilov
ba7df005a1
[Build] Fix JPS import
2022-08-11 11:55:15 +03:00
Ilya Goncharov
032153c673
[Gradle, JS] Remove fail after build option
...
^KT-53381 fixed
2022-08-10 14:47:29 +00:00
Artem Kobzar
87038e7d8a
[K/JS] feat: add logic under the flag for strict implicit export generating inside d.ts files.
2022-08-09 16:48:59 +00:00
sebastian.sellmair
8fcbe9902c
[Gradle][KT-51583] Ensure jvm-ecosystem plugin is applied when NativeDistributionCommonizerTask is registered in root
...
^KT-51583 Verification Pending
https://github.com/gradle/gradle/issues/20145
2022-08-09 15:12:46 +00:00
sebastian.sellmair
f713782737
[Gradle][KT-51583][Minor] add 'projectBuilder' block to buildProject functions
2022-08-09 15:12:45 +00:00
sebastian.sellmair
97ecf43b77
[Gradle][KT-53342] MultiplatformLayoutV1PromoteV2Checker: Show only single warning per build
2022-08-08 19:04:32 +00:00
sebastian.sellmair
9b8fbea0dc
[Gradle][KT-53342] KotlinAndroidSourceSetNaming: Merge kotlinSourceSetName overloads
2022-08-08 19:04:31 +00:00
sebastian.sellmair
c8e2888db9
[Gradle][KT-53342] KotlinAndroidSourceSetFactory: Improve error messages
2022-08-08 19:04:30 +00:00
sebastian.sellmair
f1a54dfeba
[Gradle][KT-53342] M/A SSLv2: Only change Manifest location when it was not previously changed
2022-08-08 19:04:30 +00:00
sebastian.sellmair
60c90d6065
[Gradle][KT-53342] KotlinAndroidSourceSets: Extract KotlinAndroidSourceSetFactory
2022-08-08 19:04:29 +00:00
sebastian.sellmair
6a13c2797b
[Gradle][KT-53342] KotlinAndroidSourceSetLayoutCheckers to provide migration from V1 -> V2
2022-08-08 19:04:28 +00:00
sebastian.sellmair
82d92a4e82
[Gradle][KT-53342] Implement MultiplatformAndroidSourceSetLayoutV2IT
2022-08-08 19:04:28 +00:00