Skip to content

Commit a0a0af9

Browse files
committed
Update github-gradle to 1.8.2, add releaseName and multi-artifact classifiers
1 parent d1cf913 commit a0a0af9

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

build.gradle

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id "java"
33
id "com.github.johnrengelman.shadow" version "8.1.1"
44
id "io.github.intisy.online-gradle" version "1.7.2"
5-
id "io.github.intisy.github-gradle" version "1.8.1.1"
5+
id "io.github.intisy.github-gradle" version "1.8.2"
66
}
77

88
online {
@@ -19,6 +19,20 @@ github {
1919
accessToken = System.getenv("GITHUB_TOKEN") ?: ""
2020
}
2121

22+
publishGithub {
23+
releaseName = "Release ${project.version}"
24+
artifacts {
25+
artifact {
26+
classifier = ""
27+
jar = file("build/libs/java-utils.jar")
28+
}
29+
artifact {
30+
classifier = "standalone"
31+
jar = file("build/libs/java-utils-standalone.jar")
32+
}
33+
}
34+
}
35+
2236
repositories {
2337
mavenLocal()
2438
mavenCentral()

0 commit comments

Comments
 (0)