ソースを参照

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年前
コミット
476f37e241
1個のファイルの変更4行の追加0行の削除
  1. 4
    0
      build.gradle

+ 4
- 0
build.gradle ファイルの表示

@@ -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 {

読み込み中…
キャンセル
保存