Commit Graph

7566 Commits

Author SHA1 Message Date
Ilya Goncharov c20184ae08 [Gradle, JS] Add option for generate kotlin externals
KT-38331
2020-05-18 17:41:46 +03:00
Ilya Goncharov 53a5980d4c [Gradle, JS] Forbid create peer dependency with directory
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 4d32140f6f [Gradle, JS] Extract interface with directory dependency
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 52214e9093 [Gradle, JS] Add deprecation on npm with name only
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 3c0965802a [Gradle, JS] Extract name only npm dependency to separate interface
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 228e22b4cb [Gradle, JS] Update NPM dependency fail message for Groovy
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov 5a348a4831 [Gradle, JS] Add dev dependency to test
#KT-38683 fixed
2020-05-18 17:41:46 +03:00
Ilya Goncharov efe70da594 [Gradle, JS] KotlinDependencyHandler extends from KotlinNpmDependencyHandler to provide these functions in interface
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 4fb1e4614d [Gradle, JS] Remove deprecated npm dependency with org
#KT-38683 fixed
#KT-38994 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov b4b2efdc08 [Gradle, JS] Remove copypaste on name only npm dependency
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 2378d9ba0a [Gradle, JS] Remove copypaste on directoryNpmDependency
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 28b0bfd40c [Gradle, JS] Remove possibility to declare npm dependency w/o version
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 3a9e3f29e4 [Gradle, JS] Make addNpmDependencyExtension as internal
#KT-38683 fixed
2020-05-18 17:41:45 +03:00
Ilya Goncharov 6bde5b620e [Gradle, JS] Add test on NPM range versions
#KT-38990 fixed
2020-05-18 12:48:03 +03:00
Ilya Goncharov fd7cd7167c [Gradle, JS] Extract methods about parse line
#KT-38990 fixed
2020-05-18 12:47:56 +03:00
Ilya Goncharov 0492d81a8c [Gradle, JS] Process quoted value in yarn.lock
#KT-38990 fixed
2020-05-18 12:47:40 +03:00
Ilya Gorbunov a3e8f02330 Update proguard version in test
The latest version at this moment (6.2.2) that ignores mutlirelease jar
content automatically, e.g. META-INF/versions/9 directory content.

Previous versions fail with the error
"class [META-INF/versions/9/module-info.class] unexpectedly contains class [module-info]"
2020-05-18 11:21:13 +03:00
Ilya Gorbunov 843829116d Add module-info to kotlin-test-* framework adapter artifacts
#KT-21266
2020-05-18 11:21:13 +03:00
Ilya Gorbunov 92c4ccc65f Allow customizing compilation classpath for JPMS module-info build 2020-05-18 11:21:13 +03:00
Ilya Gorbunov e3d20a2f5c Update module-info exports for stdlib and suppress warnings
- include kotlin.time package

Suppress module-info warnings:

- terminal digits in module name
- open/export for another not yet built dependee module

#KT-21266
2020-05-18 11:21:12 +03:00
Ilya Gorbunov 01fb200791 Build default jvm core libraries artifacts as modular
#KT-21266
2020-05-18 11:21:12 +03:00
Ilya Kirillov 9ca6091b1d Wizard: use correct version of react libraries
#KT-38929 fixed
2020-05-18 08:59:41 +03:00
Ilya Chernikov fb6ef38370 Revert "Add info about the end of range in scripting REPL compiler messages"
This reverts commit af251caf, because it breaks daemon/client
compatibility, which we'd like to keep as much as possible
2020-05-15 21:15:48 +02:00
Konstantin Tskhovrebov 32e0ce8779 Disable default platform libs for konanc metadata compilation. 2020-05-15 18:27:13 +03:00
Konstantin Tskhovrebov 17ad0a97d8 Add commonized dependencies to metadata compilation. 2020-05-15 18:27:13 +03:00
Konstantin Tskhovrebov beb59b3075 Refactor: add Project.getMetadataCompilationForSourceSet extension. 2020-05-15 18:27:13 +03:00
Roman Artemev 9d9930f748 [JS SCRIPT] Fix test dependencies
- make sure kotlin stdlib is compiled and accessible
2020-05-14 17:58:33 +03:00
Roman Artemev 0e21dd15ba [JS SCRIPT] Fix script test data 2020-05-14 17:58:33 +03:00
Alexander Udalov 82551e91a4 Add KClass.isFun modifier to reflection
#KT-38881 Fixed
2020-05-14 14:05:51 +02:00
Ilya Gorbunov 188bcf0e7b stdlib-js-ir: do not copy source directories from the same project 2020-05-14 10:40:34 +03:00
Ilya Gorbunov 46b0784508 Disable kotlinMetadata compilation for js-ir-minimal-for-test
Use more convenient way to specify dependency on source syncing tasks.
2020-05-14 10:40:18 +03:00
Ilya Gorbunov a95f205c1a Binary compatibility validator is now an external tool
Use its code from a dependency.
2020-05-13 19:00:35 +03:00
Alexander Udalov 0ce16b9d8c Support non-reified type parameters in typeOf in JVM and JVM_IR
#KT-30279 Fixed
2020-05-13 10:04:28 +02:00
Alexander Udalov 012ffa2993 Support new scheme of compilation of OptionalExpectation annotations
Instead of generating these annotation classes as package-private on
JVM, serialize their metadata to the .kotlin_module file, and load it
when compiling dependent multiplatform modules.

The problem with generating them as package-private was that
kotlin-stdlib for JVM would end up declaring symbols from other
platforms, which would include some annotations from package
kotlin.native. But using that package is discouraged by some tools
because it has a Java keyword in its name. In particular, jlink refused
to work with such artifact altogether (KT-21266).

 #KT-38652 Fixed
2020-05-12 19:28:57 +02:00
Ilya Gorbunov 5d724a8cbc Fix samples package import
Dokka can only clean samples.* import when converting samples to
runnable.
2020-05-12 17:35:33 +03:00
Kirill Shmakov 84c6c365db Wizard: Reorder build phases in iOS template (fix KT-38810) 2020-05-12 17:32:37 +03:00
Kirill Shmakov cc7b8cc558 Wizard: Add KMM-related property in iOS template gradle.properties 2020-05-12 17:32:37 +03:00
Ilya Muradyan 8a1b44cc2b Add snippet result type to analysis output of REPL IDE services 2020-05-11 10:45:49 +02:00
Ilya Chernikov c496b93218 [minor] refactor repl API file layout 2020-05-11 10:45:48 +02:00
Abduqodiri Qurbonzoda 0c7b04a495 Document fromIndex and toIndex parameters #KT-38388 2020-05-09 23:34:03 +03:00
Kirill Shmakov a590fe3d65 Wizard: Use simpler debug information settings 2020-05-08 23:23:52 +03:00
Svyatoslav Kuzmich 3d5003d476 [JS_IR] Use new plugin to build Kotlin/JS stdlib with IR compiler
- Switch to building stdlib with bootstrap compiler since IR is stable
  enough
- Build stdlib with coreLibs by default
- Include JS IR stdlib to kotlin distribution
2020-05-08 10:37:48 +03:00
Sergey Igushkin 292563451c Fix falsely skipped shared-native source sets in HMPP (KT-38746)
Issue #KT-38746 Fixed
2020-05-07 11:55:29 +00:00
subroh0508 50151e0e01 [Gradle, JS]AbstractNpmDependencyExtension -> DefaultNpmDependencyExtension 2020-05-07 10:21:51 +03:00
subroh0508 abf942b928 [Gradle, JS]Add optionalNpm methods 2020-05-07 10:21:51 +03:00
subroh0508 34e8b11475 [Gradle, JS]Add directoryNpmDependency method 2020-05-07 10:21:51 +03:00
subroh0508 121897133e [Gradle, JS]Delete peerNpm method used by file argument 2020-05-07 10:21:51 +03:00
subroh0508 231324d119 [Gradle, JS]Add peerNpm method for peerDependencies to KotlinDependencyHandler 2020-05-07 10:21:51 +03:00
subroh0508 3e2feac4ea [Gradle, JS]Add devNpm method for devDependencies to KotlinDependencyHandler 2020-05-07 10:21:51 +03:00
Mikhail Bogdanov 4f7599076c Postpone JvmDefault deprecation. Revert "Deprecate @JvmDefault"
This reverts commit c11f3868
2020-05-04 10:02:16 +02:00