Skip to content

Commit c40ca1e

Browse files
author
Khôi Tran
committed
Propagate version to standalone jar
1 parent 5d5b270 commit c40ca1e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ compileTestKotlin {
6363
}
6464

6565
task bigJar(type: Jar) {
66+
manifest {
67+
attributes 'Implementation-Version': version,
68+
'Main-Class': mainClassName
69+
}
6670
baseName = "${project.name}-standalone"
6771
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
6872
with jar

0 commit comments

Comments
 (0)