Dmitrii Gridin
b6d373d8e5
Update copyright to 2024
2024-01-05 13:43:17 +00:00
Yahor Berdnikau
41003732b1
[Gradle] Add JVM toolchain configure method to Kotlin target
...
These methods are only added to provide more user-friendly error
when user tries to configure JVM toolchain in Kotlin target DSL.
^KT-64629 Verification Pending
2024-01-05 12:34:27 +00:00
Alexander Udalov
a9f85d75f4
Kapt: remove support for old JVM backend
...
#KT-64680 Fixed
2024-01-03 19:37:40 +00:00
Alexander Udalov
e4a608c6e7
Kapt: remove tests on old JVM backend
...
#KT-64680
2024-01-03 19:37:40 +00:00
Yahor Berdnikau
3eb86ede96
[Gradle] Fix warnings in KotlinBaseApiPlugin
...
^KT-56904 In Progress
2024-01-03 12:40:39 +00:00
Evgenii Mazhukin
0c647d6fec
[Tests] Double-check the Native incremental builds in Gradle IT
...
Couldn't reproduce the issue in tests or with the reproducer. Most likely the problem was on my side.
^KT-63970 Can't Reproduce
Merge-request: KT-MR-13673
Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com >
2024-01-03 12:08:04 +00:00
Andrey Yastrebov
c6bf5b8ef1
KT-63592 Add testGenerateLLDBInitFile test
2024-01-03 10:29:18 +00:00
Andrey Yastrebov
4176c50107
KT-63592 Create setupLLDBScript task
2024-01-03 10:29:18 +00:00
Dmitriy Novozhilov
d3c03325c9
[Build] Properly setup the version of Apache commons-text dependency
...
Versions of external libraries should be listed in version catalog, not
directly in a build file
2024-01-02 15:07:44 +00:00
Dmitriy Novozhilov
3cf9a6f687
[Build] Fix JPS import of :libraries:tools:abi-comparator
2024-01-02 15:07:44 +00:00
Andrey Yastrebov
175dd40d45
KT-57650 Add outdated repo test
2024-01-02 13:54:00 +00:00
Andrey Yastrebov
4cdb9301ed
KT-57650 run pod install --repo-update if repo is out of date
2024-01-02 13:54:00 +00:00
Yahor Berdnikau
c4fc0b919d
[Gradle] Fix warnings in KotlinWithJavaCompilation
...
^KT-56904 In Progress
2023-12-29 10:11:45 +00:00
Yahor Berdnikau
09a6f95a15
[Gradle] Fix warnings in KotlinJvmCompilation
...
^KT-56904 In Progress
2023-12-29 10:11:45 +00:00
Yahor Berdnikau
ffefe99e20
[Gradle] Fix warnings in KotlinJvmAndroidCompilationFactory
...
^KT-56904 In Progress
2023-12-29 10:11:45 +00:00
Yahor Berdnikau
77830cc46a
[Gradle] Fix warnings in KotlinJvmAndroidCompilation
...
^KT-56904 In Progress
2023-12-29 10:11:45 +00:00
Nataliya.Valtman
3fd9e22f37
Remove KotlinBuildStatsService.getInstance() calls
...
#KT-58768 In Progress
2023-12-28 13:35:19 +00:00
Yahor Berdnikau
969e1957d2
[Gradle] Fix warnings in AndroidSubplugin.kt
...
^KT-56904 In Progress
2023-12-28 09:16:07 +00:00
Dmitrii Krasnov
5dcc853df3
[Gradle] Fixed warnings in KotlinNativeTasks.kt
...
^KT-56904
2023-12-28 09:07:22 +00:00
Evgenii Mazhukin
ee3119e9d2
[KGP] Introduce Incremental Compilation Feature Toggles
...
Makes it easier to introduce a Gradle property for configuring
IncrementalCompilerRunner.
^KT-64513 Fixed
^KT-63837 In Progress
Merge-request: KT-MR-13671
Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com >
2023-12-27 13:43:54 +00:00
Evgenii Mazhukin
97f8f7a734
[KGP] Fix warnings related to inheritance of @Deprecated annotation
...
Merge-request: KT-MR-13675
Merged-by: Evgenii Mazhukin <evgenii.mazhukin@jetbrains.com >
2023-12-27 13:23:23 +00:00
Yahor Berdnikau
bffdece8da
[Gradle] Fix warnings in AndroidVariantType.kt file
...
^KT-56904 In Progress
2023-12-27 12:37:28 +00:00
vladislav.grechko
34bac48541
Add JVM ABI K1/K2 consistency tests
2023-12-26 10:18:19 +00:00
cristiangarcia
5a1fb78fcd
Declare generated SourceSets correctly
...
Allow Gradle to keep the track of the task generating the sources
KTI-1502 Fixed
2023-12-24 00:01:59 +00:00
Dmitrii Krasnov
b90ff94451
[Gradle] Suppressed GradleExecutionContext.fromProject
...
^KT-56904
2023-12-21 18:43:01 +00:00
Yahor Berdnikau
5b6363b0df
[Gradle] Fix warnings in KotlinAndroidTarget
...
^KT-56904 In Progress
2023-12-21 15:26:02 +00:00
Dmitrii Krasnov
672fea9be4
[Gradle] Changed buildDir to buildDirectory in KotlinNativeLink
...
^KT-62527
2023-12-21 14:31:14 +00:00
Artem Kobzar
053bc08626
[K/Wasm] Add Binaryen sizes to Wasm size tests
2023-12-21 14:19:09 +00:00
Dmitrii Krasnov
f7aae5b0d4
[Gradle] Suppressed ownModuleName warning in GradleKotlinCompilerRunner
...
This warning should be fixed during ownModuleName removing
^KT-56904
2023-12-21 13:32:58 +00:00
Nikita Bobko
843ded892d
[FIR] Don't generate Any.{toString, equals, hashCode} for expect value classes in metadata
...
^KT-64121 Fixed
Review: https://jetbrains.team/p/kt/reviews/13495/timeline
If we generate these declarations then the compiler sees Any.{toString,
equals, hashCode} non-synthetic declarations of common metadata and
reports false positive ACTUAL_MISSING during intermediate (HMPP)
metadata compilation.
See the review for more details
2023-12-21 11:10:15 +00:00
Yahor Berdnikau
ea8f7af1f2
[Gradle] Add api marker to Kotlin compilation tasks DSL
...
Kotlin's compilation tasks DSL should also be separated from other DSL
parts.
^KT-57292 In Progress
2023-12-21 10:30:50 +00:00
Yahor Berdnikau
2af60a5e27
[Gradle] Add deprecated access to sourceSets container inside KotlinTarget
...
This should keep compatability with user scripts that for any reason tried to configure 'sourceSets' container inside KotlinTarget, but keep such users warned.
^KT-57292 In Progress
2023-12-21 10:30:50 +00:00
Yahor Berdnikau
36e85fec95
[Gradle] Introduce public KotlinGradlePluginDsl marker annotation
...
The purpose of this annotation is to distinguish different levels of DSL
in KGP:
- top level extension
- target level DSL
- compilation level DSL
With this marker user should not be able to call implicit methods from
upper levels of DSL, and it should reduce confusion with DSL usage.
^KT-57292 In Progress
2023-12-21 10:30:50 +00:00
Yahor Berdnikau
74b4adf8e2
[Gradle] Rename internal KotlinGradlePluginDsl into KotlinGradlePluginPublicDsl
...
This is an internal annotation that eventually should go away, and the
name is clashing with more public annotation is going to be introduced
in the API project.
^KT-57292 In Progress
2023-12-21 10:30:50 +00:00
Yahor Berdnikau
acf3f2a3a1
[Gradle] Fix warnings in NativePerformanceReport
...
^KT-56904 In Progress
2023-12-21 08:33:58 +00:00
Yahor Berdnikau
705c9b50a9
[Gradle] Fix deprecated buildDir access in NativePerformanceReport
...
^KT-62527 In Progress
2023-12-21 08:33:58 +00:00
Dmitrii Krasnov
125a0e2f52
[Gradle] Made klib unpacked for native metadata compile task
...
^KT-63363 Fixed
2023-12-20 14:47:53 +00:00
Yahor Berdnikau
470ec8aef1
[Gradle] Fix KGP removes resource-producing task dependency
...
Previously, we tried to sync existing Java SourceSet resources into
KotlinSourceSet and then replace Java one from Kotlin. For such an
approach, we called 'files' on existing resources, but this does not
carry information about producing task dependency.
This fix goes a little further and just replaces default KotlinSourceSet
'resources' SourceDirectorySet with a similar object from Java
SourceSet, so any change to Java or Kotlin resources is reflected in
both.
^KT-62490 Verification Pending
2023-12-20 14:23:04 +00:00
Nataliya.Valtman
b19c496c44
Use unique buildId for file name to store FUS metrics
...
#KT-58768 In Progress
2023-12-20 13:46:50 +00:00
Ilya Goncharov
81efc8d7c7
[Gradle, JS] Replace outputFileProperty onto Binary's mainFile
...
^KT-63435 fixed
2023-12-20 12:36:28 +00:00
Leonid Startsev
22709bcb18
Add missing documentation to KmVersionRequirement.toString
...
so the documentation publishing to website will not fail.
2023-12-19 15:42:55 +00:00
Leonid Startsev
2405d644a3
Raise all deprecations in kotlinx-metadata-jvm to ERROR
...
as 0.8.0 had them as WARNINGs.
#KT-63157 Fixed
2023-12-19 15:39:14 +00:00
Yahor Berdnikau
c9ad09f4dc
[Gradle] Fix deprecated buildDir access in PublicPackageJsonTask
...
^KT-62527 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau
28405fceac
[Gradle] Suppress unused task input
...
^KT-56904 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau
f0e6244498
[Gradle] Add suppression for internal deprecation
...
^KT-56904 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau
f783317dca
[Gradle] Slightly update KDoc to fix warning
...
^KT-56904 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau
7911cc640b
[Gradle] Remove unused variable
...
^KT-56904 In Progress
2023-12-19 14:09:55 +00:00
Yahor Berdnikau
601f90917b
[Gradle] Don't use reflection to get java compile task provider
...
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00
Yahor Berdnikau
8fc847fe5c
[Gradle] Mark setupDependenciesResolution function as private
...
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00
Yahor Berdnikau
1b09ca4001
[Gradle] Don't use reflection to get packageTask provider
...
^KT-56904 In Progress
2023-12-19 11:51:40 +00:00