Ilya Goncharov
b25418df69
[Gradle, JS] Correct renaming
2020-03-20 12:45:29 +03:00
Ilya Goncharov
33992bdc86
[Gradle, JS] Extract common interface for JsBinary
2020-03-20 12:45:29 +03:00
Ilya Goncharov
3c83a3bd34
[Gradle, JS] Error if used binaries.executable in both compiler type
2020-03-20 12:45:28 +03:00
Ilya Goncharov
cf6b76fdee
[Gradle, JS] Rename BuildVariantKind on KotlinJsBinaryType
2020-03-20 12:45:28 +03:00
Ilya Goncharov
260015fe0b
[Gradle, JS] Migrate from build variants on binaries
2020-03-20 12:45:27 +03:00
Ilya Goncharov
e1920110a2
[Gradle, JS] Remove produceExecutable
2020-03-20 12:45:25 +03:00
Ilya Goncharov
01b44802c8
[Gradle, JS] Fix compilation after rebase
2020-03-20 12:45:24 +03:00
Ilya Goncharov
158ad630d9
[Gradle, JS] Fix tests
2020-03-20 12:45:24 +03:00
Ilya Goncharov
2b4f9302dc
[Gradle, JS] Fix naming for webpack tasks
...
- while webpack is actual only for executable it is not necessary to add executable part
2020-03-20 12:45:24 +03:00
Ilya Goncharov
5828f8cbf2
[Gradle, JS] Rename KotlinBinaryContainer on KotlinTargetWithBinaries
2020-03-20 12:45:24 +03:00
Ilya Goncharov
19d09fc420
[Gradle, JS] Remove redundant build variants for IR
2020-03-20 12:45:24 +03:00
Ilya Goncharov
703ceff9a3
[Gradle, JS] Return binaries from ir target if it exists
2020-03-20 12:45:24 +03:00
Ilya Goncharov
2d900e2234
[Gradle, JS] Legacy tooling work with binaries and throw error on it
2020-03-20 12:45:24 +03:00
Ilya Goncharov
1bb6429c5c
[Gradle, JS] Link tasks depends on compile tasks
2020-03-20 12:45:24 +03:00
Ilya Goncharov
0a19998ae2
[Gradle, JS] Binaries dsl
2020-03-20 12:45:23 +03:00
Ilya Goncharov
0c34acd09a
[Gradle, JS] Produce executable for ir compilation
2020-03-20 12:45:23 +03:00
Ilya Goncharov
666b9b3545
[Gradle, JS] Move binaries on compilation level
2020-03-20 12:45:23 +03:00
Ilya Goncharov
efb3f16ee4
[Gradle, JS] Browser with binaries
2020-03-20 12:45:22 +03:00
Ilya Goncharov
2fed8aa7b8
[Gradle, JS] NodeJs on binaries
2020-03-20 12:45:09 +03:00
Ilya Goncharov
9bff6a709f
[Gradle, JS] Add testExecutable for subtargets
2020-03-20 12:45:09 +03:00
Ilya Goncharov
625e94822f
[Gradle, JS] Remove redundant baseName
2020-03-20 12:45:09 +03:00
Ilya Goncharov
d00c53fd38
[Gradle, JS] Fix strict type check
2020-03-20 12:45:09 +03:00
Ilya Goncharov
e3b5a754cd
[Gradle, JS] Register executable tasks for binaries
2020-03-20 12:45:09 +03:00
Ilya Goncharov
9fe0604f00
Revert "[Gradle, JS] binaries API instead of produce*"
...
This reverts commit 055e98e9
2020-03-20 12:45:09 +03:00
Ilya Goncharov
eab6a7d038
[Gradle, JS] Register link tasks for binaries, not for compilations
2020-03-20 12:45:08 +03:00
Ilya Goncharov
ab218317de
[Gradle, JS] Fix name for binary
2020-03-20 12:45:08 +03:00
Ilya Goncharov
e518998da3
[Gradle, JS] Remove KotlinJsIrType on BuildVariantKind
2020-03-20 12:45:08 +03:00
Ilya Goncharov
1de720cdd0
[Gradle, JS] Add link tasks to binaries, add test executable binary type
2020-03-20 12:45:08 +03:00
Ilya Goncharov
99d73d4c79
[Gradle, JS] binaries API instead of produce*
2020-03-20 12:45:08 +03:00
Ilya Goncharov
e2918bf6c8
[Gradle, JS] binaries.executable works for JS IR
2020-03-20 12:45:08 +03:00
Ilya Goncharov
3974300f22
[Gradle, JS] Simplify JsBinary
2020-03-20 12:45:08 +03:00
Ilya Goncharov
9d3234495e
[Gradle, JS] Add binaries for javascript
2020-03-20 12:45:08 +03:00
Ilya Goncharov
c46fa83924
[Gradle, JS] Extract Binary Container from Native
2020-03-20 12:45:08 +03:00
Ilya Goncharov
41f5a56cb3
[Gradle, JS] Fix delegates
...
#KT-37582 fixed
2020-03-20 10:32:44 +03:00
Ilya Goncharov
6605199ead
[Gradle, JS] Back field to delegate
...
#KT-37582 fixed
2020-03-20 10:32:44 +03:00
Ilya Goncharov
a533fe26d7
[Gradle, JS] Non-nullable properties in KotlinWebpack with delegate
...
#KT-37582 fixed
2020-03-20 10:32:44 +03:00
Victor Turansky
e34dd27a34
KT-37240 Use extension "extension"
2020-03-19 11:55:24 +03:00
Victor Turansky
90c993334f
KT-37240 Deterministic order for webpack config patches
...
Additional fix - only files with `js` extension processed (directories excluded)
`listFiles()` already contains 'is directory' check. Duplicated check removed
2020-03-19 11:55:24 +03:00
Vyacheslav Gerasimov
bcefa68df0
Always checkout/checkin text files with lf endings
...
Different line endings on linux/windows prevents gradle from reusing
build cache since endings make task inputs completely different between
systems
2020-03-18 22:33:15 +03:00
Vyacheslav Gerasimov
7dc24a13e4
Build: Make ProGuard task cacheable
...
Exclude jdk files form libraries input. Instead add jdk major version
to inputs. JavaCompile task acts same to ignore fluctuations in JDK
implementations since api should remain same
2020-03-18 22:32:07 +03:00
Yan Zhulanow
897c48f97e
Add more robust check for plugin application order (KT-37245)
...
Cause build to fail if the 'kotlin-kapt' plugin is applied before the
main Kotlin plugin ('kotlin' or 'kotlin-android').
The 'logger.error()' prints an error message, however the build
continues.
2020-03-18 18:26:17 +09:00
Vyacheslav Karpukhin
eb68a0de47
Android import: simplify the check for android plugin version
2020-03-16 23:46:38 +01:00
Dmitriy Dolovov
f3f971005d
[Commonizer] GC obsolete & unused commonized libraries to free disk space
2020-03-16 19:52:21 +07:00
Sergey Igushkin
e1ec53d4e9
Filter kapt generate stubs classpath for non-existent entries (KT-37241) ( #3192 )
...
Issue #KT-37241 Fixed
2020-03-16 14:16:35 +03:00
Kirill Shmakov
5474d5f1d3
Support debug in Gradle tasks responsible for K/N tests
2020-03-16 12:20:29 +03:00
Sergey Igushkin
a0aeb1554d
Filter kapt generate stubs classpath for non-existent entries (KT-37241)
...
Issue #KT-37241 Fixed
2020-03-13 21:53:02 +03:00
Abduqodiri Qurbonzoda
b1fac4e721
Implement reduceIndexedOrNull and reduceRightIndexedOrNull #KT-36866
2020-03-12 18:08:55 +03:00
Abduqodiri Qurbonzoda
b60633d79a
Add associateWith to Array<T> #KT-30372
2020-03-12 18:06:54 +03:00
Abduqodiri Qurbonzoda
e632d58936
Nullable Array.contentEquals/contentHashCode/contentToString #KT-34161
2020-03-12 18:01:23 +03:00
Sergey Bogolepov
e919e7b79a
[Gradle][Native][Cache] Don't skip metadata-based interop libraries
...
`resolveSingleFileKlib` by default doesn't support klibs with
non-default ir providers. In case of cache generation for native interop
libraries we need to override this behavior because they have
ir_provider=kotlin.native.cinterop.
2020-03-12 18:11:47 +07:00