Skip to content

Commit ce97a90

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

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-library"
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 {
@@ -18,6 +18,20 @@ github {
1818
accessToken = System.getenv("GITHUB_TOKEN") ?: ""
1919
}
2020

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

0 commit comments

Comments
 (0)