-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
64 lines (55 loc) · 1.76 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
64 lines (55 loc) · 1.76 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
plugins {
kotlin("jvm") version "2.3.0"
id("org.jetbrains.dokka") version "2.1.0"
id("com.vanniktech.maven.publish") version "0.36.0"
}
group = "org.capturecoop"
version = "1.0.8"
repositories {
mavenCentral()
}
dependencies {
implementation("org.capturecoop:defaultdepot:1.9.7")
}
kotlin {
jvmToolchain(21)
}
val sourcesJar by tasks.registering(Jar::class) {
archiveClassifier.set("sources")
from(sourceSets.main.get().allSource)
}
val dokkaHtml by tasks.getting(org.jetbrains.dokka.gradle.DokkaTask::class)
val javadocJar by tasks.registering(Jar::class) {
archiveClassifier.set("javadoc")
from(dokkaHtml.outputDirectory)
}
mavenPublishing {
publishToMavenCentral()
signAllPublications()
coordinates("org.capturecoop", "colorcomposer", version.toString())
pom {
name.set("Color Composer")
description.set("Color Utility Functions and Color Chooser")
inceptionYear.set("2022")
url.set("https://github.com/CaptureCoop/ColorComposer/")
licenses {
license {
name.set("MIT")
url.set("https://github.com/CaptureCoop/ColorComposer/blob/main/LICENSE")
distribution.set("https://github.com/CaptureCoop/ColorComposer/blob/main/LICENSE")
}
}
developers {
developer {
id.set("SvenWollinger")
name.set("Sven Wollinger")
url.set("https://wollinger.io")
}
}
scm {
url.set("https://github.com/CaptureCoop/ColorComposer/")
connection.set("scm:git:git://github.com/CaptureCoop/ColorComposer.git")
developerConnection.set("scm:git:ssh://git@github.com/CaptureCoop/ColorComposer.git")
}
}
}