Commit Graph

7171 Commits

Author SHA1 Message Date
Ilya Kirillov 2696ee75a0 Wizard: update project & module templates texts 2020-03-26 09:39:01 +03:00
Ilya Kirillov 7cc18ee4f5 Wizard: update project template texts 2020-03-26 09:39:00 +03:00
Ilya Kirillov 24d53d5d08 Wizard: remove unused project tags 2020-03-26 09:38:59 +03:00
Ilya Kirillov 9435b386ce Wizard: add module dependencies to UI 2020-03-26 09:38:54 +03:00
Ilya Kirillov 0dc0c41842 Wizard: move pom settings to the first phase 2020-03-26 09:38:53 +03:00
Ilya Kirillov c71972afc9 Wizard: don't show error dialog on validation, instead navigate to the error 2020-03-26 09:38:52 +03:00
Ilya Kirillov f3ca37fbac Wizard: flatten second UI step to fit new UI 2020-03-26 09:38:47 +03:00
Ilya Kirillov 586917ef3d Wizard: add project preview 2020-03-26 09:38:46 +03:00
Ilya Kirillov cbfe05efc8 Wizard: place all settings of first step into one setting list 2020-03-26 09:38:44 +03:00
Ilya Kirillov 586b044235 Wizard: add project name and path to the first step 2020-03-26 09:38:43 +03:00
Ilya Kirillov cf7bbdde10 Wizard: do not pass writer to ModulesToIRsConverterData 2020-03-26 09:38:42 +03:00
Ilya Kirillov 45b01f7fc4 Wizard: add module dependencies to modules from jvm -> jvm dependencies 2020-03-26 09:38:41 +03:00
Ilya Kirillov db6dfbbb9f Wizard: rename ReadingContext -> Reader, WritingContext -> Writer 2020-03-26 09:38:39 +03:00
Ilya Kirillov f1741a4d1b Wizard: do not require to default settings to be present in yaml 2020-03-26 09:38:38 +03:00
Ilya Kirillov a16cb7b74d Wizard: add option to enable Java support for JVM targets
#KT-36179 fixed
2020-03-26 09:38:37 +03:00
Ilya Kirillov 691ee7412a Wizard: all context operations to read/write operations 2020-03-26 09:38:36 +03:00
Ilya Kirillov 81c7cb20f3 Wizard: minor, move out module validators from Module class 2020-03-26 09:38:35 +03:00
Ilya Kirillov a88a19a1b9 Wizard: migrate tests to Kotlin 1.3.70 2020-03-26 09:38:34 +03:00
Ilya Kirillov 693e12d826 Wizard: minor, remove unused functions 2020-03-26 09:38:33 +03:00
Ilya Kirillov 2460f6cfe6 Wizard: remove unused error types 2020-03-26 09:38:32 +03:00
Ilya Kirillov 98faaf9eba Wizard: make YamlParsingError to be exception error 2020-03-26 09:38:31 +03:00
Ilya Kirillov 51f71a4e33 Wizard: do not use apache maven Version classes 2020-03-26 09:38:29 +03:00
Ilya Kirillov 38ff41a524 Wizard: move settings to separate package 2020-03-26 09:38:21 +03:00
Ilya Kirillov 2fa0e7490f Wizard: minor, remove unused functions 2020-03-26 09:38:20 +03:00
Ilya Kirillov 4ef01aea3f Wizard: minor, commonize settings initialization with default values 2020-03-26 09:38:19 +03:00
Ilya Kirillov 42529ec525 Wizard: add test infrastructure, project importing tests & project templates tests 2020-03-26 09:38:17 +03:00
Ilya Kirillov 2f30195a6d Wizard: add some basic IOs module configurator 2020-03-26 09:38:16 +03:00
Ilya Kirillov 275212b6a9 Wizard: introduce Android module type 2020-03-26 09:38:15 +03:00
Ilya Goncharov b04844d583 [Gradle, JS] Actualize Node and Yarn versions
#KT-37762 fixed
2020-03-25 19:50:44 +03:00
Dmitriy Novozhilov 0d6bb33f49 Update version of kotlinx-collections-immutable in dependencies 2020-03-25 18:07:27 +03:00
Yaroslav Chernyshev b13b6d86c7 [Gradle, Native] Advanced CocoaPods integration. 2020-03-25 11:20:01 +03:00
Ilya Goncharov c527f8e117 [Gradle, JS] Do not check exit code
Because mocha don't make difference between infrastructure and runtime problems and failing tests
This reverts commit e6d39ce7
https://github.com/mochajs/mocha/issues/4216
2020-03-24 19:22:24 +03:00
Ilya Goncharov 930b69bef5 [Gradle, JS] Add checks on module name set before browser and nodejs
- Add outputModuleName for compilations

