Skip to content

Commit

Permalink
Use MAIN_CLASS gradle property
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Aug 25, 2017
1 parent a5a6cb2 commit 12b9ef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
task fatJar(type: Jar) {
manifest {
attributes (
'Main-Class': 'net.fornwall.apksigner.Main'
'Main-Class': MAIN_CLASS
)
}
baseName = project.name + '-all'
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
BINARY_NAME=apksigner
MAIN_CLASS=net.fornwall.apksigner.Main

0 comments on commit 12b9ef1

Please sign in to comment.