blob: 480dd657f645a5de5b6608cddfe4263fa48ef35e [file] [log] [blame]
Leonid Startsev08d3ca02017-07-26 15:16:23 +03001buildscript {
2 ext.kotlin_version = '1.1.3'
3 ext.snapshot_version = '1.1-SNAPSHOT'
4
5 repositories {
6 mavenLocal()
7 mavenCentral()
8 }
9
10 dependencies {
11 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$snapshot_version"
12 classpath "org.jetbrains.kotlinx:kotlinx-serialization:$snapshot_version"
13 }
14}
15
16group 'org.jetbrains.kotlinx'
17version "$snapshot_version"
18
19
20apply plugin: 'kotlin'
21apply plugin: 'kotlin-serialization'
22apply plugin: 'maven-publish'
23
24repositories {
25 mavenLocal()
26 mavenCentral()
27}
28
29publishing {
30 publications {
31 mavenJava(MavenPublication) {
32 from components.java
33 }
34 }
35}
36
37dependencies {
38 compile "org.jetbrains.kotlin:kotlin-stdlib:${snapshot_version}"
39 compile "org.jetbrains.kotlin:kotlin-reflect:${snapshot_version}"
40
41 testCompile group: 'junit', name: 'junit', version: '4.4'
42
43}