-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathbuild.gradle.kts
56 lines (51 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
plugins {
org.openrndr.extra.convention.`kotlin-jvm`
`java-gradle-plugin`
}
dependencies {
implementation(project(":orx-jvm:orx-git-archiver"))
}
gradlePlugin {
plugins {
create("gitArchiveToMarkdown") {
id = "org.openrndr.extra.gitarchiver.tomarkdown"
implementationClass = "org.openrndr.extra.gitarchiver.GitArchiveToMarkdown"
}
}
}
publishing {
afterEvaluate {
publications {
withType(MavenPublication::class) {
pom {
name.set("gitarchiver tomarkdown")
description.set("gitarchiver to markdown gradle plugin")
url.set("https://openrndr.org")
developers {
developer {
id.set("edwinjakobs")
name.set("Edwin Jakobs")
email.set("[email protected]")
}
}
licenses {
license {
name.set("BSD-2-Clause")
url.set("https://github.com/openrndr/openrndr/blob/master/LICENSE")
distribution.set("repo")
}
}
scm {
connection.set("scm:git:[email protected]:openrndr/orx.git")
developerConnection.set("scm:git:ssh://github.com/openrndr/orx.git")
url.set("https://github.com/openrndr/openrndr")
}
}
}
}
tasks.findByName("publishPluginMavenPublicationToSonatypeRepository")!!.dependsOn("signMavenPublication")
tasks.findByName("publishPluginMavenPublicationToSonatypeRepository")!!.dependsOn("signPluginMavenPublication")
tasks.findByName("publishMavenPublicationToSonatypeRepository")!!.dependsOn("signPluginMavenPublication")
tasks.findByName("publishMavenPublicationToSonatypeRepository")!!.dependsOn("signMavenPublication")
}
}