Commit Graph

4445 Commits

Author SHA1 Message Date
Dmitriy Dolovov 31a1f8ff4b Include :native:kotlin-native-utils into kotlin-compiler.jar 2020-04-01 11:46:55 +07:00
Dmitriy Dolovov 28cb9d4e13 Gradle: Remove redundant dependency on 'kotlin-native-utils' artifact 2020-04-01 11:46:49 +07:00
Ilya Kirillov 487e1ddddc Wizard: do not update path & artifactId value for invalid project name 2020-03-31 20:32:37 +03:00
Ilya Kirillov fef3ea573b Wizard: allow "-" char in artifactId/groupId & fix their error messages
#KT-37820 fixed
2020-03-31 20:32:37 +03:00
Ilya Gorbunov b4d7dfd02c Advance minimal Gradle version for .gradle.kts tests to 5.0
Kotlin compiler 1.2 bundled in Gradle 4.10 and lower cannot read
binaries produced by 1.4 compiler and thus cannot compile .gradle.kts
scripts that depend on  1.4 Kotlin gradle plugin artifacts.
2020-03-31 16:02:36 +03:00
Ilya Goncharov ccf5a2b4ad [Gradle, JS] KT-36784 Add additional args for npm install
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:54 +03:00
Ilya Goncharov 14f0091c84 [Gradle, JS] KT-36784 Add tests on local npm dependencies in composite
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:54 +03:00
Ilya Goncharov 149d7fb33a [Gradle, JS] KT-36784 Fix requireing of node modules
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov f30875f79b [Gradle, JS] KT-36784 Move fromSrcPackageJson
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov 253b8587e4 [Gradle, JS] KT-36784 Composite build test
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov 568ef5dc5f [Gradle, JS] KT-36784 Fix depends on for package json umbrella
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov e27c334d4a [Gradle, JS] Fix package.json file
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov fa632a2aea [Gradle, JS] KT-36784 Input as composite package.json
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov e85501337e [Gradle, JS] Imported dependencies as file dependencies, not workspaces
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov 98f012b1c8 [Gradle, JS] KT-36784 Dependencies for workspaces
But it should be done as a file dependencies

This reverts commit c5f2ff30

#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov 2cee63f753 [Gradle, JS] KT-36784 Remove inter workspace dependencies
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov d0f4cdef68 [Gradle, JS] KT-36784 Fix relative folder
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:53 +03:00
Ilya Goncharov 1ef37b6203 [Gradle, JS] KT-36784 Add composite dependencies to hook
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
Ilya Goncharov d3cb31c584 [Gradle, JS] KT-36784 Add internalCompositeDependencies as inputs
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
Ilya Goncharov 1c04ac71e9 [Gradle, JS] Formatting dependency resolution for npm
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
Ilya Goncharov ba6cadfc38 [Gradle, JS] Use name of included build by root project
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
Ilya Goncharov c5c3f52b81 [Gradle, JS] Umbrella package json task
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
Ilya Goncharov 63487c3836 [Gradle, JS] Scan all packages in included build
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
Ilya Goncharov 7ad489883d [Gradle, JS] Hardcode with composite build
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
Ilya Goncharov ae021e21db [Gradle, JS] GradleNodeModuleBuilder use files instead of artifacts
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
Ilya Goncharov be4c301808 [Gradle, JS] Abstractize GradleNodeModulesCache.kt
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
Ilya Goncharov 77139a3a10 [Gradle, JS] Add internal composite dependencies
#KT-32466 fixed
#KT-36784 fixed
#KT-36864 fixed
2020-03-31 14:56:52 +03:00
n-p-s 7bb7c86fa9 Add samples for partition 2020-03-31 02:04:55 +03:00
Ilya Gorbunov dd2aa3de28 Add sample for filterNot and improve sample for filter 2020-03-31 02:04:55 +03:00
Brian Plummer f887a29279 Add sample for filter 2020-03-31 02:04:55 +03:00
adammc331 840f222867 Add sample for filterNotNull 2020-03-31 02:04:55 +03:00
Scott Weber e8ee405cdb Add sample for text version of chunked 2020-03-31 02:04:55 +03:00
Nikolay Krasko e618c211b4 Run test with full path to maven (KT-37654)
Prepare to mvn update on build server to fix sporadic
failures on Windows
2020-03-30 18:09:29 +03:00
Ilya Matveev 172a45a637 Gradle, native: Fix building platform libraries for MIPS
The sysroot for linux_mips doesn't contain one of platform
libs available for Linux (zlib). So we need to put def-files
to the K/N distribution on a per-target basis instead of putting
a single set of def-files for all targets of the same OS.

Corresponding change in the K/N repository:
https://github.com/JetBrains/kotlin-native/pull/4023

This patch take this change into account at the Gradle plugin side.
2020-03-30 17:31:12 +07:00
Ilya Goncharov 84f9dcd48a [Gradle, JS] KT-37207 Add test case with non module directory dependency 2020-03-30 10:46:34 +03:00
Ilya Goncharov f1133defa3 [Gradle, JS] KT-37207 Possibility to add dependency on not module dir 2020-03-30 10:46:34 +03:00
Ilya Goncharov f0c900c027 [Gradle, JS] KT-37207 Add test on file-only dependency 2020-03-30 10:46:34 +03:00
Ilya Goncharov c72e4a0091 [Gradle, JS] KT-37207 Support file-only npm dependency in extension 2020-03-30 10:46:34 +03:00
Ilya Goncharov f6ef96a34c [Gradle, JS] KT-37207 Leave constructor NpmDependency once 2020-03-30 10:46:34 +03:00
Ilya Goncharov 459577e646 [Gradle, JS] KT-37207 Add constructor fot NpmDependency with only file 2020-03-30 10:46:34 +03:00
Ilya Goncharov 7fc74ff7bd [Gradle, JS] KT-37207 Correct path to dependency directory 2020-03-30 10:46:34 +03:00
Ilya Goncharov 6b035bcdc2 [Gradle, JS] KT-37207 Move File prefix to NpmDependency.kt 2020-03-30 10:46:34 +03:00
Ilya Goncharov 4d107751d7 [Gradle, JS] KT-37207 Fix of test 2020-03-30 10:46:34 +03:00
Ilya Goncharov 8cefa09528 [Gradle, JS] KT-37207 Add possibility to add npm dependency to directory 2020-03-30 10:46:33 +03:00
Ilya Goncharov ee941a3e77 [Gradle, JS] KT-37207 Add test 2020-03-30 10:46:33 +03:00
Ilya Goncharov ab56ec7481 [Gradle, JS] Use standard instance filtering 2020-03-30 10:35:15 +03:00
Ilya Goncharov bc22489aab [Gradle, JS] Fix link task options for IR tooling 2020-03-30 10:35:15 +03:00
Alexander Udalov 7bb77e5672 Move JS binary version utilities to 'js.config'
This allows to replace dependency of 'util' on 'deserialization' with
dependency on 'descriptors'.
2020-03-28 21:30:06 +01:00
Dmitriy Dolovov 2aa8601f93 Minor. Comments added 2020-03-27 13:11:24 +07:00
Ilya Gorbunov e8dff3609b Add @ExperimentalUnsignedTypes to unsigned array snapshot extensions 2020-03-26 23:30:19 +03:00