Add prefix to all published modules so artifacts names will look properly.
diff --git a/benchmark/build.gradle b/benchmark/build.gradle
index 8b9d3f2..569b3ae 100644
--- a/benchmark/build.gradle
+++ b/benchmark/build.gradle
@@ -33,7 +33,7 @@
compile 'com.google.code.gson:gson:2.8.1'
compile 'com.esotericsoftware:kryo:4.0.0'
- compile project(':runtime')
+ compile project(':kotlinx-serialization-runtime')
// async profiler
compile group: 'pl.project13.scala', name: 'sbt-jmh-extras', version: '0.3.3'
diff --git a/formats/config/build.gradle b/formats/config/build.gradle
index a4d7af2..ffba47b 100644
--- a/formats/config/build.gradle
+++ b/formats/config/build.gradle
@@ -18,7 +18,7 @@
apply plugin: 'kotlinx-serialization'
dependencies {
- compile project(':runtime')
+ compile project(':kotlinx-serialization-runtime')
api 'org.jetbrains.kotlin:kotlin-stdlib'
api 'com.typesafe:config:1.3.2'
diff --git a/gradle.properties b/gradle.properties
index b42cc12..78fee40 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -3,7 +3,7 @@
#
group=org.jetbrains.kotlinx
-version=0.11.1-1.3.40-eap-67
+version=0.11.1-1.3.40-eap-67-2
kotlin.version=1.3.40-eap-67
diff --git a/gradle/publishing.gradle b/gradle/publishing.gradle
index fa35762..4272335 100644
--- a/gradle/publishing.gradle
+++ b/gradle/publishing.gradle
@@ -10,8 +10,7 @@
apply from: project.rootProject.file('gradle/mavenMetadata.gradle')
-def isMultiplatform = project.name == "runtime"
-def isCoreRuntime = project.name == "runtime"
+def isMultiplatform = project.name == "kotlinx-serialization-runtime"
task stubSources(type: Jar) {
classifier = 'sources'
@@ -37,13 +36,7 @@
afterEvaluate {
publishing {
- def variantName = ""
-
- if (isCoreRuntime) {
- variantName = "${rootProject.name}"
- } else {
- variantName = "${rootProject.name}-${project.name}"
- }
+ def variantName = "${project.name}"
if (!isMultiplatform) {
publications {
diff --git a/settings.gradle b/settings.gradle
index c37e6ce..b7cb4d8 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -14,13 +14,14 @@
* limitations under the License.
*/
-rootProject.name = 'kotlinx-serialization-runtime'
+rootProject.name = 'kotlinx-serialization'
enableFeaturePreview('GRADLE_METADATA')
-include ':runtime'
+include ':kotlinx-serialization-runtime'
+project(':kotlinx-serialization-runtime').projectDir = file('./runtime')
-include ':configparser'
-project(':configparser').projectDir = file('./formats/config')
+include ':kotlinx-serialization-runtime-configparser'
+project(':kotlinx-serialization-runtime-configparser').projectDir = file('./formats/config')
// todo: migrate benchmark to multiplatform benchmarks?
include ':benchmark'