forked from bhlangonijr/chesslib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
89 lines (79 loc) · 2.06 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import com.vanniktech.maven.publish.SonatypeHost
plugins {
kotlin("multiplatform") version "2.1.0"
id("com.vanniktech.maven.publish") version "0.30.0"
}
kotlin {
jvm()
iosX64()
iosArm64()
iosSimulatorArm64()
watchosX64()
watchosArm32()
watchosArm64()
watchosSimulatorArm64()
macosX64()
macosArm64()
mingwX64()
linuxX64()
linuxArm64()
js {
browser()
nodejs()
}
wasmJs()
applyDefaultHierarchyTemplate()
sourceSets {
commonMain {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.1")
implementation("org.jetbrains.kotlinx:kotlinx-io-core:0.5.4")
}
}
commonTest {
dependencies {
implementation(kotlin("test"))
}
}
jvmTest {
dependencies {
implementation("org.jetbrains.kotlin:kotlin-test-junit")
}
}
}
}
repositories {
mavenCentral()
google()
}
group = "io.github.cvb941"
version = "1.0.2"
description = "kchesslib"
mavenPublishing {
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = false)
signAllPublications()
pom {
name.set("kchesslib")
description.set("Chess library for legal move generation, FEN/PGN parsing and more")
inceptionYear.set("2024")
url.set("https://github.com/cvb941/kchesslib/")
licenses {
license {
name.set("Apache-2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0")
}
}
developers {
developer {
id.set("cvb941")
name.set("Lukas Kusik")
url.set("https://github.com/cvb941/")
}
}
scm {
url.set("https://github.com/cvb941/kchesslib/")
connection.set("scm:git:git://github.com/cvb941/kchesslib.git")
developerConnection.set("scm:git:ssh://[email protected]/cvb941/kchesslib.git")
}
}
}