Introduce JsonBuilder and JsonConfiguration as a better mechanism for configuring and changing configuration of the JSON
* Provide @UnstableDefault annotation to mark unstable API with non-fixed behaviour
* Check descriptor kind during polymorphic serialization
* Move tests to Native
diff --git a/build.gradle b/build.gradle
index f1a8634..94ec4a9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,17 +1,5 @@
/*
- * Copyright 2018 JetBrains s.r.o.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Copyright 2017-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
buildscript {
@@ -36,12 +24,13 @@
ext.serializationRepo = 'https://kotlin.bintray.com/kotlinx'
ext.experimentalsEnabled = ["-progressive", "-Xuse-experimental=kotlin.Experimental",
"-Xuse-experimental=kotlin.ExperimentalMultiplatform",
- ]
+ ]
ext.experimentalsInTestEnabled = ["-progressive", "-Xuse-experimental=kotlin.Experimental",
- "-Xuse-experimental=kotlin.ExperimentalMultiplatform",
- "-Xuse-experimental=kotlinx.serialization.ImplicitReflectionSerializer",
- ]
+ "-Xuse-experimental=kotlin.ExperimentalMultiplatform",
+ "-Xuse-experimental=kotlinx.serialization.ImplicitReflectionSerializer",
+ "-Xuse-experimental=kotlinx.serialization.UnstableDefault"
+ ]
repositories {
mavenLocal()