HRM
1plugins {
2kotlin("jvm")
3kotlin("plugin.serialization")
4}
5
6group = project.property("HRMgroup") as String + ".core"
7version = project.property("HRMversion") as String
8
9dependencies {
10implementation(kotlin("stdlib-jdk8"))
11api("org.jetbrains.kotlinx:kotlinx-serialization-core:1.0.0-RC")
12}
13
14tasks {
15compileKotlin {
16kotlinOptions.jvmTarget = "1.8"
17}
18compileTestKotlin {
19kotlinOptions.jvmTarget = "1.8"
20}
21}
22
23val jar by tasks.getting(Jar::class) {
24manifest {
25attributes["Manifest-Version"] = version
26}
27}
28