Skip to content

Commit

Permalink
add archiveName for shadowJar
Browse files Browse the repository at this point in the history
  • Loading branch information
recursivecodes committed Jan 10, 2019
1 parent 9d1c62c commit c25d5cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'

mainClassName = 'codes.recursive.PolicyGenerator'
project.version = 0.2

repositories {
maven { url "http://repo.maven.apache.org/maven2" }
Expand All @@ -23,3 +24,7 @@ dependencies {
localGroovyConf localGroovy()
compile 'org.codehaus.groovy:groovy-all:3.0.0-alpha-3'
}

shadowJar {
archiveName = "oci-policy-generator-${project.version}.jar"
}

0 comments on commit c25d5cd

Please sign in to comment.