Ilya Gorbunov
a18770fbbb
Remove projectDist dependency helper usages
...
Use default configuration dependencies instead of projectDist ones.
2018-09-12 06:05:05 +03:00
Ilya Gorbunov
03340d770b
Replace remaining distJar dependencies with default configuration dependencies
2018-09-12 06:05:05 +03:00
Alexander Udalov
e7807cc168
Skip prerelease check when building kotlin-stdlib-js-merger
2018-09-11 21:10:04 +03:00
Ilya Gorbunov
010b36be1f
Raise deprecation level for kotlin.js.Math functions
...
#KT-21703
2018-09-11 18:15:03 +03:00
Ilya Gorbunov
ad76edd7b7
Raise deprecation level for org.junit.Test in stdlib for common and JS
...
#KT-21703
2018-09-11 18:15:03 +03:00
Leonid Startsev
fa990174ef
Rename kotlinx-serialization => kotlin-serialization
...
Discussed with @elizarov and @ilya-g
2018-09-11 17:31:38 +03:00
Sergey Igushkin
099ad8de1e
Don't set Kotlin platform attribute for the default configuration
...
Also, fix empty configurations created for targets that have no runtime
outputs (metadata ones, especially), which could get chosen by Gradle
during dependency variant-aware resolution of a `project(...)`
dependency.
See also: d13ca38
With the attribute set, an input configuration that does not require the
Gradle's USAGE attribute but requires Kotlin platform metadata, will
fail to resolve because the attributes set on the consumable
output configurations are not subsets of each other, as follows:
> Cannot choose between the following variants of project :lib:
- metadataApiElements
- metadataDefault
- metadataRuntimeElements
All of them match the consumer attributes:
- Variant 'metadataApiElements':
- Found org.gradle.usage 'java-api' but wasn't required.
- Required org.jetbrains.kotlin.platform.type 'common' and found
compatible value 'common'.
- Variant 'metadataDefault':
- Required org.jetbrains.kotlin.platform.type 'common' and found
compatible value 'common'.
- Variant 'metadataRuntimeElements':
- Found org.gradle.usage 'java-runtime-jars' but wasn't required.
- Required org.jetbrains.kotlin.platform.type 'common' and found
compatible value 'common'.
Issue #KT-26383 Fixed
2018-09-11 17:22:36 +03:00
Ilya Gorbunov
1eda3805ec
Introduce overloads to check for T? element contained in iterable range in a constant time
...
#KT-18483
2018-09-11 17:06:42 +03:00
Sergey Igushkin
f147b8d2b2
Change classes task naming and create additional task for IDE runner
...
Issue #KT-26641 Fixed
2018-09-11 16:24:59 +03:00
Ilya Matveev
29048ce5ae
Add generated interop libraries in compile dependency configuration ( #1864 )
2018-09-11 16:07:33 +03:00
Ilya Chernikov
a02d5b4b21
Rename script annotation params according to configuration keys...
...
rename evaluation params consistently too
2018-09-11 14:56:51 +02:00
Leonid Startsev
7011e9422d
Rename kotlinx-gradle-serialization-plugin => kotlinx-serialization
2018-09-11 13:22:17 +03:00
Ilya Gorbunov
48add96e79
Deprecate mixed Int/FP contains operator for ranges
...
#KT-22423
2018-09-11 05:40:15 +03:00
Ilya Matveev
3269c0e51b
Support cinterop in the native part of kotlin-multiplatform
2018-09-10 20:43:00 +03:00
Ilya Matveev
f7949a2131
Use 'teamcity.version' property to detect CI in K/N tests
2018-09-10 20:40:59 +03:00
Ilya Matveev
0ac701d8bf
Provide getters for names of native link tasks
2018-09-10 20:40:59 +03:00
Ilya Matveev
f1de88ebbc
Use teamcity test logger if the project has a corresponding property
2018-09-10 20:40:59 +03:00
Ilya Matveev
cbb1b9fae5
Provide a basic DSL for liking task accessing
2018-09-10 20:40:59 +03:00
Ilya Matveev
f5eecdd547
Support custom entry points for native binaries
2018-09-10 20:40:59 +03:00
Ilya Matveev
76074f9543
Support language settings from source sets for native
2018-09-10 20:40:59 +03:00
Ilya Matveev
14e4f219da
Support compiler plugins in native part of the mpp plugin
2018-09-10 20:40:59 +03:00
Ilya Matveev
41367b0285
Create test tasks for all native hosts + tests
...
#KT-26547 fixed
2018-09-10 20:40:59 +03:00
Ilya Matveev
03e1e8d19d
Support friend modules in native mpp
2018-09-10 20:40:59 +03:00
Ilya Matveev
595a7700df
Use FQ names for Kotlin/Native project properties
2018-09-10 20:40:59 +03:00
Alexander Udalov
9311ea5d25
Support progressive mode via "-progressive"
...
#KT-25862 Fixed
2018-09-10 14:12:31 +03:00
Nikolay Krasko
a5e8508e5a
Write official code style to maven archetypes (KT-23400)
2018-09-10 13:03:41 +03:00
Dmitriy Dolovov
5183eba70b
Fix K/N module compilation in MPP project imported from Gradle #KT-26688
2018-09-10 11:17:42 +03:00
Roman Elizarov
e2713501ce
Rename SuccessOrFailure to Result and hide Failure from ABI
...
* The members of Result are isSuccess, isFailure, exceptionOrNull, getOrNull
* The rest of API is implemented via inline-only extensions
* There are two internal functions to hide detailed mechanics of an internal
Result.Failure class: createFailure and throwOnFailure
* Result.toString is explicit: either Success(v) or Failure(x)
See KT-26538
2018-09-09 11:34:31 +03:00
Dmitriy Dolovov
337100edc3
Rename "konan" modules to "kotlin-native" modules
2018-09-08 12:16:20 +03:00
Ilya Matveev
299e508204
Add libraries provided by the K/N compiler in dependencies
2018-09-08 12:16:20 +03:00
Leonid Startsev
9aba3b6c72
Add forgotten kotlinx-maven-serialization
2018-09-07 21:17:08 +03:00
Leonid Startsev
dea69e4469
Integrate serialization plugin into big Kotlin plugin
...
Split import handlers into multiple files
Add empty Maven handler for Android Studio
Add testRuntime dependency on kx-serialization-plugin for all modules which require compiler
plugins in test classpath
2018-09-07 21:17:07 +03:00
Leonid Startsev
087f60389a
Migrating to 1.3 preview API
2018-09-07 21:17:06 +03:00
Leonid Startsev
359a37c9c3
Fix after rebase
2018-09-07 21:17:05 +03:00
Leonid Startsev
090f7e67eb
Separate module for unshaded version
2018-09-07 21:17:04 +03:00
Leonid Startsev
6770cccd61
[IR-plugin] New symbol tables
2018-09-07 21:17:04 +03:00
Leonid Startsev
566e5ce603
Updates for new API
2018-09-07 21:17:03 +03:00
Leonid Startsev
223733558c
Use new approach to resolve compiler plugin classpaths in gradle
2018-09-07 21:16:59 +03:00
Leonid Startsev
9ad3922c7d
Fix 1.2.50 compatibility
...
Updated version to 0.5.1
Fix resolving serializers for classes from other modules
(Kotlin/kotlinx.serialization/153)
Respect @SerialName on classes
Add support for @SerialInfo on class-level
2018-09-07 21:16:58 +03:00
Leonid Startsev
97694e65aa
Update version to 0.4
...
Optimize references in generated code. Also fixes Kotlin/kotlinx.serialization/issues/65
Fix (again) broken char boxing
Rebased on 1.2.40 and fixed broken compatibility
Fix https://github.com/Kotlin/kotlinx.serialization/issues/107 and code reformatting
(cherry picked from commit d4c307d)
Add correct type parameter information to synthetic declarations
Needed by kapt due to https://github.com/Kotlin/kotlinx.serialization/issues/76
Make correct call to sealed class constructor
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/112
Bump version
1.2.50-eap-1 compatible
2018-09-07 21:16:54 +03:00
Leonid Startsev
5e19e89dda
Enhanced support for custom serializers definition
...
kotlin.Triple serializer
Resolving serializers for mutable collection interfaces on JS
Remove idea-related source files form maven compilation
Serialization url in plugin.xml
Removed note about JPS incompatibility
Don't use serial names in produced JS code (https://github.com/Kotlin/kotlinx.serialization/issues/43 )
Generator for calling `update` functions
Fix synthetic serialinfo implementations for 2-slots vars (double and long) (https://github.com/Kotlin/kotlinx.serialization/issues/60 )
Prohibit usage of nullable serializers for non-null fields (https://github.com/Kotlin/kotlinx.serialization/issues/59 )
Fix incorrect `this` referencing after update to 1.2.20 compiler
2018-09-07 21:16:53 +03:00
Leonid Startsev
f42767fcc2
Serialization plugin GSK build
...
Fixed issue when serialDesc property getter was generated, but backing field not.
Respect @Serializable(with=...) on property
Calling 3-arg readElementValue for support of custom contexts
Ability to nest context-based serializer
Migration to 1.2-Beta2
Use polymorphicSerializer prior to default
Don't use polymorphic serializers for all java classes
Docs and maven project update
Remove plugin runtime dependency on stdlib
2018-09-07 21:16:50 +03:00
Leonid Startsev
8a250b07df
Default case in "load" switch-case throws exception instead of silent read ending.
...
Improved error descriptions, fixed issue with transient properties
without backing field (Kotlin/kotlinx.serialization#2 )
Don't add serialClassDesc property if user already defined one
(Kotlin/kotlinx.serialization#10 )
Bump version to 0.1.1
Fix issue with mixing serial name with real property name (Kotlin/kotlinx.serialization#13 )
2018-09-07 21:16:49 +03:00
Leonid Startsev
02d0322029
Plugins renaming: kotlinx-<buildSystem>-serialization-plugin
2018-09-07 21:16:48 +03:00
Leonid Startsev
3eb10823d4
Maven serialization plugin
2018-09-07 21:16:47 +03:00
Leonid Startsev
8cacaecf90
Changed serialization gradle plugin build to gradle
...
Env variable for idea SDK on TeamCity
Fix kotlin_root dir relative path
Updated broken API after rebase to 1.1.50
Bintray upload setup
2018-09-07 21:16:46 +03:00
Leonid Startsev
841693643a
KotlinX serialization plugin applied onto latest master
...
IntelliJ project, ant task and maven goal for serialization plugin
Serialization IDEA plugin
2018-09-07 21:16:45 +03:00
Ilya Chernikov
fa98b0afac
Implement main-kts project and test
2018-09-07 18:47:18 +02:00
Ilya Chernikov
79bad24941
Simple ivy resolver with test
2018-09-07 18:47:18 +02:00
Ilya Gorbunov
df9f77909b
Make experimental COROUTINE_SUSPENDED refer to corresponding release one
...
Partially reverts commit 20c7a97 .
Apply workaround for KT-25003 once again for the new COROUTINE_SUSPENDED
2018-09-07 01:03:53 +03:00