File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change 25
25
<stringArg name =" languageVersion" arg =" 1.7" />
26
26
</stringArguments >
27
27
<arrayArguments >
28
- <arrayArg name =" pluginClasspaths" />
28
+ <arrayArg name =" pluginClasspaths" >
29
+ <args >$KOTLIN_BUNDLED$/lib/kotlinx-serialization-compiler-plugin.jar</args >
30
+ </arrayArg >
29
31
<arrayArg name =" pluginOptions" />
30
32
</arrayArguments >
31
33
</compilerArguments >
Original file line number Diff line number Diff line change 14
14
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
15
15
<kotlin .code.style>official</kotlin .code.style>
16
16
<kotlin .compiler.jvmTarget>17</kotlin .compiler.jvmTarget>
17
-
17
+ <kotlin .version>1.7.20</kotlin .version>
18
+ <serialization .version>1.4.0</serialization .version>
18
19
</properties >
19
20
20
21
<repositories >
33
34
<plugin >
34
35
<groupId >org.jetbrains.kotlin</groupId >
35
36
<artifactId >kotlin-maven-plugin</artifactId >
37
+
38
+
39
+ <configuration >
40
+ <compilerPlugins >
41
+ <plugin >kotlinx-serialization</plugin >
42
+ </compilerPlugins >
43
+ </configuration >
44
+ <dependencies >
45
+ <dependency >
46
+ <groupId >org.jetbrains.kotlin</groupId >
47
+ <artifactId >kotlin-maven-serialization</artifactId >
48
+ <version >${kotlin.version} </version >
49
+ </dependency >
50
+ </dependencies >
51
+
52
+
53
+
36
54
<version >1.7.20</version >
37
55
<executions >
38
56
<execution >
77
95
<groupId >org.apache.maven.plugins</groupId >
78
96
<artifactId >maven-compiler-plugin</artifactId >
79
97
<version >3.8.1</version >
98
+ <executions >
99
+ <execution >
100
+ <id >compile</id >
101
+ <phase >compile</phase >
102
+ <goals >
103
+ <goal >compile</goal >
104
+ </goals >
105
+ </execution >
106
+ <execution >
107
+ <id >testCompile</id >
108
+ <phase >test-compile</phase >
109
+ <goals >
110
+ <goal >testCompile</goal >
111
+ </goals >
112
+ </execution >
113
+ </executions >
80
114
<configuration >
81
115
<source >17</source >
82
116
<target >17</target >
You can’t perform that action at this time.
0 commit comments