Skip to content

Commit ac3f2fc

Browse files
svc-excavator-botqinfchen
authored andcommitted
Ensure gradle/publish-jar.gradle is consistent (#89)
1 parent b39d7f4 commit ac3f2fc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

gradle/publish-jar.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1+
// This file is managed by the excavator 'consistent-publish-jar' check, changes will be overwritten.
12
apply plugin: 'com.jfrog.bintray'
23
apply plugin: 'nebula.maven-publish'
34
apply plugin: 'nebula.maven-resolved-dependencies'
45
apply plugin: 'nebula.javadoc-jar'
56
apply plugin: 'nebula.source-jar'
67

8+
jar {
9+
manifest {
10+
attributes("Implementation-Version" : project.version)
11+
}
12+
}
13+
714
bintray {
815
user = System.env.BINTRAY_USERNAME
916
key = System.env.BINTRAY_PASSWORD
@@ -21,4 +28,3 @@ publish.dependsOn bintrayUpload
2128
bintrayUpload.onlyIf {
2229
versionDetails().isCleanTag
2330
}
24-

0 commit comments

Comments
 (0)