Selaa lähdekoodia

Add Main-Class in the manifest.

It's kinda useful.

Change-Id: Idc283d5ed3e96165f63708f02f7187779ea18399
Reviewed-on: http://gerrit.dmdirc.com/4061
Reviewed-by: Greg Holmes <greg@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
pull/1/head
Chris Smith 9 vuotta sitten
vanhempi
commit
476f37e241
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4
    0
      build.gradle

+ 4
- 0
build.gradle Näytä tiedosto

@@ -121,6 +121,10 @@ jar {
121 121
     from { configurations.bundle.collect { it.isDirectory() ? it : zipTree(it) } } {
122 122
         exclude 'META-INF/**'
123 123
     }
124
+
125
+    manifest {
126
+        attributes 'Main-Class': 'com.dmdirc.Main'
127
+    }
124 128
 }
125 129
 
126 130
 buildscript {

Loading…
Peruuta
Tallenna