<?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.netmoor.moorhaven</groupId>
        <artifactId>moorhaven-parent</artifactId>
        <version>0.3.2</version>
    </parent>

    <artifactId>moorhaven-torrent-client</artifactId>
    <name>Moorhaven :: Torrent Client</name>

    <properties>
        <!-- Coverage ratchet (#50): own-module line coverage at measurement time minus
             a 2pp safety margin, see doc/coverage-baseline.md. Ratchet-only: raise when
             coverage improves, never lower. -->
        <jacoco.min>0.74</jacoco.min>
    </properties>

    <dependencies>
        <dependency>
            <groupId>com.netmoor.moorhaven</groupId>
            <artifactId>moorhaven-core</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-security</artifactId>
        </dependency>
        <dependency>
            <groupId>org.libtorrent4j</groupId>
            <artifactId>libtorrent4j</artifactId>
        </dependency>
        <!-- Native binaries (one per desktop platform). The scope comes from the native-* profiles:
             runtime = bundled into the fat jar, test = left out of it (native-all bundles all three). -->
        <dependency>
            <groupId>org.libtorrent4j</groupId>
            <artifactId>libtorrent4j-windows</artifactId>
            <scope>${native.libtorrent4j.windows.scope}</scope>
        </dependency>
        <dependency>
            <groupId>org.libtorrent4j</groupId>
            <artifactId>libtorrent4j-linux</artifactId>
            <scope>${native.libtorrent4j.linux.scope}</scope>
        </dependency>
        <dependency>
            <groupId>org.libtorrent4j</groupId>
            <artifactId>libtorrent4j-macos</artifactId>
            <scope>${native.libtorrent4j.macos.scope}</scope>
        </dependency>
        <!-- Micrometer for domain metrics; the registry bean comes from the actuator (app). -->
        <dependency>
            <groupId>io.micrometer</groupId>
            <artifactId>micrometer-core</artifactId>
        </dependency>
    </dependencies>

</project>
