File tree Expand file tree Collapse file tree
src/main/java/com/artur114/bytecodegrab Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ plugins {
22 id ' java'
33}
44
5- group = ' com.artur114.bytecodegrab.main '
6- archivesBaseName = " ByteCodeGrabber "
7- version = ' 1.0-SNAPSHOT '
5+ archivesBaseName = project_archive_name
6+ version = project_version
7+ group = project_group
88
99repositories {
1010 mavenCentral()
@@ -27,9 +27,17 @@ dependencies {
2727}
2828
2929jar {
30- manifest { attributes ' Main-Class' : ' com.artur114.bytecodegrab.main.Main' }
31- from { configurations. include. collect { it. isDirectory() ? it : zipTree(it) } }
32- duplicatesStrategy = DuplicatesStrategy . EXCLUDE
30+ from {
31+ configurations. include. collect {
32+ it. isDirectory() ? it : zipTree(it)
33+ }
34+ }
35+ manifest {
36+ attributes " Implementation-Timestamp" : new Date (). format(" yyyy-MM-dd'T'HH:mm:ssZ" )
37+ attributes " Implementation-Vendor" : project_author
38+ attributes " Implementation-Version" : " ${ version} "
39+ attributes " Main-Class" : " com.artur114.bytecodegrab.main.Main"
40+ }
3341}
3442
3543tasks. withType(JavaCompile ). configureEach {
Original file line number Diff line number Diff line change 1+ org.gradle.daemon =true
2+
3+ project_group =com.artur114.bytecodegrab.main
4+ project_archive_name =ByteCodeGrabber
5+ project_version =1.0-SNAPSHOT
6+ project_author =Artur114
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ public JLoadingFrame() {
1313 this .setLocationRelativeTo (null );
1414 this .setTitle ("Byte Code Grabber" );
1515 this .setUndecorated (true );
16+ this .setDefaultCloseOperation (JFrame .EXIT_ON_CLOSE );
1617 this .setIconImage (Icons .image ("icon_loading.png" ));
1718
1819 JPanel panel = new JPanel ();
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ protected static void init() {
1111 loading .setVisible (true );
1212
1313 SwingUtilities .invokeLater (() -> {
14-
1514 Application .init ();
1615 AppPresenter .init ();
1716
You can’t perform that action at this time.
0 commit comments