Alexander.Likhachev
652ff54835
[Gradle] Print kapt worker classpath properly
2023-08-31 13:14:49 +00:00
Alexander.Likhachev
77b9860021
[Gradle] Make KaptTask.kaptPluginOptions an input of the task
...
#KT-58326 Fixed
2023-08-31 13:14:49 +00:00
Alexander.Likhachev
3a246d3a1d
[Gradle] Add an integration test for KT-58326
2023-08-31 13:14:49 +00:00
Ilya Kirillov
9b114335fb
[stdlib] fix stdlib-common highlighting in K2 IDE plugin
...
K2 IDE Plugin uses only a partial set of built-ins.
It only has declarations which are not present in
the JVM stdlib as classfiles.
Because of that, some major declarations like
`kotlin.Unit` are missing,
so resolution inside kotlin stdlib common modules does not work.
Because of incorrectly resolved stdlib,
highlighting and resolution in other files in the kotlin project does not work.
This commit adds source versions of stdlib declarations
(`/core/builtins/src/kotlin/`) to the common stdlib as a source-set
for IDE import.
This way all declarations in stdlib common module are properly resolved.
The approach might be incorrect as it might introduce possible redeclaration
conflicts between common and platform stdlib sources
as `/core/builtins/src/kotlin/` source-set is also registered as a source-set for
platforms.
2023-08-31 12:51:47 +00:00
Dmitrii Krasnov
8299fffae2
Added possibility to create a custom usable KotlinCompile task without using internals ownModuleName and moduleName
...
#KT-60541 Ready for Review
2023-08-31 09:37:21 +00:00
Yahor Berdnikau
c6893de9bb
[Gradle] Update Duckduckgo build regression benchmark
...
Compare against Kotlin 1.9.10 release.
^KT-61190 Fixed
2023-08-30 16:06:50 +00:00
Yahor Berdnikau
e5a3139d62
[repo] Update jgit to the latest version
...
^KT-61190 In Progress
2023-08-30 16:06:50 +00:00
Yahor Berdnikau
66bc6ea8eb
[Gradle] Update Graphql build regression benchmark
...
Compare against Kotlin 1.9.10 release.
^KT-61190 In Progress
2023-08-30 16:06:49 +00:00
Yahor Berdnikau
85284e00c7
[Gradle] Update KVision build regression benchmark
...
Compare against Kotlin 1.9.10 release.
^KT-61190 In Progress
2023-08-30 16:06:49 +00:00
Ilya Gorbunov
516383b995
[Docs] add wasm source sets for wasm-js and wasm-wasi
2023-08-30 11:37:29 +00:00
Sebastian Sellmair
eb0e7fa55b
[Gradle] Remove kpm Gradle integration tests
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
02c2c76ffe
[Gradle] Remove ':kotlin-project-model' and ':kotlin-project-model-tests-generator'
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
6d38a314cc
[Gradle] Remove kpm native variant codegen
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
c889c2f217
[Gradle] Dissolve plugin.mpp.pm20 package
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
282d2f4454
[Gradle] Remove Gradle KPM implementation
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
34abc008ec
[Gradle] Update api dump after removing KPM import code
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
ea3c275961
[Gradle] Dissolve .kotlin.gradle.kpm package
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
0a8cca9be4
[Gradle] Remove KPM IDE Gradle Sync support
...
KT-61463
2023-08-29 16:45:12 +00:00
Sebastian Sellmair
e800885c03
[Gradle] Remove ':kotlin-gradle-plugin-kpm-android' module
...
KT-61463
2023-08-29 16:45:12 +00:00
Ilya Gorbunov
7d3f080c81
Generate JS Long using builtin generators (step 2)
2023-08-29 16:27:55 +00:00
Ilya Gorbunov
814515964d
Move JS Long to generated Primitives.kt file (step 1)
2023-08-29 16:27:55 +00:00
Yahor Berdnikau
e80988d98c
[Gradle] Don't collect module-info on using new IC/JVM approach
...
Collecting 'moduleInfo' is required for the old history-file-based
incremental compilation approach. And the way how it is being collected
violates Gradle project-isolation feature as it accesses all Kotlin
compile tasks from other Gradle subprojects.
When the new IC based on classpath snapshot is enabled, the plugin will
not collect 'moduleInfo' making it compatible with project isolation.
^KT-59826 Fixed
2023-08-29 15:21:57 +00:00
Yahor Berdnikau
40928d50a2
[Gradle] Access build stats internal properties in project-isolation compatible way
...
^KT-59826 In Progress
2023-08-29 15:21:57 +00:00
Yahor Berdnikau
d6becee2ce
[Gradle] Read 'local.properties' in project isolation compatible way
...
^KT-59826 In Progress
2023-08-29 15:21:56 +00:00
Yahor Berdnikau
b1965e746f
[Gradle] Move project isolation test to separate test suite
...
^KT-59826 In Progress
2023-08-29 15:21:56 +00:00
Alexander.Likhachev
9ec0ab2f5c
[Gradle] Disable failed K2 JS IC test
...
Enable it back when KT-61153 is resolved
#KT-60588 In Progress
2023-08-29 13:37:26 +00:00
Alexander.Likhachev
9e31904f0f
[Gradle] Run CompilerPluginsIncrementalIT only with K1
...
Should be reconsidered in KT-61171
#KT-60588 In Progress
2023-08-29 13:37:26 +00:00
Alexander.Likhachev
52303a1b23
[Gradle] Fix test plugins application
2023-08-29 13:37:25 +00:00
Alexander.Likhachev
4f820230fd
[Gradle] Disable K2 precise java tracking IC tests
...
Enable them back when KT-57147 is resolved
#KT-60588 In Progress
2023-08-29 13:37:25 +00:00
Alexander.Likhachev
a89aa1fb8d
[Gradle] Disable failed daemon test with K2
...
Enable it back when KT-58894 is resolved
#KT-60588 In Progress
2023-08-29 13:37:25 +00:00
Alexander.Likhachev
82df028bc5
[Gradle] Disable failed K2 scripting tests
...
Enable them back when KT-61137 is resolved
#KT-60588 In Progress
2023-08-29 13:37:25 +00:00
Alexander.Likhachev
bdf87c2713
[Gradle] Limit language version for tests providing Gradle plugins
...
#KT-60588 In Progress
2023-08-29 13:37:25 +00:00
Alexander.Likhachev
c6b1d37476
[Gradle] Add expected K2 Kapt fallback warning
...
#KT-60588 In Progress
2023-08-29 13:37:25 +00:00
Alexander.Likhachev
3177df9ad8
[Gradle] Disable LightTree for K2 scripting tests
...
#KT-60588 In Progress
2023-08-29 13:37:25 +00:00
Alexander.Likhachev
196fb3e5f1
[Gradle] Split K1/K2 integration tests
...
#KT-60588 In Progress
2023-08-29 13:37:25 +00:00
Alexander.Likhachev
501c111e36
[Gradle] Implement BuildToolsApiVersionInconsistency diagnostic
...
This diagnostic checks if the Build Tools API implementation version is consistent with KGP in the case compilation goes using the old way
#KT-61449 Fixed
2023-08-29 13:00:16 +00:00
Alexander.Likhachev
271d767138
[Gradle] Allow using KotlinToolingDiagnosticsCollector in transform actions
...
Related to KT-56832
2023-08-29 13:00:16 +00:00
Alexander.Likhachev
e6ae3f1d85
[Gradle] Replace intellijCore() dependency by intellijPlatformUtil()
...
#KT-61449 In Progress
2023-08-29 13:00:16 +00:00
Alexander.Likhachev
2570be129f
[Gradle, BT] Move script definitions scanning into the build tools API
...
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
6cfa165ddb
[Gradle, Build] Publish an artifact with unpublished compiler modules for KGP
...
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
b14406b7b7
[Gradle] Inline daemon exception report call
...
It allows getting rid of the dependency on `:compiler:incremental-compilation-impl`
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
d9a6bed012
[Gradle, JS] Hardcode legacy DCE tool main class
...
It allows getting rid of the dependency on `:compiler:cli-js`
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
52ac237015
[Gradle] Copy destinationAsFile and classpathAsList extensions
...
It allows getting rid of the dependency on `:compiler:incremental-compilation-impl`
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
5c852347a1
[Gradle] Copy ABI_SNAPSHOT_FILE_NAME constant
...
It allows getting rid of the dependency on `:compiler:incremental-compilation-impl`
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
3fb1f7bf42
[Gradle] Migrate from ChangesFiles to SourcesChanges
...
It allows getting rid of the dependency on `:compiler:incremental-compilation-impl`
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
4eb468443a
[Gradle] Remove old classpath snapshot transformation
...
Leave only the implementation via the build tools API in order to reduce compiler dependencies.
THe old implementation expects to have many of compiler modules (through `kotlin-compiler-embeddable`) in the plugin runtime classpath
#KT-61449 In Progress
2023-08-29 13:00:15 +00:00
Alexander.Likhachev
a8269ff8e2
[Gradle] Opt in for the experimental build tools API module-wide
...
#KT-61449 In Progress
2023-08-29 13:00:14 +00:00
Alexander.Likhachev
e68661fc0d
[Build, Gradle] Remove totally unused KGP dependencies
...
#KT-61449 In Progress
2023-08-29 13:00:14 +00:00
Sebastian Sellmair
3c4163187d
[Gradle] K2/KMP: Implement expect/actual discrimination by topologically ordering dependsOn klibs
...
^KT-61540 Verification Pending
2023-08-29 12:56:02 +00:00
Aleksei.Cherepanov
073df585c4
Fix testdata after #5162
...
After changes in `kotlin-maven-plugin: Don't print warning on no resources to compile` and `Update KotlinCompileMojoBase.java` commits test data was updated
#KT-26156 Fixed
2023-08-29 11:11:04 +00:00