Commit Graph

3820 Commits

Author SHA1 Message Date
Ilya Goncharov d02bcb30e3 [Gradle, JS] Move classNameOnlyRegExp to class level 2019-11-29 15:09:36 +03:00
Ilya Goncharov 418c0496f1 [Gradle, JS] Fix regex on method
- Find method declaration like not containing dot
2019-11-29 15:09:36 +03:00
Ilya Goncharov 3e1fe0af92 [Gradle, JS] Add exact filter by class name only 2019-11-29 15:09:36 +03:00
Ilya Goncharov 0037e74d3e [Gradle, JS] Fix StartsWith filter 2019-11-29 15:09:35 +03:00
Ilya Goncharov de8610a279 [Gradle, JS] Add java class filters like in gradle 2019-11-29 15:09:35 +03:00
Ilya Goncharov 50d165167c [Gradle, JS] Update npm dependencies 2019-11-29 15:09:35 +03:00
Vyacheslav Gerasimov 8d31d4a60f Replace com.moowork.node plugin with com.github.node-gradle.node 2019-11-27 21:26:34 +03:00
Vyacheslav Gerasimov 81e24fbdb4 Build: Extract version of com.moowork.node to the settings.gradle 2019-11-27 21:26:34 +03:00
Vyacheslav Gerasimov ea9b490467 Fix usage of nullable in gradle 6.0 DomainObjectContext.project 2019-11-27 21:26:33 +03:00
Vyacheslav Gerasimov b9031f0c68 Fix overrides of removed in gradle 6.0 AbstractCompile.compile
https://github.com/gradle/gradle/commit/5e7476de957792b6d2f164968b4023539a0385f2
2019-11-27 21:26:33 +03:00
Sergey Igushkin fa2ef816b1 Support Gradle instant execution with Kotlin/JVM and Android tasks
Issue #KT-35126 Fixed
2019-11-27 17:59:45 +03:00
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
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
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
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
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
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
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
Igor Chevdar d36effd725 [native-gradle-plugin] Run konan directly from the gradle process 2019-11-07 17:00:03 +03:00