Commit Graph

7205 Commits

Author SHA1 Message Date
Vyacheslav Gerasimov 75a3808230 Build: Use sourceMapBaseDirs in :kotlin-stdlib-js:compileKotlin2Js
instead of freeCompiler args to avoid snapshotting absolute paths
and fix caching
2020-03-03 14:33:57 +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
Vyacheslav Gerasimov 8e0f403f02 Build: normalize inputs of :kotlin-reflect:stripMetadata as classpath 2020-02-29 16:33:34 +03:00
Vyacheslav Gerasimov 6e2fb72bb6 Build: Make :kotlin-reflect:relocateCoreSources task cacheable 2020-02-29 16:33:34 +03:00
Vyacheslav Gerasimov 0ebc11270b Build: Remove duplicated manifestAttributes call from reflectShadowJar
manifestAttributes call done in the result jar
2020-02-29 16:32: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
Abduqodiri Qurbonzoda fe50bb4b93 KProperty and ReadOnlyProperty type parameter names #KT-16529 2020-02-26 17:34:03 +03: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
Ilya Goncharov e631146fa7 [Gradle, JS] Fix DSL for Gradle JS wizard 2020-02-21 13:03:21 +03:00
Abduqodiri Qurbonzoda 6670a2fff8 Update public api dump 2020-02-20 21:14:52 +03:00
Ilya Goncharov 569decce43 [Gradle, JS] Fix missed import 2020-02-20 19:32:35 +03:00
Ilya Goncharov d114945b76 [Gradle, JS] Change message in polite manner
#KT-36489 fixed
#KT-36843 fixed
2020-02-20 19:32:35 +03:00
Ilya Goncharov e0be8f271f [Gradle, JS] Not error, but warning with test fix 2020-02-20 19:32:35 +03:00