Extract ProtoBuf format to the separate module
* Including SerialId annotation that is clearly ProtoBuf-specific
* Copy-paste some of the test (but not main!) sources to make it work. These classes will be extracted to mediator module to workaround KT-35073 when CBOR is extracted as well
* Replace @SerialId in core tests with @Id from test sources
* Postpone readme and publication for a while
* Make some types public for the sake of simplicity, will be revisited them during cleanup phase
diff --git a/settings.gradle b/settings.gradle
index b7cb4d8..703166a 100644
--- a/settings.gradle
+++ b/settings.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.
*/
rootProject.name = 'kotlinx-serialization'
@@ -20,9 +8,11 @@
include ':kotlinx-serialization-runtime'
project(':kotlinx-serialization-runtime').projectDir = file('./runtime')
+include ':kotlinx-serialization-protobuf'
+project(':kotlinx-serialization-protobuf').projectDir = file('./formats/protobuf')
+
include ':kotlinx-serialization-runtime-configparser'
project(':kotlinx-serialization-runtime-configparser').projectDir = file('./formats/config')
-// todo: migrate benchmark to multiplatform benchmarks?
include ':benchmark'
project(':benchmark').projectDir = file('./benchmark')