Ilya Goncharov
ad09492eb0
[Gradle, JS] Migrate on only name-version npm dependencies
...
#KT-32179 fixed
2019-11-26 16:05:17 +03:00
Ilya Goncharov
95b56e10b4
[Gradle, JS] Activate root npm dependency declaration for multiplatform
2019-11-26 16:04:37 +03:00
Ilya Goncharov
5397023f71
[Gradle, JS] Add Groovy Closure support
2019-11-26 16:04:37 +03:00
Ilya Goncharov
028c73d959
[Gradle, JS] Add compatible operators for npm dependencies
2019-11-26 16:04:37 +03:00
Ilya Goncharov
26cd392a9a
[Gradle, JS] First steps for npm dependencies in root
2019-11-26 16:04:37 +03:00
Nikolay Krasko
13b0054e0a
Fix compilation for service messages tests in 193 branch
2019-11-26 15:39:28 +03:00
Anton Bannykh
9fec2c78d1
JS IR: apply forLoopsLowering
...
Replaced createTemporaryVariable usages with createTmpVariables.
The latter doesn't rely on KotlinType's. Using KotlinType with
JS_IR backend causes runtime excpetions, as some expected descriptor
API is not implemented, because it avoids descriptors as much as
possible.
2019-11-26 15:08:10 +03:00
Anton Bannykh
81699299f5
JS_IR: DCE
...
Could be enabled by toggling `-Xir-dce`
Box test output in js/js.translator/testData/out-min
2019-11-26 12:20:39 +03:00
Svyatoslav Kuzmich
dc336c3c8a
[JS] Add marker function getReifiedTypeParameterKType to runtime
...
So compiler bugs would produce a nicer error message instead of:
"TypeError: getReifiedTypeParameterKType is not a function"
2019-11-25 20:25:03 +03:00
Roman Artemev
987c6ab3ee
[JS IR] Roll making Char inline class back
...
- un/mute falling tests
2019-11-25 20:22:03 +03:00
Ilya Chernikov
b73625ad9e
Switch main-kts to the updated resolvers infrastructure
2019-11-25 14:46:32 +01:00
Ilya Chernikov
baec10fb40
Update apache ivy version to 2.5.0
...
#KT-34893 fixed
2019-11-25 14:46:32 +01:00
Ilya Chernikov
4234c5ec31
Fix ivy resolver: deps config and maven repos:
...
Transitive dependencies weren't fetched properly in some cases, because of the two problems:
- missing dependency configuration for the root dependency
- using URLResolver for the maven-based (IBiblio) resolvers
Also adding resolver name for easier debugging.
2019-11-25 14:46:32 +01:00
Victor Turansky
9330547f87
Gradle 6.0.1 support. Fix Yarn loading progress logging
...
Details - https://github.com/michel-kraemer/gradle-download-task/issues/143
Otherwise - no loading progress log
2019-11-25 13:00:46 +03:00
Jens Klingenberg
508330e0bb
Remove deprecated method from CommandLineProcessor
2019-11-22 16:06:35 +09:00
Ivan Gavrilovic
3a7deffe2e
KT-33050: Pass source version to KAPT for JDK12+
...
In JDK 12+ source version should be passed using --source option,
instead of -source. This commit uses correct option based on the
JDK current build is using.
Fixes KT-33050
2019-11-22 16:06:35 +09:00
Ivan Gavrilovic
f4c6f57354
KT-34194: Pass error/NonExistentClass for incremental KAPT run
...
When running KAPT incrementally, make sure to pass error/NonExistentClass.java
when there is at least one source file to process. This is to make sure
APs that must resolve all types are able to do so.
Test: updated KaptIncrementalWithAggregating/WithIsolating
2019-11-22 16:06:34 +09:00
sergey.igushkin
88dae8025e
Fix failure with Kotlin/Native distributions that have no stdlib
...
Add a warning message during Gradle configuration phase if the
Kotlin/Native distribution is missing the stdlib.
Issue #KT-35033 Fixed
2019-11-21 18:28:59 +03:00
Ilya Goncharov
64380670c5
[Gradle, JS] Add more info for check exit code
2019-11-21 12:59:52 +03:00
Ilya Goncharov
ac241852de
[Gradle, JS] Add verbose option to yarn in debug mode
2019-11-21 12:59:52 +03:00
Alexey Trilis
764a25f6ae
[JS] Add deprecated typealias and extension properties for renamed in dukat update entities
2019-11-20 12:49:03 +01:00
Ilya Goncharov
d246d12093
[Gradle, JS] Add intregration test on browser pipeline with transitive dependencies
2019-11-19 14:02:47 +03:00
Ilya Goncharov
c87961dcad
[Gradle, JS] Dce should work with runtime classpath
...
#KT-34946 fixed
2019-11-19 14:02:45 +03:00
Ilya Goncharov
c2b53dfce7
[Gradle, JS] Add debugger; only for debug mode
2019-11-19 13:52:37 +03:00
Ilya Goncharov
4d3698313d
[Debugger, JS] Configure timeouts for debugging
2019-11-19 13:52:37 +03:00
Ilya Goncharov
79ef361e1a
[Debugger, JS] Remove Mocha configuring in KotlinKarma
2019-11-19 13:52:37 +03:00
Ilya Goncharov
15a606c2b6
[Debugger, JS] Rename karma-debug on karma-debug-runner
2019-11-19 13:52:37 +03:00
Ilya Goncharov
5f8a5d5fca
[Debugger, JS] Extract Debug's configurations
2019-11-19 13:52:37 +03:00
Ilya Goncharov
d57127ed08
[Debugger, JS] Fix for mocha timeout
2019-11-19 13:52:36 +03:00
Ilya Goncharov
d7c2d098af
[Debugger, JS] Add configuring debuggable browser
2019-11-19 13:52:36 +03:00
Ilya Goncharov
550cc9d775
[Gradle, JS] Add karma debugger by timeout
2019-11-19 13:52:36 +03:00
Ilya Goncharov
821a4ea472
[Debugger, JS] Use default js debug configuration with Karma
2019-11-19 13:52:36 +03:00
Roman Artemev
18d0b477b6
[JS IR] Fix arrayOfNulls API
2019-11-19 11:15:36 +03:00
Sergey Bogolepov
e4702bf438
[kotlinx-metadata] Add extensions for type aliases.
2019-11-19 11:41:06 +07:00
Alexey Trilis
4f56b1a960
Add support for Touch API in JS Stdlib
...
#KT-34948 fixed
#KT-21445 fixed
2019-11-18 19:44:03 +03:00
Svyatoslav Kuzmich
a46e970f47
[JS] Remove kotlin-test-js build from JPS
...
kotlin-test-js is also built by JS IR backend
JS IR backend does not support JPS yet
2019-11-18 15:31:12 +03:00
Sergey Bogolepov
4438dd282f
[kotlinx-metadata-klib] Bugfixes:
...
1. Add dependency on `:core:descriptors`
2. Wrap module name with < and >
3. Remove redundant question marks.
4. Fix string table writing.
2019-11-15 19:10:30 +07:00
Sergey Bogolepov
95399b3a41
Introduce kotlinx-metadata-klib.
...
`kotlinx-metadata-klib` is an extension of `kotlinx-metadata` that can be used to read and write metadata that is stored inside KLIBs.
Note: current version is in its early days and in active development. Almost nothing is stable or properly tested.
2019-11-15 16:38:07 +07:00
Ilya Goncharov
77950c5410
[Gradle, JS] Remove redundant from kotlin-test-js-runner
2019-11-14 16:03:54 +03:00
Ilya Goncharov
6a6bef0f6c
[Debugger, JS] Remove kotlin source map support from tests and build
2019-11-14 15:53:18 +03:00
Ilya Goncharov
35cb412dc3
[Gradle, JS] Fix source map support initializing for mocha
2019-11-14 15:53:18 +03:00
Ilya Goncharov
4e427d2ce4
[Gradle, JS] Fix source map support initializing for nodejs
2019-11-14 15:53:18 +03:00
Ilya Goncharov
20e33806ec
[Debugger, JS] Provide possibility to debug mocha tests
2019-11-14 15:53:18 +03:00
Anatoly Nikitin
c7e9a6c5d9
Add new script dependency resolvers
...
Changes in new API for dependency resolvers (GenericDependenciesResolver) comparing to an old one (GenericResolver:
- Add ability to fast check whether artifact or repository is suitable for current resolver to distinguish between unsuitable resolvers and resolution failures
- Return all artifact resolution failures in ResultWithDiagnostics
- Use single string for artifact coordinates
- Add compound resolver that combines several resolvers
- Merge Direct and FlatLib resolver into single FileSystemDependencyResolver
- Mark resolve() method as suspend to indicate long operation
- Add credentials support for maven resolver (https://youtrack.jetbrains.com/issue/KT-27701 )
2019-11-14 08:38:50 +01:00
Anatoly Nikitin
81e2e119e2
Fix propagation of dependency resolution failure reports during script compilation
2019-11-14 08:38:50 +01:00
Sergey Igushkin
94f66c237b
(minor) replace the predicate for intermediate source set
...
Use a condition that is safe in projects with just one target and
intermediate source sets.
2019-11-13 17:45:31 +03:00
Dmitry Savvinov
bcabbcf3e1
Add Native stdlib to intermediate source set dependencies
...
Also fix the dependsOn source set IDs not matcing those
in the IDE.
2019-11-13 17:45:25 +03:00
Svyatoslav Kuzmich
42c4591df8
[JS IR] Add -Xgenerate-dts CLI argument
2019-11-12 18:19:06 +03:00
Igor Chevdar
5c4b47c336
[native-gradle-plugin] Disabled native daemon for tests for now
2019-11-07 17:01:18 +03:00
Igor Chevdar
83331a0afb
[native-gradle-plugin] Test fix
2019-11-07 17:00:59 +03:00