Sergey Igushkin
96ed30a449
Introduce new API for Kotlin compiler support Gradle plugins
...
The old API was too specific for the Kotlin internal use cases and
leaked some abstractions due to the missing target-compilation project
model. One of such leaking abstractions was the Gradle tasks being
exposed to the subplugin, which required the tasks to instantiate
in order for the subplugin to apply. This violated task configuration
avoidance, so the old API could never work in compliance with TCA.
Introduce the new KotlinCompilerPluginSupportPlugin API that uses the
compilations instead of the tasks and is TCA-compliant.
2020-06-19 17:30:05 +03:00
Sergey Igushkin
0b2d96c1ef
Refactor Kotlin classes registration for java-library plugin
2020-06-19 17:30:04 +03:00
Sergey Igushkin
58dd0fa3d2
Use TCA-compliant Gradle APIs in the JS part of the Kotlin Gradle plugin
2020-06-19 17:29:59 +03:00
Sergey Igushkin
58e9b3ae0e
Use TCA-compliant Gradle APIs in the Kotlin Gradle plugin
2020-06-19 17:28:40 +03:00
Sergey Igushkin
84287d77ca
Add Java tasks to relevant compilation APIs
2020-06-19 17:28:39 +03:00
Sergey Igushkin
1749cb9129
(minor) Initialize compilations with the precise target type
2020-06-19 17:28:39 +03:00
Sergey Igushkin
f4e4baa253
Add TaskProvider property for Kotlin compile tasks in compilations
2020-06-19 17:28:37 +03:00
Ilya Chernikov
0ade8140f7
Add serialization plugin test with main-kts
2020-06-19 14:08:19 +02:00
Ilya Chernikov
dbb47cf48e
Implement non-transitive dependencies resolving in main-kts
2020-06-19 14:08:19 +02:00
Mikhail Bogdanov
477cca3c99
Add JvmDefaultWithoutCompatibility annotation
2020-06-19 11:57:35 +02:00
Ilya Goncharov
ce553f1211
[Gradle, JS] Add webpackConfig for karma
...
#KT-39654 fixed
2020-06-19 11:38:51 +03:00
Ilya Goncharov
48a4e08d60
[Gradle, JS] Disable css support by default
...
#KT-39654 fixed
2020-06-19 11:38:31 +03:00
Ilya Kirillov
11a680d7d8
Wizard: group project templates into the categories on the first step
...
#KT-39700 fixed
2020-06-19 09:29:41 +03:00
Ilya Kirillov
bfedeed2c1
Wizard: use new icons in UI
2020-06-19 09:29:40 +03:00
Ilya Kirillov
7df0dd5032
Wizard: fix ui constants
2020-06-19 09:29:39 +03:00
Abduqodiri Qurbonzoda
c923b2e139
Deprecate contains, indexOf, lastIndexOf functions of Float/DoubleArray #KT-28753
2020-06-19 08:39:47 +03:00
Abduqodiri Qurbonzoda
97c688057d
Compare floating point values asList elements in total order #KT-28753
2020-06-19 08:39:47 +03:00
Abduqodiri Qurbonzoda
16b62b8e65
Introduce minWithOrNull and maxWithOrNull extension functions #KT-38854
2020-06-19 04:53:53 +03:00
Abduqodiri Qurbonzoda
194791a168
Introduce minByOrNull and maxByOrNull extension functions #KT-38854
2020-06-19 04:53:51 +03:00
Abduqodiri Qurbonzoda
846a7823ad
Introduce minOrNull and maxOrNull extension functions #KT-39064
2020-06-19 04:53:49 +03:00
Ilya Goncharov
932cf21776
[Gradle, JS] Allow to change destDir only for separate task and name it destinationDir
...
#KT-38331 fixed
2020-06-18 18:51:30 +03:00
Ilya Goncharov
7386408e94
[Gradle, JS] AbstractDukatTask -> DukatTask
...
#KT-38331 fixed
2020-06-18 18:51:08 +03:00
Ilya Goncharov
49dd839131
[Gradle, JS] DukatTask -> IntegratedDukatTask
...
#KT-38331 fixed
2020-06-18 18:50:53 +03:00
Ilya Goncharov
46be588f27
[Gradle, JS] Add task for separate usage of Dukat with project npm dependencies
...
#KT-38331 fixed
2020-06-18 18:50:36 +03:00
Ilya Matveev
754a74ac4a
[Gradle, native] Allow parallel in-process compiler execution
...
This commit allows parallel in-process execution of the K/N compiler
that was prohibited by 254a978a06 .
Issue #KT-38991 fixed
2020-06-18 14:18:00 +00:00
Ilya Gorbunov
ec5a04a6c7
Update public jvm API dump after introduction of javaType
...
See 9e37b62f62
2020-06-18 12:44:23 +03:00
Dmitry Savvinov
55595fe2c6
Make sure that commonizer is enabled before adding -no-default-libs argument
...
^KT-39632 Fixed
2020-06-17 17:51:29 +03:00
Ilya Goncharov
7b89717092
[Gradle, JS] Add task requirements only after evaluated
2020-06-16 11:57:33 +03:00
Ilya Goncharov
aaf3410708
[Gradle, JS] Break Task Configuration Avoidance to get all required NPM dependencies
2020-06-16 11:57:33 +03:00
Ilya Goncharov
48ec104a34
[Gradle, JS] Store npm dependencies by compilation
2020-06-16 11:57:33 +03:00
Ilya Goncharov
4080bd1325
[Gradle, JS] Move tranform from requiredNpmDependencies to TasksRequirements
2020-06-16 11:57:33 +03:00
Ilya Goncharov
8f156f3609
[Gradle, JS] Extract TasksRequirements.kt
2020-06-16 11:57:33 +03:00
Ilya Goncharov
e51874d46a
[Gradle, JS] Use set in task requirements
2020-06-16 11:57:33 +03:00
Ilya Goncharov
464c8eb77a
[Gradle, JS] Add kotlin-js-test-runner to dependencies by default
2020-06-16 11:57:33 +03:00
Ilya Goncharov
4a52596344
[Gradle, JS] Remove devServer from common part of legacy
2020-06-16 11:57:32 +03:00
Ilya Goncharov
1f5012684b
[Gradle, JS] Force full configuring of NPM tasks in idea import
2020-06-16 11:57:32 +03:00
Ilya Goncharov
aab4fd7225
[Gradle, JS] Use unique representation for npm dependency
2020-06-16 11:57:32 +03:00
Ilya Goncharov
92c224b616
[Gradle, JS] Fix NpmDependency toString
2020-06-16 11:57:32 +03:00
Ilya Goncharov
1a81f02377
[Gradle, JS] Add tools npm dependencies as input to package json task
2020-06-16 11:57:32 +03:00
Ilya Goncharov
d0c0ddd7e5
[Gradle, JS] Move initialization of RequiresNpmDepends in project resolver
2020-06-16 11:57:32 +03:00
Ilya Goncharov
3283a10561
[Gradle, JS] Define compilation on constructor of RequiresNpmDepends
2020-06-16 11:57:32 +03:00
Ilya Goncharov
db42b5b062
[Gradle, JS] Get npm dependencies in compilation npm resolver
2020-06-16 11:57:32 +03:00
Ilya Goncharov
49710c9509
[Gradle, JS] Remove task oriented taskRequirements
2020-06-16 11:57:31 +03:00
Ilya Goncharov
8f679bf1d3
[Gradle, JS] Tools npm dependencies resolved in task execution
2020-06-16 11:57:31 +03:00
Ilya Goncharov
1ab6a9bc84
[Gradle, JS] No NPM tools configuration
2020-06-16 11:57:31 +03:00
Ilya Goncharov
34aff5953f
[Gradle, JS] TaskRequirements inside NodeJsRootExtension
2020-06-16 11:57:31 +03:00
Ilya Goncharov
791dfb78ab
[Gradle, JS] Dukat only for main compilation
2020-06-16 11:57:31 +03:00
Ilya Goncharov
99e05b777a
[Gradle, JS] PackageJsonDukatExecutor -> DukatExecutor
2020-06-16 11:57:31 +03:00
Ilya Goncharov
10c501d474
[Gradle, JS] DukatExecutor -> DukatRunner
2020-06-16 11:57:31 +03:00
Ilya Goncharov
f5db4b12ba
[Gradle, JS] Rename of DukatTaskss
2020-06-16 11:57:31 +03:00