Skip to content

Commit

Permalink
Add version in manifest, fixes #38
Browse files Browse the repository at this point in the history
  • Loading branch information
hajduakos committed Jul 13, 2020
1 parent c890fc8 commit 55d1d44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {

allprojects {
group = "hu.bme.mit.inf.theta"
version = "1.1.0"
version = "1.1.1"

apply(from = rootDir.resolve("gradle/shared-with-buildSrc/mirrors.gradle.kts"))
}
Expand Down
7 changes: 7 additions & 0 deletions buildSrc/src/main/kotlin/tool-common.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.github.jengelman.gradle.plugins.shadow.ShadowPlugin
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar

apply<ApplicationPlugin>()
apply<ShadowPlugin>()
Expand All @@ -15,3 +16,9 @@ tasks {
named("run", JavaExec::class).configure { setupEnvironment() }
named("runShadow", JavaExec::class).configure { setupEnvironment() }
}

tasks.withType<ShadowJar>() {
manifest {
attributes["Implementation-Version"] = version
}
}

0 comments on commit 55d1d44

Please sign in to comment.