|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | | - <groupId>com.microsoft.azure.kusto</groupId> |
6 | 5 | <artifactId>ingest-v2</artifactId> |
7 | 6 | <version>${revision}</version> |
8 | 7 | <name>ingest-v2</name> |
|
53 | 52 | <dependency> |
54 | 53 | <groupId>io.ktor</groupId> |
55 | 54 | <artifactId>ktor-serialization-jackson</artifactId> |
56 | | - <version>${ktor_version}</version> |
| 55 | + <version>${ktor.version}</version> |
57 | 56 | </dependency> |
58 | 57 | <dependency> |
59 | 58 | <groupId>org.slf4j</groupId> |
|
76 | 75 | <version>${kotlinx.coroutines.debug.version}</version> |
77 | 76 | <scope>test</scope> |
78 | 77 | </dependency> |
79 | | - <dependency> |
80 | | - <groupId>io.mockk</groupId> |
81 | | - <artifactId>mockk-jvm</artifactId> |
82 | | - <version>1.14.5</version> |
83 | | - <scope>test</scope> |
84 | | - </dependency> |
85 | 78 | <dependency> |
86 | 79 | <groupId>org.junit.jupiter</groupId> |
87 | 80 | <artifactId>junit-jupiter-params</artifactId> |
|
94 | 87 | <version>1.14.5</version> |
95 | 88 | <scope>test</scope> |
96 | 89 | </dependency> |
| 90 | + <dependency> |
| 91 | + <groupId>${project.groupId}</groupId> |
| 92 | + <artifactId>kusto-data</artifactId> |
| 93 | + <version>${project.parent.version}</version> |
| 94 | + <scope>test</scope> |
| 95 | + </dependency> |
97 | 96 | </dependencies> |
98 | 97 | <build> |
99 | 98 | <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> |
|
108 | 107 | <plugin> |
109 | 108 | <artifactId>kotlin-maven-plugin</artifactId> |
110 | 109 | <groupId>org.jetbrains.kotlin</groupId> |
111 | | - <artifactId>kotlin-maven-plugin</artifactId> |
112 | 110 | <version>${kotlin.version}</version> |
113 | 111 | <executions> |
114 | 112 | <execution> |
|
132 | 130 | </goals> |
133 | 131 | </execution> |
134 | 132 | </executions> |
| 133 | + <configuration> |
| 134 | + <compilerPlugins> |
| 135 | + <plugin>kotlinx-serialization</plugin> |
| 136 | + </compilerPlugins> |
| 137 | + </configuration> |
| 138 | + <dependencies> |
| 139 | + <dependency> |
| 140 | + <groupId>org.jetbrains.kotlin</groupId> |
| 141 | + <artifactId>kotlin-maven-serialization</artifactId> |
| 142 | + <version>${kotlin.version}</version> |
| 143 | + </dependency> |
| 144 | + </dependencies> |
135 | 145 | </plugin> |
136 | 146 | <plugin> |
137 | 147 | <groupId>org.codehaus.mojo</groupId> |
|
144 | 154 | </goals> |
145 | 155 | </execution> |
146 | 156 | </executions> |
147 | | - <configuration> |
148 | | - <compilerPlugins> |
149 | | - <plugin>kotlinx-serialization</plugin> |
150 | | - </compilerPlugins> |
151 | | - <jvmTarget>1.8</jvmTarget> |
152 | | - </configuration> |
153 | 157 | <dependencies> |
154 | 158 | <dependency> |
155 | 159 | <groupId>org.jetbrains.kotlin</groupId> |
|
196 | 200 | </execution> |
197 | 201 | </executions> |
198 | 202 | </plugin> |
199 | | - <plugin> |
200 | | - <groupId>com.diffplug.spotless</groupId> |
201 | | - <artifactId>spotless-maven-plugin</artifactId> |
202 | | - <version>${spotless.version}</version> |
203 | | - <configuration> |
204 | | - <kotlin> |
205 | | - <!-- These are the defaults, you can override if you want --> |
206 | | - <includes> |
207 | | - <include>src/main/kotlin/**/*.kt</include> |
208 | | - <include>src/test/kotlin/**/*.kt</include> |
209 | | - </includes> |
210 | | - |
211 | | - <ktfmt> |
212 | | - <version>0.51</version> <!-- optional --> |
213 | | - <style>KOTLINLANG</style> <!-- optional, options are META (default), GOOGLE and KOTLINLANG --> |
214 | | - <maxWidth>120</maxWidth> <!-- optional --> |
215 | | - <blockIndent>4</blockIndent> <!-- optional --> |
216 | | - <continuationIndent>8</continuationIndent> <!-- optional --> |
217 | | - <removeUnusedImports>false</removeUnusedImports> <!-- optional --> |
218 | | - <manageTrailingCommas>true</manageTrailingCommas> <!-- optional --> |
219 | | - </ktfmt> |
220 | | - <ktlint> |
221 | | - <version>1.0.0</version> <!-- optional --> |
222 | | - <editorConfigOverride> <!-- optional --> |
223 | | - <ij_kotlin_allow_trailing_comma>true</ij_kotlin_allow_trailing_comma> |
224 | | - <ij_kotlin_allow_trailing_comma_on_call_site>true</ij_kotlin_allow_trailing_comma_on_call_site> |
225 | | - <!-- intellij_idea is the default style we preset in Spotless, you can override it referring to https://pinterest.github.io/ktlint/latest/rules/code-styles. --> |
226 | | - <ktlint_code_style>intellij_idea</ktlint_code_style> |
227 | | - </editorConfigOverride> |
228 | | - <customRuleSets> <!-- optional --> |
229 | | - <value>io.nlopez.compose.rules:ktlint:0.4.25</value> |
230 | | - </customRuleSets> |
231 | | - </ktlint> |
232 | | - <licenseHeader> |
233 | | - <content>/* (C)$YEAR */</content> <!-- or <file>${project.basedir}/license-header</file> --> |
234 | | - </licenseHeader> |
235 | | - </kotlin> |
236 | | - </configuration> |
237 | | - </plugin> |
238 | 203 | <plugin> |
239 | 204 | <groupId>org.codehaus.mojo</groupId> |
240 | 205 | <artifactId>build-helper-maven-plugin</artifactId> |
|
299 | 264 | <dependency> |
300 | 265 | <groupId>org.jetbrains.kotlin</groupId> |
301 | 266 | <artifactId>kotlin-maven-serialization</artifactId> |
302 | | - <version>${kotlin_version}</version> |
| 267 | + <version>${kotlin.version}</version> |
303 | 268 | </dependency> |
304 | 269 | </dependencies> |
305 | 270 | </plugin> |
|
0 commit comments