Commit Graph

7311 Commits

Author SHA1 Message Date
Ilya Matveev 02c4008690 [Gradle, native] Blacklist java.endorsed.dirs for all tools
System property java.endorsed.dirs is set by IDEA but not supported
since Java 9 preventing starting a JVM. This patch takes this into
account and blacklists this property for all K/N tools including
the commonizer.

See also:
https://youtrack.jetbrains.com/issue/IDEA-193219
https://youtrack.jetbrains.com/issue/KT-25887
2020-04-09 13:07:43 +07:00
Mikhail Bogdanov 0ddef7e4e4 Add new options for '-Xjvm-default' 2020-04-09 07:37:33 +02:00
Mikhail Bogdanov c11f38688e Deprecate @JvmDefault 2020-04-09 07:37:31 +02:00
Ilya Kirillov 2a21b18c1c Wizard: fix texts 2020-04-08 21:42:09 +03:00
Alexander Udalov 9f758b4f25 Support toString for AdaptedFunctionReference subclasses
Also make it serializable like other lambdas, suspend lambdas and normal
callable references.
2020-04-08 19:16:38 +02:00
Alexander Udalov 0681231e99 Introduce AdaptedFunctionReference runtime class
It's used as a superclass for anonymous classes for adapted function
references. Its main feature is that it _doesn't_ inherit from KFunction
(as opposed to FunctionReference), as per the decision to postpone
reflection support for adapted function references in KT-36024.

 #KT-36024 Fixed
2020-04-08 19:15:38 +02:00
Ilya Goncharov e2c2453043 [Gradle, JS] Add toStringLoader for imported
#KT-38055 fixed
2020-04-08 18:30:18 +03:00
Ilya Goncharov f6891853e0 [Gradle, JS] Reorganize css settings with rules
#KT-38055 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov 3957758541 [Gradle, JS] Upgrade at least version to 5.3
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov bc0cfb67f6 [Gradle, JS] Css mode instead of boolean flag
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov e9bc64e103 [Gradle, JS] Add test on css and migrate one test on groovy dsl
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov 6106a07282 [Gradle, JS] Css settings for karma
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov d74c52f09a [Gradle, JS] Simplify css settings
#KT-32721 fixed
2020-04-08 18:30:17 +03:00
Ilya Goncharov 9b13c05f67 [Gradle, JS] Add css settings to config
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov 0f63e66b9f [Gradle, JS] Small fixes
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov 207666b99d [Gradle, JS] Add css settings to webpack
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov 74d95736e6 [Gradle, JS] Require source-map-loader with kotlin-source-map-loader
It is WA to download necessary dependencies for source-map-loader

