Skip to content

Commit

Permalink
Added fat JAR compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikollai committed May 26, 2026
1 parent 5675cd0 commit fbd0d66
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,26 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>millions.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/Main.java

This file was deleted.

7 changes: 7 additions & 0 deletions src/main/java/millions/Main.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package millions;

public class Main {
public static void main(String[] args) {
App.main(args);
}
}

0 comments on commit fbd0d66

Please sign in to comment.