-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpublish.gradle
37 lines (32 loc) · 1.08 KB
/
publish.gradle
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
apply plugin: "com.vanniktech.maven.publish"
def tag = "git describe --tags --abbrev=0".execute().text.trim()
group = "dev.bmcreations.tipkit"
version = tag
mavenPublishing {
publishToMavenCentral("S01")
// signAllPublications()
pom {
inceptionYear.set("2023")
name.set("TipKit")
description.set("Android implementation of TipKit in Jetpack Compose")
url.set("https://github.com/bmcreations/tipkit")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("bmcreations")
name.set("bmcreations")
email.set("[email protected]")
}
}
scm {
connection.set("scm:git:git://github.com/bmcreations/tipkit.git")
developerConnection.set("scm:git:ssh://github.com/bmcreations/tipkit.git")
url.set("https://github.com/bmcreations/tipkit")
}
}
}