This repository was archived by the owner on Oct 27, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
91 lines (79 loc) · 2.36 KB
/
build.gradle.kts
File metadata and controls
91 lines (79 loc) · 2.36 KB
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
90
91
import com.vanniktech.maven.publish.JavadocJar
import com.vanniktech.maven.publish.KotlinMultiplatform
plugins {
alias(libs.plugins.kotlin.multiplatform)
alias(libs.plugins.dokka)
alias(libs.plugins.maven.publish)
}
description = "Deflate/Zlib/Gzip library for Kotlin Multiplatform"
group = "org.chorus-oss"
version = "0.0.1"
repositories {
mavenCentral()
}
kotlin {
jvm()
linuxX64()
mingwX64()
// TODO: Add more supported platforms
// Open an issue if you want a platform to be added.
sourceSets {
val commonMain by getting {
dependencies {
api(libs.kotlinx.io)
}
}
val commonTest by getting {
dependencies {
implementation(libs.kotlin.test)
}
}
val jvmMain by getting {}
}
mavenPublishing {
publishToMavenCentral()
signAllPublications()
coordinates(
group.toString(),
"kflate",
version.toString()
)
pom {
name = "KFlate"
description = project.description
inceptionYear = "2025"
url = "https://github.com/Chorus-OSS/KFlate"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
distribution = "repo"
}
}
developers {
developer {
id = "omniacdev"
name = "OmniacDev"
url = "https://github.com/OmniacDev"
email = "omniacdev@chorus-oss.org"
}
}
scm {
url = "https://github.com/Chorus-OSS/KFlate"
connection = "scm:git:git://github.com/Chorus-OSS/KFlate.git"
developerConnection = "scm:git:ssh://github.com/Chorus-OSS/KFlate.git"
}
issueManagement {
system = "GitHub Issues"
url = "https://github.com/Chorus-OSS/KFlate/issues"
}
}
configure(
KotlinMultiplatform(
javadocJar = JavadocJar.Dokka("dokkaHtml"),
sourcesJar = true,
androidVariantsToPublish = emptyList(),
)
)
}
}