Alexander Udalov
82551e91a4
Add KClass.isFun modifier to reflection
...
#KT-38881 Fixed
2020-05-14 14:05:51 +02: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
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
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
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
Dmitry Savvinov
f3830cb07e
Make KotlinNativeTasks.konanTargetsForManifest non-nullable, otherwise Gradle fails
2020-05-01 12:56:10 +03:00
Dmitry Savvinov
686d00ddf5
Collect and pass to K2Native actual targets of native-shared compilation
...
^KT-38658 Fixed
2020-04-30 20:05:45 +03:00
Abduqodiri Qurbonzoda
ec166db506
Implement collection builders
2020-04-30 02:28:41 +03:00
Ilya Goncharov
e17e3401eb
[Gradle, JS] Use disambiguation classifier in platform only for both
...
#KT-38635 fixed
2020-04-29 13:27:48 +03:00
Alexander Udalov
9fa8e009c6
Support equals/hashCode for fun interfaces in JVM and JVM_IR
...
#KT-33455 Fixed
2020-04-29 12:15:50 +02:00
Andrey Uskov
55934ff63a
Fixed collecting MPP targets in gradle statistics
2020-04-29 13:01:24 +03:00
Andrey Uskov
96887d6e9f
Fixed import of JS source sets with Both mode
...
Added flag indicating that source set naming contract is violated. In this case disambiguition classifier is ignored in IDE.
#KT-37562 Fixed
2020-04-29 13:01:21 +03:00
Ilya Goncharov
1f40a71cbe
[Gradle, JS] No create target on import if no target in DSL
...
#KT-38469 fixed
2020-04-29 12:59:35 +03:00
Ilya Kirillov
94bc8eaf83
Wizard: remove copyrights from iOS template
2020-04-28 21:34:48 +03:00
Ilya Kirillov
6a9a97006b
Wizard: fix not created by default xcode framework in shared module
...
the runForXcode task is not generating xcode framework
if there is no source files in shared module
2020-04-28 21:34:47 +03:00
Ilya Kirillov
47125553cb
Wizard: fix android project template
...
It was not able to be built as lint task required com.android.tools.build:gradle
in classpath to work
#KT-38579 fixed
2020-04-28 21:34:46 +03:00
Ilya Kirillov
56eebed1d8
Wizard: fix kotlin and resources directory names in Android module
...
#KT-38428 fixed
2020-04-28 21:34:42 +03:00
Ilya Kirillov
1a68e40ebd
Wizard: add common target to FullStackWebApplicationProjectTemplate
2020-04-28 21:34:40 +03:00
Ilya Kirillov
78b5be94e9
Wizard: validate project path for emptiness
...
#KT-38567 fixed
2020-04-28 21:34:39 +03:00
Alexander Udalov
94346e8a03
Add JVM target bytecode version 14
...
#KT-38413 Fixed
2020-04-28 13:00:23 +02:00
Sergey Igushkin
e3d33cdc10
Drop Gradle < 6.0 support for Kotlin MPP Gradle plugin
...
This is required due to issues with dependency resolution of the
kotlinx library modules published in a way that their root MPP module
contains the JVM artifacts so that consumers that can't read Gradle
module metadata get the JVM JAR and POM. Gradle 6.0+ fails to resolve
those modules in a variant-aware way, always choosing the JVM artifacts.
To avoid issues on the consumer side when these dependencies are used,
we decided to drop support for Gradle < 6.0 in the MPP plugin.
Issue #KMM-233 Fixed
2020-04-28 09:33:17 +00:00
Ilya Goncharov
6b5b23f37b
[Gradle, JS] Remove propagation moduleName from legacy to ir target
...
#KT-38614 fixed
2020-04-27 18:01:29 +03:00
Konstantin Tskhovrebov
6d7e428d89
Get first platform from platformCompilations instead host platform.
...
Fixed #KMM-234
2020-04-27 16:54:29 +03:00
Ilya Goncharov
7a928dfed2
[Gradle, JS] Build gradle node module with only package.json content
2020-04-24 16:32:54 +03:00
Ilya Goncharov
c64a80d132
[Gradle, JS] Move suppress gson null issue for particular fields
...
[Gradle, JS] Fix package json creation from existed package json w/o version
[Gradle, JS] Add task for publishing package json
[Gradle, JS] Add skip on empty npm dependencies
[Gradle, JS] Publishing package json with installed modules
[Gradle, JS] Add publishingPackageJson for compilation npm resolution
[Gradle, JS] Add publishingPackageJson to jar task
[Gradle, JS] PublishingPackageJsonTask now in jar
[Gradle, JS] Actual skipping of package json creation
[Gradle, JS] jar task depends only on main publishing package json
[Gradle, JS] Move calculation of packageJson
[Gradle, JS] Filter file dependencies
2020-04-24 16:32:54 +03:00
Sergey Igushkin
af09cb0e57
fix testLanguageSettingsApplied
2020-04-24 12:54:39 +03:00
Sergey Igushkin
60c49d26e3
Add Gradle integration tests running the IDE HMPP highlighting tests
2020-04-24 12:54:38 +03:00
Sergey Igushkin
a9dd194383
Fix wrong assumption in getHostSpecificSourceSets (KMM-225)
...
The assumption that each source set is already registered in at least
one compilation would break Android targets which are configured later
on the execution path, and also fail when there are unused source sets.
Issue #KMM-225 Fixed
2020-04-24 12:54:37 +03:00
Sergey Igushkin
67f4b7e2b0
Add a dependency from all klib-originated modules to the main module
...
This is required, for instance, to properly resolve supertypes across
the modules.
Issue #KT-37832 Fixed
2020-04-24 12:54:36 +03:00
Ilya Goncharov
9e4c1ee4e8
[Gradle, JS] Add explanation comment on compiler type in KotlinJsCompilerTypeHolder
2020-04-23 18:43:19 +03:00
Ilya Goncharov
f95ff049c6
[Gradle, JS] Test check several ways to configure compiler type
...
#KT-38519 fixed
2020-04-23 18:09:59 +03:00
Ilya Goncharov
9a3bf54d9d
[Gradle, JS] Add compiler type values on extension type
...
#KT-38519 fixed
2020-04-23 18:09:49 +03:00
Ilya Goncharov
f87f32c5a8
[Gradle, JS] root package json must run after simple package jsons
...
KT-34832
2020-04-23 17:21:17 +03:00
Ilya Goncharov
923986d6a0
[Gradle, JS] Replace close on prepare
...
#KT-34832 fixed
2020-04-23 15:49:35 +03:00
Ilya Goncharov
7fa0faf48c
[Gradle, JS] Fix registering yarn extension before node plugin
...
#KT-34832 fixed
2020-04-23 15:49:35 +03:00
Ilya Goncharov
bded8443f1
[Gradle, JS] Root package json must run after all package json
...
#KT-34832 fixed
2020-04-23 15:49:35 +03:00
Ilya Goncharov
b0efd1d7ce
[Gradle, JS] Commonize root package json to prepared files for extensibility via other npm package managers
...
#KT-34832 fixed
#KT-35194 fixed
2020-04-23 15:49:33 +03:00
Ilya Goncharov
2f8649a337
[Gradle, JS] up-to-date check on npm install, not on root package.json
...
#KT-34832 fixed
2020-04-23 15:46:58 +03:00
Ilya Goncharov
742e27d7f5
[Gradle, JS] Rearrange
...
#KT-34832 fixed
2020-04-23 15:46:47 +03:00
Ilya Goncharov
e412224572
[Gradle, JS] Resolve -> install
...
#KT-34832 fixed
2020-04-23 15:46:36 +03:00