apply plugin: 'kotlin-platform-jvm' repositories { mavenCentral() } dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" expectedBy project(":") testCompile "junit:junit:$junitVersion" testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion" testCompile "org.jetbrains.kotlin:kotlin-test:$kotlinVersion" } publishing { publications { mavenJava(MavenPublication) { from components.java } } }