#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov f308bfd75f [Gradle, JS] Use let for config instead of var
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov f55998a015 [Gradle, JS] Update evaluate reporting
#KT-32721 fixed
2020-04-08 18:30:16 +03:00
Ilya Goncharov dd320040cd [Gradle, JS] Progress reporter before custom config
#KT-32721 fixed
2020-04-08 18:30:15 +03:00
Ilya Kirillov 445ca97486 Wizard: rename project templates to their corresponding titles 2020-04-08 16:49:32 +03:00
Ilya Kirillov 80f09d66db Wizard: rework build system component 2020-04-08 16:49:29 +03:00
Ilya Kirillov c1f40907db Wizard: fix layout & text problems 2020-04-08 16:49:27 +03:00
Ilya Kirillov c313916044 Wizard: upgrade Gradle version to 6.3
#KT-37932 fixed
2020-04-08 16:49:26 +03:00
Ilya Kirillov a6af27d852 Wizard: allow specifying Kotlin target version for JPS build system
#KT-37970 fixed
2020-04-08 16:49:24 +03:00
Ilya Kirillov 82a40e3394 Wizard: fix invalid repository when downloading jars for JPS
#KT-37956 fixed
2020-04-08 16:49:23 +03:00
Mikhail Glukhikh 1bab27c4c1 Add immutable collections to compiler dist (required for FIR) 2020-04-08 16:10:34 +03:00
Alexander Gorshenev 97be5617ca Renamed -Xklib-mpp to -Xexpect-actual-linker to reduce user confusion 2020-04-08 05:23:12 +03:00
Ilya Goncharov 33d4655053 [Gradle, JS] Fix for Gradle 5.4
#KT-38055 fixed
2020-04-07 13:59:37 +03:00
Ilya Goncharov 626e7d14ec [Gradle, JS] Fix once initialization of produceExecutable
#KT-38055 fixed
2020-04-07 13:59:37 +03:00
Ilya Goncharov c3ee2c81ed Revert "[Gradle, JS] Remove hard test"
This reverts commit 50e6f6e0
2020-04-07 13:59:37 +03:00
Ilya Goncharov 57b99bbc0c [Gradle, JS] Allow to create another binaries.executable
#KT-KT-38055 fixed
2020-04-07 13:59:36 +03:00
Ilya Goncharov 6a02e257a0 [Gradle, JS] Make ir binaries as live data
#KT-38058 fixed
2020-04-07 13:59:36 +03:00
Ilya Gorbunov d115792d9a Move a couple ad-hoc properties to buildSrc/BuildPropertiesExt 2020-04-07 10:54:34 +03:00
Abduqodiri Qurbonzoda 508d0edd6d Add the onEach extension function to the Array #KT-28290 2020-04-07 05:34:20 +03:00
Ilya Goncharov b309ff2039 [Gradle, JS] Group sub target tasks with dis classifier group for legacy
#KT-38056 fixed
2020-04-06 18:56:46 +03:00
Ilya Goncharov 53a20017ec [Gradle, JS] Group sub target tasks with dis classifier group
#KT-38056 fixed
2020-04-06 18:55:41 +03:00
Ilya Goncharov 4b903088bf [Gradle, JS] Distribution directory not null
#KT-38051 fixed
2020-04-06 18:40:14 +03:00
Ilya Goncharov cfa542f50b [Gradle, JS] Add outputs for distribution task
#KT-38051 fixed
2020-04-06 18:39:50 +03:00
Victor Turansky aa12d4cd0c [Gradle, JS] Karma configuration. Remove launcher duplication 2020-04-05 07:56:08 +03:00
Ilya Goncharov 12379cb91c [Gradle, JS] Bump NPM versions
#KT-37988 fixed
2020-04-03 20:38:12 +03:00
Ilya Goncharov 187ab5f393 [Gradle, JS] KT-37984 Add additional Chrome and Firefox based browsers
#KT-37984 fixed
2020-04-03 20:37:20 +03:00
Ilya Goncharov 50e6f6e07e [Gradle, JS] Remove hard test 2020-04-03 19:50:13 +03:00
Nikolay Krasko d71410bfb5 Update version of properties-maven-plugin to 1.0.0 2020-04-03 19:31:32 +03:00
Ilya Goncharov c1c0df962f [Gradle, JS] Add browser to test js composite build
#KT-37954 fixed
2020-04-03 09:47:15 +03:00
Ilya Goncharov a5026d60db [Gradle, JS] Configure test executable only once
#KT-37954 fixed
2020-04-03 09:46:15 +03:00
Ilya Goncharov c26c8fdb89 [Gradle, JS] Added binaries names to store
#KT-37954 fixed
2020-04-03 09:46:01 +03:00
Ilya Goncharov 6b32548491 [Gradle, JS] JvmOverloads for Groovy DSL
#KT-37936 fixed
2020-04-03 09:45:49 +03:00
Ilya Goncharov b3e6738243 [Gradle, JS] Fix binaries.executable for Groovy dsl
#KT-37936 fixed
2020-04-03 09:44:19 +03:00
Ilya Goncharov 07d80aa11c [Gradle, JS] KT-36784 Enable composite builds only for IR compiler
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-04-02 11:08:57 +03:00