| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (c) 2009, 2025 Mountainminds GmbH & Co. KG and Contributors |
| This program and the accompanying materials are made available under |
| the terms of the Eclipse Public License 2.0 which is available at |
| http://www.eclipse.org/legal/epl-2.0 |
| |
| SPDX-License-Identifier: EPL-2.0 |
| |
| Contributors: |
| Evgeny Mandrikov - initial API and implementation |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.jacoco</groupId> |
| <artifactId>org.jacoco.core.test.validation</artifactId> |
| <version>0.8.14</version> |
| <relativePath>../org.jacoco.core.test.validation</relativePath> |
| </parent> |
| |
| <artifactId>org.jacoco.core.test.validation.kotlin</artifactId> |
| |
| <name>JaCoCo :: Test :: Core :: Validation Kotlin</name> |
| |
| <properties> |
| <!-- When upgrading Kotlin do not forget to update JVM targets in org.jacoco.core.test.validation/pom.xml --> |
| <kotlin.version>2.2.20</kotlin.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>org.jacoco.core.test</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-stdlib</artifactId> |
| <version>${kotlin.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jetbrains.kotlinx</groupId> |
| <artifactId>kotlinx-coroutines-core</artifactId> |
| <version>1.8.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jetbrains.kotlinx</groupId> |
| <artifactId>kotlinx-serialization-core-jvm</artifactId> |
| <version>1.6.3</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-maven-plugin</artifactId> |
| <version>${kotlin.version}</version> |
| <executions> |
| <execution> |
| <id>compile</id> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| <configuration> |
| <args> |
| <!-- TODO `-jvm-default disable` or `-jvm-default no-compatibility` are workarounds for https://github.com/jacoco/jacoco/issues/1905 --> |
| <arg>-jvm-default</arg> |
| <arg>disable</arg> |
| </args> |
| </configuration> |
| </execution> |
| </executions> |
| <configuration> |
| <compilerPlugins> |
| <plugin>kotlinx-serialization</plugin> |
| </compilerPlugins> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.jetbrains.kotlin</groupId> |
| <artifactId>kotlin-maven-serialization</artifactId> |
| <version>${kotlin.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |