Sergey Rostov
5ec501dce0
Gradle, JS: extract npm package constants
...
#KT-30530
2019-05-18 08:15:28 +03:00
Sergey Rostov
3797ec9255
Gradle, JS: introduce inner browser and nodejs inner targets
...
#KT-30747 Fixed
2019-05-18 08:15:27 +03:00
Sergey Rostov
066efc3732
Gradle, JS: nodejs target
2019-05-18 08:15:27 +03:00
Sergey Rostov
a609476245
Gradle, JS, webpack: source maps support
...
#KT-31013
2019-05-18 08:15:27 +03:00
Sergey Rostov
f28ff64e9f
Gradle, JS: new nodejs project layout
...
#KT-30530
2019-05-18 08:15:26 +03:00
Sergey Rostov
eb7d09a562
Gradle, JS: webpack support
...
#KT-31013
2019-05-18 08:15:26 +03:00
Sergey Rostov
32ddc2318a
Gradle, tests: clean should depend on cleanAllTests
2019-05-18 08:15:26 +03:00
Sergey Rostov
101c3588b3
Gradle, testsL fix ijListenTestTask
2019-05-18 08:15:25 +03:00
Sergey Rostov
312830ac4b
Gradle, npm: resolve node_modules at parents, return local NodeJsExtension at NodeJsPlugin.apply
2019-05-18 08:15:25 +03:00
Sergey Rostov
4f4fc74b16
Gradle, yarn: get recursively resolved dependencies
...
#KT-31018 Fixed
#KT-31016 Fixed
#KT-31017 Fixed
2019-05-18 08:15:25 +03:00
Sergey Rostov
b96f26cc77
Gradle: improve tasks registration API, fix test tasks registration
...
Previously test tasks may be created inside other registration task
lambda which may be called lazily. This is illegal in Gradle.
Also let introduce Project.createOrRegisterTask on Project receiver
and reified type parameter.
2019-05-18 08:15:25 +03:00
Sergey Rostov
39ce257e64
Gradle: webpack
...
#KT-31013 Fixed
#KT-31014 Fixed
2019-05-18 08:15:24 +03:00
Sergey Rostov
5372fcef69
Gradle, tests: remove "Task" suffix from KotlinTest tasks (as for jvm)
2019-05-18 08:15:24 +03:00
Sergey Rostov
3dae2739a4
Gradle, js: karma
...
#KT-31011 fixed
2019-05-18 08:15:24 +03:00
Sergey Rostov
92910ec3e9
Gradle, js: mocha
...
#KT-31010 Fixed
2019-05-18 08:15:23 +03:00
Sergey Rostov
4c2c8a1788
Gradle, npm: disable manageNodeModules by default
...
#KT-30530
2019-05-18 08:15:23 +03:00
Sergey Rostov
d82725718a
Gradle, js: run tests using the new project-wide node_modules
...
#KT-30530
2019-05-18 08:15:23 +03:00
Sergey Rostov
a8799f5a8d
Gradle: npm integration using yarn
...
#KT-31018 Fixed
2019-05-18 08:15:22 +03:00
Sergey Rostov
69f9e30e5a
Gradle, Tests runner: update tests, fix tests on Windows
2019-05-18 08:15:22 +03:00
Sergey Rostov
9938b7fcd0
Gradle, Native: don't capture output if treatOutputAsStracktrace enabled
...
#KT-30529
2019-05-18 08:15:22 +03:00
Sergey Rostov
7830d204aa
Gradle, tests: cleanAllTests task
...
#KT-29946
2019-05-18 08:15:21 +03:00
Sergey Rostov
8b16f182f6
Gradle, tests: show test results in IDE
...
#KT-29946
2019-05-18 08:15:21 +03:00
Sergey Rostov
125dc65178
Gradle: Kotlin/Native stack trace parser
...
#KT-30526
#KT-30529
2019-05-18 08:15:21 +03:00
Sergey Rostov
0304f090e8
Gradle: JS stack trace parser
...
#KT-30526
2019-05-18 08:15:20 +03:00
Sergey Rostov
e013645d87
Gradle, test: allTests task, same class and method names for jvm, js and native
...
#KT-30691 Fixed
#KT-31448 Fixed
2019-05-18 08:15:20 +03:00
Vadim Brilyantov
01a05a5495
Move daemon jar from compiler
2019-05-17 15:51:52 +03:00
Ilya Matveev
049269ba4f
Gradle plugin: remove old native binary APIs
...
This patch removes APIs for native binary configuring
introduced in 1.3.0 and deprecated in 1.3.30.
Issue #KT-31229 Fixed
2019-05-15 13:12:01 +07:00
Vyacheslav Gerasimov
a6e3a0f5c3
Build: Use embedded configuration in kotlin-main-kts project
2019-05-14 18:07:16 +03:00
Sergey Igushkin
be05095df5
Introduce Java support in JVM MPP targets (KT-26256)
...
Deprecate the `jvmWithJava` preset, add warning.
Add a function `withJava()` to JVM MPP targets which applies the 'java'
plugin and sets up the Kotlin & Java interoperation.
Issue #KT-26256 Fixed
Signed-off-by: Sergey Igushkin <hotkeytlt@gmail.com >
2019-05-13 16:25:09 +03:00
LepilkinaElena
f26a4e06bd
Test for compilerOpts in cinterop part of MPP plugin ( #2300 )
2019-05-13 12:05:33 +03:00
Svyatoslav Kuzmich
f4bb1354c9
[JS IR BE] Support friend modules
2019-05-08 23:34:00 +03:00
Ilya Gorbunov
2c26dc3af6
Add simplified overloads of String<->ByteArray/CharArray conversions
...
These overloads cover the most common cases of conversion of the entire
String or Byte/CharArray, avoiding extra index check and branching.
#KT-24810, KT-29265
2019-05-08 02:58:57 +03:00
Svyatoslav Kuzmich
362fbc8770
[JS IR] stdlib: Use comparator in CharArray.sort
...
CharArray is represented as a regular JS Array. Its default sort order is based
on string representation of elements.
2019-05-07 21:48:50 +03:00
Svyatoslav Kuzmich
179acf0789
[JS IR] stdlib: generate type-safe contentToString for primitive arrays
...
Avoid casting 'primitive' arrays to Array<*> because they fail on runtime
2019-05-07 21:48:50 +03:00
Abduqodiri Qurbonzoda
c8a4fa58cd
Implement String to/from ByteArray conversion (KT-24810)
2019-05-06 15:54:28 +03:00
Abduqodiri Qurbonzoda
81d2d3cb6a
Implement String to/from CharArray conversion (KT-29265)
2019-05-06 15:54:28 +03:00
Sergey Rostov
956f27cc2d
Gradle, JS Test: temporary disable js tests configuration
...
Test configuration will be reworked with new DSL for browser and nodejs
configuration.
2019-05-05 22:32:23 +03:00
Vyacheslav Gerasimov
8851029baa
Build: Use embedded configuration for compiler plugins
2019-04-29 16:23:16 +03:00
Sergey Igushkin
4848911e6d
Fix testNativeTests, add missing system-out to expected test outputs
2019-04-26 18:51:25 +03:00
Sergey Igushkin
9d7c5213df
Fix testNewKotlinJsPlugin on Windows (slashes)
2019-04-26 18:32:43 +03:00
LepilkinaElena
02331fbd7e
Unify compiler and cinterop flags names ( #2294 )
2019-04-26 13:34:14 +03:00
Ilya Matveev
774dbcd6c0
Fix IDEA import after including kotlin-native-shared in Gradle plugin
2019-04-25 21:32:03 +07:00
Ilya Matveev
24588263ed
Store kotlin-native-shared version in the jar of the Gradle plugin
2019-04-25 16:19:11 +07:00
Ilya Matveev
c9ed648303
Use kotlin-native-shared in the Gradle plugin
...
The kotlin-native-shared artifact includes API allowing
us to work with K/N platforms, hosts, distribution etc.
This patch replaces a dependency on kotlin-native-utils
containing copies of such classes with a dependency on
published kotlin-native-shared in the Gradle plugin and
bundles kotlin-native-shared into the Gradle plugin jar.
2019-04-25 16:19:11 +07:00
Ilya Chernikov
c3a439a829
Fix and refactor scripting subplugin application logic
...
so warning is not shown when discovery configuration is not populated
fix #KT-31124
refactor code for clarity on the way
also apply scripting subplugin after main plugin to ensure that
configurations are created before scripting is initialized
2019-04-24 17:27:47 +02:00
Ilya Chernikov
917fc56f36
Fix main-kts dependencies after extracting scripting
2019-04-24 17:27:03 +02:00
Sergey Igushkin
d456ae58b6
Remove usages of com.intellij.* utils from kotlin-build-common, KT-31106
...
As Gradle may under certain conditions reorder the buildscript
classpath artifacts, we need to ensure that the `kotlin-build-common`
module, which duplicates some of the classes that are shaded and packed
into `kotlin-compiler-embeddable`, does not call `com.intellij.*`
classes.
Replace the `com.intellij.*` utils that were called on the execution
path with our own implementations.
Issue #KT-31106 Fixed
2019-04-24 15:51:13 +03:00
Dmitriy Dolovov
d90b63d928
Improve logging in NativeCompilerDownloader
...
Issue #KT-31158 fixed
2019-04-24 14:17:16 +07:00
Sergey Rostov
aac564872c
Scripting, main-kts: temporary workaround to avoid IDE exceptions on Kotlin project
...
Exclude script definition from resources classpath to avoid IDE exceptions
on kotlin project. This is done by moving MainKtsScript to new `jar-resources`
folder which is not resource root.
#EA-127827
#KT-31176
2019-04-24 09:14:34 +03:00
Svyatoslav Kuzmich
bb3b9a935f
Command line interface
2019-04-23 23:19:12 +03:00