Browse Source

Copy DMDirc jars into dist.

This copies the build/libs/client-<version>.jar jar into
dist/DMDirc.jar.
pull/32/head
Chris Smith 9 years ago
parent
commit
f200ba2f81
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      build.gradle

+ 9
- 0
build.gradle View File

@@ -170,6 +170,15 @@ jar {
170 170
     }
171 171
 }
172 172
 
173
+jar.doLast {
174
+    copy {
175
+        from jar.archivePath
176
+        into "dist/"
177
+        rename ".*", "DMDirc.jar"
178
+    }
179
+}
180
+jar.outputs.file "dist/DMDirc.jar"
181
+
173 182
 buildscript {
174 183
     repositories {
175 184
         mavenCentral()

Loading…
Cancel
Save