KotlinX serialization runtime library migrated to separate project
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..480dd65
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,43 @@
+buildscript {
+    ext.kotlin_version = '1.1.3'
+    ext.snapshot_version = '1.1-SNAPSHOT'
+
+    repositories {
+	    mavenLocal()
+        mavenCentral()
+    }
+
+    dependencies {
+        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$snapshot_version"
+        classpath "org.jetbrains.kotlinx:kotlinx-serialization:$snapshot_version"
+    }
+}
+
+group 'org.jetbrains.kotlinx'
+version "$snapshot_version"
+
+
+apply plugin: 'kotlin'
+apply plugin: 'kotlin-serialization'
+apply plugin: 'maven-publish'
+
+repositories {
+	mavenLocal()
+	mavenCentral()
+}
+
+publishing {
+    publications {
+        mavenJava(MavenPublication) {
+            from components.java
+        }
+    }
+}
+
+dependencies {
+    compile "org.jetbrains.kotlin:kotlin-stdlib:${snapshot_version}"
+    compile "org.jetbrains.kotlin:kotlin-reflect:${snapshot_version}"
+
+    testCompile group: 'junit', name: 'junit', version: '4.4'
+
+}
\ No newline at end of file