Ilya Goncharov
7da220b0a2
[Gradle, JS] Check current chosen js compiler for targets in JS and MPP
2020-03-06 17:26:48 +03:00
Ilya Goncharov
a1263e445e
[Gradle, JS] Add redundant methods for single js plugin
2020-03-06 17:26:48 +03:00
Ilya Goncharov
8fbfa8b819
[Gradle, JS] Migrate from singletons to classes
2020-03-06 16:07:11 +03:00
Ilya Goncharov
82de930574
[Gradle, JS] Consider transitivity in cache of npm dependencies
2020-03-06 16:07:11 +03:00
Ilya Goncharov
49814c438c
[Gradle, JS] Fix naming
2020-03-06 16:07:10 +03:00
Ilya Goncharov
2eea8b0760
[Gradle, JS] Support transitive mode for npm dependencies
...
#KT-36196 fixed
2020-03-06 16:07:10 +03:00
Ilya Goncharov
d108c8ef51
[Gradle, JS] Move logic of resolving NpmDependency to Npm Api
...
#KT-36196 fixed
2020-03-06 16:07:10 +03:00
Sergey Igushkin
90f4f5db26
Internal visibility between common source sets in Gradle (KT-37264)
...
In KotlinCompileCommon, pass the friendPaths and refinesPaths arguments
In KotlinNativeCompilation, add both friend and refined dependencies as
friends for now.
In getVisibleSourceSetsFromAssociateCompilations, exclude the metadata
compilations to avoid incorrect results (those compilations don't have
proper kotlin
Issue #KT-37264 Fixed
2020-03-06 15:56:41 +03:00
Vyacheslav Gerasimov
c2457cae60
Read KotlinCompilerVersion from resource file
...
Writing build number into a public constant field leads to poor gradle
cache reuse between different builds. Public constant value is a part of
public api and its changes affect inputs of dependent modules.
Extracting build number to resource file allows to ignore it from
runtime classpath which fixes same problem for KotlinCompile tasks
2020-03-05 18:05:53 +03:00
Abduqodiri Qurbonzoda
a32f742893
Inherit ReadWriteProperty from ReadOnlyProperty #KT-27729
2020-03-05 16:53:02 +03:00
Ivan Gavrilovic
6d4eb9ae52
KT-36113: Make KAPT classpath snapshot deterministic
...
When snapshotting a classpath entry, sort information about types
so there is no dependency on the order of entries in jar.
Test: ClasspathAnalyzerTest
2020-03-03 14:22:57 +09:00
Ilya Kirillov
a6139f3635
Wizard: minor: fix YamlParsingError package
2020-03-01 21:32:36 +03:00
Ilya Kirillov
a9c96a7cde
Wizard: move downloading Kotlin version phase to the end
2020-03-01 19:07:51 +03:00
Ilya Kirillov
a03510e3c0
Wizard: add tags for project templates
2020-03-01 19:07:50 +03:00
Ilya Kirillov
d639816393
Wizard: use kotlinx-collections-immutable for storing IRs
2020-03-01 19:07:49 +03:00
Vyacheslav Gerasimov
05b5894ef1
Build: Use configurations property for shadowJar in :kotlin-main-kts
...
It marked as classpath and improves cache reuse between different builds
2020-02-29 16:36:02 +03:00
Sergey Igushkin
f764d3a021
testCompileOnlyDependencyProcessingForMetadataCompilations -> Gradle 5+
...
This test fails with Gradle 4.9 due to a Gradle bug when Gradle is
unable to pick up task dependencies from providers nested into a file
collection. That doesn't seem feasible to fix.
2020-02-28 20:09:45 +03:00
Sergey Igushkin
b8602fa31a
Fix missing installation dependencies in Gradle integration tests
2020-02-28 20:09:45 +03:00
Ilya Matveev
f53b059410
[Gradle, tests] Fix native compiler arguments test for Windows
2020-02-28 17:50:55 +07:00
Vyacheslav Karpukhin
a01b840eab
Android Import: Search for Android SDK using public API instead of reflection
2020-02-26 19:03:48 +01:00
Stanislav Erokhin
74348d5ffb
Fix compile configuration for maven compiler plugins
...
Previously in kotlin-maven-noarg & kotlin-maven-serialization plugins
java was compiled before kotlin, and because of that links from java
to kotlin was unresolved.
It was fixed as prescribed by docs: https://kotlinlang.org/docs/reference/using-maven.html#compiling-kotlin-and-java-sources
2020-02-26 12:12:35 +03:00
Ilya Goncharov
ee9be61c20
[Gradle, JS] Fix propogation useCommonJs to irTarget
...
#KT-37036 fixed
2020-02-26 11:40:45 +03:00
Ilya Goncharov
7719dfca4a
[Gradle, JS] Fix timeout for debug
...
#KT-37035 fixed
2020-02-26 11:36:17 +03:00
Ilya Kirillov
870b7d234f
Wizard: refactoring do not use context directly in UI
2020-02-26 11:19:09 +03:00
Ilya Kirillov
ad39d0520a
Wizard: use first enum entry as default value for enumSetting
2020-02-26 11:19:08 +03:00
Ilya Kirillov
3967522c08
Wizard: fix Android minifyEnabled call for groovy
2020-02-26 11:19:08 +03:00
Ilya Kirillov
7e22572324
Wizard: add configuration for Android MPP target
2020-02-26 11:19:08 +03:00
Ilya Kirillov
3eca687611
Wizard: move module configurator settings to companion objects
2020-02-26 11:19:08 +03:00
Ilya Kirillov
4c62f64396
Wizard: minor, not to use reading context directly in some places
2020-02-26 11:19:08 +03:00
Ilya Kirillov
8259bf749d
Wizard: always use all plugin set in tests
2020-02-26 11:19:08 +03:00
Ilya Kirillov
7a3d730aec
Wizard: refactoring: rename contexts
...
TaskRunningContext -> WriteContext,
ValuesReadingContext -> ReadingContext
2020-02-26 11:19:08 +03:00
Ilya Kirillov
1c49b230f4
Wizard: force service to always return non-null value
2020-02-26 11:19:07 +03:00
Ilya Kirillov
05022109fc
Wizard: save some setting values in UI
...
#KT-35585 fixed
2020-02-26 11:19:07 +03:00
Ilya Kirillov
9e47d0b33c
Wizard: move Android SDK Setting to AndroidPlugin
2020-02-26 11:19:07 +03:00
Ilya Kirillov
6228fa4d3e
Wizard: remove unused function
2020-02-26 11:19:07 +03:00
Ilya Kirillov
7448b8beb0
Wizard: fix invalid android package name
...
#KT-36169 fixed
2020-02-26 11:19:07 +03:00
Ilya Kirillov
e1b99580eb
Wizard: introduce Android & JS multiplatform project kinds
...
#KT-36155 fixed
2020-02-26 11:19:06 +03:00
Ilya Kirillov
a5a72a89fc
Wizard: allow to create multiple JVM targets
...
#KT-36177 fixed
2020-02-26 11:19:06 +03:00
Ilya Kirillov
bb455ec8f6
Wizard: make error messages in ui clickable
...
#KT-36162 fixed
2020-02-26 11:19:06 +03:00
Ilya Kirillov
087de68b3a
Wizard: flatten JVM targets
...
#KT-36267 fixed
2020-02-26 11:19:06 +03:00
Ilya Kirillov
fa4d790f5a
Wizard: add jvm target setting for JVM configurations
...
#KT-36180 fixed
2020-02-26 11:19:05 +03:00
Ilya Kirillov
fabb0584da
Wizard: remove module types for some module configurators
...
#KT-36176 fixed
2020-02-26 11:19:05 +03:00
Abduqodiri Qurbonzoda
1f721796b8
Add vararg overloads for maxOf/minOf functions #KT-33906
2020-02-26 04:17:19 +03:00
Dmitriy Dolovov
d76dc6f57e
[Commonizer] Call commonizer on Gradle configuration phase
...
Issue #KT-36858
Initially it was called on execution step which may be omit
during project import into IDEA.
2020-02-21 21:54:15 +07:00
Ilya Goncharov
068d547375
[Gradle, JS] UpperCased KotlinJsCompilerType
2020-02-21 13:14:36 +03:00
Ilya Goncharov
9acd98071e
[Gradle, JS] Divide KotlinJsCompilerAttribute
2020-02-21 13:14:36 +03:00
Ilya Goncharov
cc97138e9c
[Gradle, JS] Extract JS presets container, no js in codegen since now
2020-02-21 13:14:36 +03:00
Ilya Goncharov
fa335b5360
[Gradle, JS] Js default compiler type for mpp
2020-02-21 13:14:36 +03:00
Ilya Goncharov
8dc75def19
[Gradle, JS] Use default configuration names only once in constants
2020-02-21 13:14:36 +03:00
Ilya Goncharov
664775a43f
[Gradle, JS] Configure compiler type with single platform plugin
2020-02-21 13:14:35 +03:00