| 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' |
| |
| } |