diff options
author | Vsevolod Tolstopyatov <qwwdfsad@gmail.com> | 2019-09-09 20:06:42 +0300 |
---|---|---|
committer | Vsevolod Tolstopyatov <qwwdfsad@gmail.com> | 2019-09-10 18:53:03 +0300 |
commit | 0d830ae4db78ad7a43ce5f707ca86c895895029f (patch) | |
tree | db801b6fb78d1aaa2b561e5e6be10684aa9733fc /build.gradle | |
parent | 289acdfbc016ea5e63ad20de642d59884642cb6a (diff) | |
download | kotlinx.serialization-0d830ae4db78ad7a43ce5f707ca86c895895029f.tar.gz |
Hide NullableSerializer, introduce '.nullable' extension instead
* Introduced @InternalSerializationApi that provides no compatibility guarantees but is effectively public
* Extension is more expressive, readable and is aligned with Kotlin conventions
* NullableSerializer is an implementation detail and should not be exposed
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index cf5bb8cb..69017532 100644 --- a/build.gradle +++ b/build.gradle @@ -14,12 +14,14 @@ buildscript { } ext.experimentalsEnabled = ["-progressive", "-Xuse-experimental=kotlin.Experimental", "-Xuse-experimental=kotlin.ExperimentalMultiplatform", + "-Xuse-experimental=kotlinx.serialization.InternalSerializationApi" ] ext.experimentalsInTestEnabled = ["-progressive", "-Xuse-experimental=kotlin.Experimental", "-Xuse-experimental=kotlin.ExperimentalMultiplatform", "-Xuse-experimental=kotlinx.serialization.ImplicitReflectionSerializer", - "-Xuse-experimental=kotlinx.serialization.UnstableDefault" + "-Xuse-experimental=kotlinx.serialization.UnstableDefault", + "-Xuse-experimental=kotlinx.serialization.InternalSerializationApi" ] /* |