Skip to content

Commit 58c0372

Browse files
committed
POM is updated
1 parent 5a1205b commit 58c0372

File tree

2 files changed

+31
-4
lines changed

2 files changed

+31
-4
lines changed

pom.xml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,56 @@
44

55
<groupId>ru.shemplo</groupId>
66
<artifactId>tinkoff-bond-scanner</artifactId>
7-
<version>0.0.1</version>
7+
<version>1.0</version>
88

99
<properties>
1010
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
11+
12+
<maven.compiler.source>16</maven.compiler.source>
13+
<maven.compiler.target>16</maven.compiler.target>
1114
<javafx.version>16</javafx.version>
1215
</properties>
1316

1417
<build>
1518
<plugins>
1619
<plugin>
20+
<groupId>org.apache.maven.plugins</groupId>
1721
<artifactId>maven-compiler-plugin</artifactId>
1822
<version>3.8.1</version>
1923
<configuration>
20-
<release>16</release>
24+
<compilerArgs>
25+
<arg>--enable-preview</arg>
26+
</compilerArgs>
2127
</configuration>
2228
</plugin>
29+
<plugin>
30+
<groupId>org.apache.maven.plugins</groupId>
31+
<artifactId>maven-shade-plugin</artifactId>
32+
<version>2.1</version>
33+
<executions>
34+
<execution>
35+
<phase>package</phase>
36+
<goals>
37+
<goal>shade</goal>
38+
</goals>
39+
<configuration>
40+
<transformers>
41+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
42+
<mainClass>ru.shemplo.tbs.RunTinkoffBondScanner</mainClass>
43+
</transformer>
44+
</transformers>
45+
</configuration>
46+
</execution>
47+
</executions>
48+
</plugin>
2349
</plugins>
2450
</build>
2551

2652
<dependencies>
2753
<dependency>
2854
<groupId>org.projectlombok</groupId>
2955
<artifactId>lombok</artifactId>
30-
<version>1.18.6</version>
56+
<version>1.18.20</version>
3157
</dependency>
3258
<dependency>
3359
<groupId>org.slf4j</groupId>

src/main/java/ru/shemplo/tbs/TBSCustomProfile.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
import ru.tinkoff.invest.openapi.model.rest.Currency;
1010

1111
@Getter
12+
@Builder
1213
@ToString
13-
@RequiredArgsConstructor (onConstructor = @__(@Builder))
14+
@RequiredArgsConstructor
1415
public class TBSCustomProfile implements ITBSProfile {
1516

1617
private static final long serialVersionUID = 1L;

0 commit comments

Comments
 (0)