KT-32017
2020-03-24 19:05:45 +03:00
Ilya Goncharov 4da31f1948 [Gradle, JS] Fix cast
#KT-32017 fixed
2020-03-24 17:43:37 +03:00
Ilya Goncharov 5492a93229 [Gradle, JS] Module name for js
#KT-32017 fixed
2020-03-24 17:43:37 +03:00
Ilya Goncharov 19afcd7b6b [Gradle, JS] Introduce semver satisfying for comparison with wildcard 2020-03-24 17:38:17 +03:00
Ilya Goncharov eabd8cfb5f [Gradle, JS] KT-37587 Dynamic resolve of karma.config.d 2020-03-24 17:05:16 +03:00
Victor Turansky 1f6834538b KT-37587 Karma. Revert input check for 'webpack.config.d' directory 2020-03-24 15:52:52 +03:00
Victor Turansky 4cd4dfee25 KT-37587 Karma. Support dynamically created webpack configs 2020-03-24 15:52:52 +03:00
Ilya Goncharov 7736e5f4a7 [Gradle, JS] Run tasks for legacy target 2020-03-24 15:42:07 +03:00
Ilya Matveev 4171dd511f Gradle, native: Fix generating platform libs for Windows 2020-03-24 18:54:12 +07:00
Ilya Matveev 38b5414f30 Gradle, native: Actualize stacktrace format in tests 2020-03-24 18:54:12 +07:00
Ilya Matveev a51230d307 Gradle, native: Support reinstalling K/N compiler
Sometimes a user may need to invalidate all precompiled
caches and regenerate all platform libraries. For example
this may be necessary after updating Xcode since platform
libraries are generated on basis of Xcode frameworks.

This patch provides a simple setting allowing a user
to manually reinstall a K/N compiler.
2020-03-24 18:54:11 +07:00
Ilya Matveev 27f5c577c9 Gradle, native: Generate platform libraries at the user side
Since 1.4, a regular K/N distribution will not contain prebuilt
platform libraries, so the libraries must be generated at the
user side.

This patch adds support for such generation to the MPP Gradle
plugin. The generation itself is performed by separate utility
provided by the K/N compiler distribution. The plugin checks
existence of platform libraries for required targets and starts
this utility if some some of these libraries are missing. Building
caches for platform libraries is also performed at this step.

The patch also adds some project properties allowing a user to
workaround potential problems. User will be able to:
  - Use a special distribution with prebuilt platform libraries.
  - Force building platform libraries in the good old sourcecode mode
    in case of some issues with the new metadata mode.

Kotlin/Native counterpart: https://github.com/JetBrains/kotlin-native/pull/3829.

Issue #KT-32931 Fixed
2020-03-24 18:54:11 +07:00
Victor Turansky 95857c5af4 KT-34468 Yarn. Add entry registry 2020-03-24 11:28:02 +03:00
Victor Turansky 35e3691d6c KT-34468 Yarn. Lock file check at the beginning 2020-03-24 11:28:02 +03:00
Victor Turansky 8cd23dfc9a KT-34468 Yarn. Remove redundant collection creation 2020-03-24 11:28:02 +03:00
Victor Turansky 21cd5086ed KT-34468 Yarn. Named parameters for NpmDependency 2020-03-24 11:28:02 +03:00
Victor Turansky 6931b37a79 KT-34468 Yarn. Dependency search key calculated once 2020-03-24 11:28:02 +03:00
Victor Turansky 0d1bf66c2a KT-34468 Yarn. Star version support fix 2020-03-24 11:28:02 +03:00