|
54 | 54 | <junit.version>5.11.4</junit.version> |
55 | 55 | <java-websocket.version>1.6.0</java-websocket.version> |
56 | 56 | <okhttp.version>4.12.0</okhttp.version> |
| 57 | + <kotlin.version>1.9.10</kotlin.version> |
57 | 58 | <main.java.src.dir>src/main/java</main.java.src.dir> |
58 | 59 | <test.java.src.dir>src/test/java</test.java.src.dir> |
59 | 60 | </properties> |
|
122 | 123 | <artifactId>okhttp</artifactId> |
123 | 124 | <version>${okhttp.version}</version> |
124 | 125 | </dependency> |
| 126 | + <dependency> |
| 127 | + <groupId>org.jetbrains.kotlin</groupId> |
| 128 | + <artifactId>kotlin-stdlib-jdk8</artifactId> |
| 129 | + <version>1.9.10</version> |
| 130 | + </dependency> |
125 | 131 | <dependency> |
126 | 132 | <groupId>com.google.protobuf</groupId> |
127 | 133 | <artifactId>protobuf-java</artifactId> |
|
158 | 164 | <artifactId>jspecify</artifactId> |
159 | 165 | <version>1.0.0</version> |
160 | 166 | </dependency> |
161 | | - <dependency> |
162 | | - <groupId>org.jetbrains.kotlin</groupId> |
163 | | - <artifactId>kotlin-stdlib-jdk8</artifactId> |
164 | | - <version>1.9.10</version> |
165 | | - </dependency> |
166 | 167 | </dependencies> |
167 | 168 |
|
168 | 169 | <build> |
|
301 | 302 | </plugins> |
302 | 303 | </pluginManagement> |
303 | 304 | <plugins> |
| 305 | + <plugin> |
| 306 | + <groupId>org.apache.maven.plugins</groupId> |
| 307 | + <artifactId>maven-checkstyle-plugin</artifactId> |
| 308 | + <executions> |
| 309 | + <execution> |
| 310 | + <id>checkstyle</id> |
| 311 | + <configuration> |
| 312 | + <excludes>**/gaos/**/*.java</excludes> |
| 313 | + </configuration> |
| 314 | + </execution> |
| 315 | + </executions> |
| 316 | + </plugin> |
304 | 317 | <plugin> |
305 | 318 | <groupId>org.jacoco</groupId> |
306 | 319 | <artifactId>jacoco-maven-plugin</artifactId> |
|
391 | 404 | </execution> |
392 | 405 | </executions> |
393 | 406 | </plugin> |
394 | | - <plugin> |
395 | | - <groupId>org.apache.maven.plugins</groupId> |
396 | | - <artifactId>maven-shade-plugin</artifactId> |
397 | | - <version>3.6.0</version> |
398 | | - <executions> |
399 | | - <execution> |
400 | | - <phase>package</phase> |
401 | | - <goals> |
402 | | - <goal>shade</goal> |
403 | | - </goals> |
404 | | - <configuration> |
405 | | - <artifactSet> |
406 | | - <includes> |
407 | | - <include>org.jetbrains.kotlin:kotlin-stdlib-jdk8</include> |
408 | | - <include>org.jetbrains.kotlin:kotlin-stdlib</include> |
409 | | - <include>org.jetbrains.kotlin:kotlin-reflect</include> |
410 | | - <include>com.fasterxml.jackson.module:jackson-module-kotlin</include> |
411 | | - </includes> |
412 | | - </artifactSet> |
413 | | - <transformers> |
414 | | - <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
415 | | - </transformers> |
416 | | - <relocations> |
417 | | - <relocation> |
418 | | - <pattern>kotlin.</pattern> |
419 | | - <shadedPattern>com.google.genai.shaded.kotlin.</shadedPattern> |
420 | | - </relocation> |
421 | | - <relocation> |
422 | | - <pattern>com.fasterxml.jackson.module.kotlin.</pattern> |
423 | | - <shadedPattern>com.google.genai.shaded.jackson.module.kotlin.</shadedPattern> |
424 | | - </relocation> |
425 | | - </relocations> |
426 | | - <filters> |
427 | | - <filter> |
428 | | - <artifact>*:*</artifact> |
429 | | - <excludes> |
430 | | - <exclude>META-INF/*.SF</exclude> |
431 | | - <exclude>META-INF/*.DSA</exclude> |
432 | | - <exclude>META-INF/*.RSA</exclude> |
433 | | - </excludes> |
434 | | - </filter> |
435 | | - </filters> |
436 | | - </configuration> |
437 | | - </execution> |
438 | | - </executions> |
439 | | - </plugin> |
| 407 | + |
440 | 408 | <plugin> |
441 | 409 | <groupId>org.codehaus.mojo</groupId> |
442 | 410 | <artifactId>build-helper-maven-plugin</artifactId> |
|
456 | 424 | </execution> |
457 | 425 | </executions> |
458 | 426 | </plugin> |
| 427 | + <plugin> |
| 428 | + <groupId>org.codehaus.mojo</groupId> |
| 429 | + <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 430 | + <configuration> |
| 431 | + <skip>true</skip> |
| 432 | + </configuration> |
| 433 | + </plugin> |
459 | 434 | </plugins> |
460 | 435 | </build> |
461 | 436 | <profiles> |
| 437 | + |
462 | 438 | <profile> |
463 | 439 | <id>jdk8-build</id> |
464 | 440 | <activation> |
|
0 commit comments