Skip to content

Commit 0212c07

Browse files
committed
Jar minification
1 parent d773cd1 commit 0212c07

1 file changed

Lines changed: 4 additions & 13 deletions

File tree

pom.xml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,11 @@
2020
</properties>
2121

2222
<dependencies>
23-
<!--region kotlin jre -->
24-
<dependency>
25-
<groupId>org.jetbrains.kotlin</groupId>
26-
<artifactId>kotlin-stdlib-jdk8</artifactId>
27-
<version>${kotlin.version}</version>
28-
</dependency>
29-
<dependency>
30-
<groupId>org.jetbrains.kotlin</groupId>
31-
<artifactId>kotlin-stdlib-jdk7</artifactId>
32-
<version>${kotlin.version}</version>
33-
</dependency>
3423
<dependency>
3524
<groupId>org.jetbrains.kotlin</groupId>
3625
<artifactId>kotlin-stdlib</artifactId>
3726
<version>${kotlin.version}</version>
3827
</dependency>
39-
<!--endregion kotlin jre -->
4028
</dependencies>
4129

4230
<build>
@@ -84,7 +72,6 @@
8472
<artifactId>maven-jar-plugin</artifactId>
8573
<version>3.1.0</version>
8674
<configuration>
87-
<finalName>code-converter</finalName>
8875
<archive>
8976
<manifest>
9077
<mainClass>com.habr.codeconverter.MainKt</mainClass>
@@ -105,6 +92,10 @@
10592
</goals>
10693
</execution>
10794
</executions>
95+
<configuration>
96+
<finalName>code-converter</finalName>
97+
<minimizeJar>true</minimizeJar>
98+
</configuration>
10899
</plugin>
109100
</plugins>
110101
</build>

0 commit comments

Comments
 (0)