Skip to content

Commit add1629

Browse files
committed
Fix workflow 2nd attempt
1 parent 49ca496 commit add1629

File tree

1 file changed

+4
-37
lines changed

1 file changed

+4
-37
lines changed

build.gradle.kts

Lines changed: 4 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -42,47 +42,14 @@ tasks.test {
4242
}
4343
}
4444

45-
/*
46-
publishing {
47-
publications {
48-
create<MavenPublication>("mavenJava") {
49-
from(components["java"])
50-
pom {
51-
name.set("keepassxc-cryptomator")
52-
description.set("Plug-in for Cryptomator to store vault passwords in KeePassXC")
53-
url.set("https://github.com/purejava/keepassxc-cryptomator")
54-
licenses {
55-
license {
56-
name.set("MIT License")
57-
url.set("https://opensource.org/licenses/MIT")
58-
}
59-
}
60-
developers {
61-
developer {
62-
id.set("purejava")
63-
name.set("Ralph Plawetzki")
64-
email.set("[email protected]")
65-
}
66-
}
67-
scm {
68-
connection.set("scm:git:git://github.com/purejava/keepassxc-cryptomator.git")
69-
developerConnection.set("scm:git:ssh://github.com/purejava/keepassxc-cryptomator.git")
70-
url.set("https://github.com/purejava/keepassxc-cryptomator/tree/main")
71-
}
72-
issueManagement {
73-
system.set("GitHub Issues")
74-
url.set("https://github.com/purejava/keepassxc-cryptomator/issues")
75-
}
76-
}
77-
}
78-
}
79-
}
80-
*/
81-
8245
tasks.named<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("shadowJar") {
8346
archiveClassifier.set("")
8447
}
8548

49+
tasks.named("signShadowPublication") {
50+
dependsOn(tasks.named("shadowJar"))
51+
}
52+
8653
publishing {
8754
publications {
8855
create<MavenPublication>("shadow") {

0 commit comments

Comments
 (0)