浏览代码

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 {

正在加载...
取消
保存