We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9067795 commit e897730Copy full SHA for e897730
build.gradle
@@ -1,23 +1,22 @@
1
plugins {
2
id 'java'
3
+ id 'application'
4
}
5
-group 'ru.exlmoto.jiconcreator'
6
-version '1.0'
7
-
8
-sourceCompatibility = 1.8
+group = 'ru.exlmoto.jiconcreator'
+version = '1.0'
+sourceCompatibility = '1.8'
9
10
repositories {
11
jcenter()
12
google()
13
+ mavenCentral()
14
15
-// Create the "fat" JAR-package with all dependencies
16
+mainClassName = 'ru.exlmoto.jiconcreator.JIconCreatorGui'
17
+
18
jar {
19
manifest {
- attributes 'Main-Class': 'ru.exlmoto.jiconcreator.JIconCreatorGui'
- }
20
- from {
21
- configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
+ attributes 'Main-Class': mainClassName
22
23
0 commit comments