Mads Ager
683220a32c
[K1] Remove compiler version requirements for context receivers in metadata.
2023-03-17 07:15:13 +00:00
Mads Ager
ed84fbd8a6
Sort kotlinp output in tests to reduce diff between K1 and K2.
2023-03-17 07:15:13 +00:00
Mads Ager
04a088039c
[K2] Add support for running Kotlinp tests with K2.
...
The tests fail spectacularly at this point in time.
2023-03-17 07:15:12 +00:00
Ilya Goncharov
f2ecb097f1
[Gradle, JS] Remove webpack 4 support
...
^KT-57387 fixed
2023-03-16 22:07:31 +00:00
Ilya Goncharov
484d3ad273
[Gradle, JS] Upgrade npm dependencies
...
^KT-57386 fixed
2023-03-16 19:28:18 +00:00
nataliya.valtman
37eefc2a05
KT-57296 And backward compatibility with old Idea versions
2023-03-16 16:30:56 +00:00
Svyatoslav Kuzmich
76b4498399
[Wasm] IDL bindings improvements
...
- Generated types extend JsAny
- Use JsAny instead of Dynamic
- Use JsArray instead of Array
- Use JsNumber, JsString and JsBoolean in JsAny context
- Refactor dictionary constructor functions
2023-03-16 09:12:08 +00:00
Svyatoslav Kuzmich
2a10cf3de2
[Wasm] Dukat: use IDL conversion API directly without dukat CLI
...
Copy unmodified convertToModel.kt from dukat
2023-03-16 09:12:08 +00:00
Yahor Berdnikau
c17668a225
Add Android project level compiler options DSL
...
Works the same as JVM project compiler options DSL. 'android
.kotlinOptions' now configures compilerOptions from extension basically
behaving same way as newly added DSL.
^KT-57159 Fixed
2023-03-15 15:39:09 +00:00
Yahor Berdnikau
edc6194737
Fix reporting compiler stats
...
Now it should report actual values for languageVersion, apiVersion and
progressiveMode for any compilation invocation.
^KT-57159 In Progress
2023-03-15 15:39:08 +00:00
Yahor Berdnikau
dfec9efbb0
Add JVM project level compiler options DSL
...
These options are used as initial convention values for compilerOptions
in target compilations.
^KT-57159 In Progress
2023-03-15 15:39:08 +00:00
Yahor Berdnikau
6509b0201c
Add method to sync options from one instance to another as convention
...
^KT-57159 In Progress
2023-03-15 15:39:08 +00:00
Yahor Berdnikau
4d4e5f4701
Split compiler options implementation and helper methods
...
Such split allows to reuse default implementation for different
use-cases. Helpers, in this case, allows to do manipulations with
options where required.
^KT-57159 In Progress
2023-03-15 15:39:07 +00:00
Anton Lakotka
9de86c03b7
[Gradle] Move createFatFrameworks call to KotlinMultiplatformPlugin.apply
2023-03-15 13:51:12 +00:00
Anton Lakotka
b993064818
[Gradle] Remove workaround assertion after fixing KT-55751
2023-03-15 13:51:11 +00:00
Anton Lakotka
a2e5fa64dc
[Gradle] Use SingleActionPerProject instead runOnceAfterEvaluated
...
To create fat frameworks for all targets.
That should be called only single time
KT-55751 Verification Pending
KT-56450 Verification Pending
2023-03-15 13:51:11 +00:00
Anton Lakotka
92cc13961f
[Gradle] Add user-specific attributes to host-specific metadata elements
...
KT-55751 Verification Pending
KT-56450 Verification Pending
2023-03-15 13:51:11 +00:00
Anton Lakotka
427ef8fc47
[Gradle] Don't create fat frameworks from single binary framework
...
KT-55751 Verification Pending
2023-03-15 13:51:10 +00:00
Anton Lakotka
371e1205c0
[Gradle] Filter non-existing consumable configurations
...
^KT-55751 Verification Pending
2023-03-15 13:51:10 +00:00
Anton Lakotka
fff24378f1
[Gradle] Add test to check consumable configurations have unique
...
attributes set.
^KT-55751 Verification Pending
2023-03-15 13:51:10 +00:00
Anton Lakotka
9804ea80c4
[Gradle] Update tests to not have non-distinguishable targets
...
^KT-55751 Verification Pending
2023-03-15 13:51:09 +00:00
Anton Lakotka
b9f0ad0e58
[Gradle] Report warning when targets are not distinguishable
...
^KT-55751 Verification Pending
2023-03-15 13:51:09 +00:00
Alexander Korepanov
e3402fcc87
[K2 JS] Do not load transitive dependencies for building K2/JS klibs
...
^KT-57262 Fixed
2023-03-15 10:49:54 +00:00
Mikhail Zarechenskiy
9ccbc2e5fb
Fix tests: don't use signed-unsigned conversions in cinterop part
...
This kind of conversion is now required an additional compiler flag
See KT-56583
2023-03-14 22:21:48 +00:00
nataliya.valtman
79fff92dc1
Don't use aggregated GC metric for build reports
2023-03-14 20:58:45 +00:00
nataliya.valtman
a34657195b
Add GC metric to build statistic
2023-03-14 20:58:45 +00:00
nataliya.valtman
c16dabba1f
Add Kotlin daemon memory usage into build report
...
#KT-56211: Fixed
2023-03-14 20:58:45 +00:00
Alexander.Likhachev
67fc9be3c5
[Gradle] Access the artifact type attribute via non-deprecated API
...
#KT-54447 Fixed
2023-03-14 18:41:24 +00:00
Ilya Goncharov
2de4f471e9
[Gradle, JS] Use default browsers for wasm
...
^KT-56585 fixed
2023-03-14 17:06:35 +00:00
Ilya Goncharov
7794998113
[Gradle, JS] Use JAR archive task type for js ir
2023-03-14 12:34:19 +00:00
Ilya Goncharov
63e27a9713
[Gradle, JS] Implement own IncrementalSyncTask
2023-03-14 11:16:20 +00:00
Ilya Goncharov
7d2ba28911
[Gradle, JS] Only if with reasons
2023-03-14 11:10:34 +00:00
Ilya Goncharov
9d8e7991a8
[Gradle, JS] Remove redundant fields inside NpmDependency
2023-03-14 11:10:34 +00:00
Ilya Goncharov
df50994f4f
[Gradle, JS] Add documentation of KotlinNpmResolutionManager
2023-03-14 11:10:33 +00:00
Ilya Goncharov
d64e211dca
[Gradle, JS] Remove redundant field
2023-03-14 11:10:33 +00:00
Ilya Goncharov
234ffb4644
[Gradle, JS] Fix naming
2023-03-14 11:10:33 +00:00
Ilya Goncharov
e570f97db2
[Gradle, JS] Chaining build service disallowChanges
2023-03-14 11:10:32 +00:00
Ilya Goncharov
55db7690d8
[Gradle, JS] Remove redundant imports
2023-03-14 11:10:32 +00:00
Ilya Goncharov
1997b4ff43
[Gradle, JS] A bit change of npm resolution manager registering
2023-03-14 11:10:32 +00:00
Ilya Goncharov
5569c37ee3
[Gradle, JS] Fix npm resolution manager declaring
2023-03-14 11:10:31 +00:00
Ilya Goncharov
065b00c3d7
[Gradle, JS] Fix set npmResolutionManager inside YarnPlugin
2023-03-14 11:10:31 +00:00
Ilya Goncharov
b2f416dbbe
[Gradle, JS] Remove requireNodeModules
...
[Gradle, JS] Remove 4 major webpack
[Gradle, JS] Remove webpack 4 related dependencies
[Gradle, JS] How want to see npm dependency
[JS IR] Object factory and remove forceResolve
[Gradle, JS] Object factory to package json producer
[Gradle, JS] Only npm dependencies as required
[Gradle, JS] NodeJsRootPlugin applied once
[Gradle, JS] NodeJsRootPlugin applied once #2
[Gradle, JS] Divide task providers from NodeJsRootExtension
[Gradle, JS] Remove redundant
[Gradle, JS] Fix #1
[Gradle, JS] Fix #2
[Gradle, JS] Fix #3
[Gradle, JS] Fix #4
[Gradle, JS] Fix #5
[Gradle, JS] Fix tests
[Gradle, JS] No objectFactory
[Gradle, JS] Remove archive compat and fs compat
[Gradle, JS] Build service kotlin npm resolution manager
[JS] Build servicify
Build servicify
Build servicify
Fix internal
Tasks requirements as build service
~ try to move from build service
[JS] no nested
[JS] Configuration resolver inside input files
Revert "[JS] Configuration resolver inside input files"
This reverts commit 48536e011a8a341e9cb62fbf8e03a09f2ba115ba.
[JS] nested but only configuration
[JS] packageJsonHandlers serializable
[JS] packageJsonProducer as part of task inputs
[JS] packageJsonProducer
~1
~2
~3
~4
~5
~6
~7
~8
~9
~10
Remove comments
[Gradle, JS] Remove comments
[Gradle, JS] Fix internals and test
[Gradle, JS] Input package json files for root package json
[Gradle, JS] Kotlin npm install always tracked externally
[Gradle, JS] Rename resolution items
[Gradle, JS] Build service with new scheme
2023-03-14 11:10:30 +00:00
Pavel Kirpichenkov
5d664aac92
[MPP] Disable KGP import for the standalone kotlin-js Gradle plugin
...
KTIJ-24745
2023-03-13 14:26:39 +00:00
Pavel Kirpichenkov
93fc9097c8
Minor: add explicit MutableMap type annotation to workaround KTIJ-21172
2023-03-13 14:26:39 +00:00
Ilya Goncharov
bcf7c38288
[Gradle, JS] Add root cache directory changing to test
2023-03-13 14:02:27 +00:00
Pavel Kirpichenkov
7dd438cb9e
[MPP] KGP dependency resolution: JVM stdlib for JVM+Android source sets
...
KTIJ-24701
2023-03-09 09:10:42 +00:00
Pavel Kirpichenkov
0c33e89c02
Extract Kotlin stdlib Gradle module constants in dependency management
...
KTIJ-24701
2023-03-09 09:10:42 +00:00
Ilya Gorbunov
3b97bfb426
Extract kotlinLanguageVersion to gradle.properties
...
Read it when building docs in order to keep
docs version filter/language analyzer version in sync with
the language version used to compile libraries.
2023-03-07 17:55:23 +00:00
Ilya Gorbunov
28ae0c1649
docs build: allow to specify custom dokka repository
...
- centralize repository management in settings.gradle.kts
- allow to specify dokka repository with a gradle property
- automatically add mavenLocal for -local dokka versions
- specify kotlin version for building plugins in one place
2023-03-07 17:55:23 +00:00
Ilya Gorbunov
93650dcada
docs build: move parameter initialization to the parent project
...
in order to avoid evaluationDependsOn dependency
2023-03-07 17:55:23 +00:00