plugins { | |
kotlin("jvm") | |
id("jps-compatible") | |
} | |
dependencies { | |
compile(kotlinStdlib()) | |
testImplementation(commonDep("junit:junit")) | |
} | |
sourceSets { | |
"main" { projectDefault() } | |
"test" { projectDefault() } | |
} | |
tasks { | |
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { | |
kotlinOptions { | |
languageVersion = "1.3" | |
apiVersion = "1.3" | |
freeCompilerArgs += "-Xsuppress-version-warnings" | |
} | |
} | |
} | |
publish() | |
standardPublicJars() |