pluginManagement {
    repositories {
        mavenLocal()
        mavenCentral {
            metadataSources {
                mavenPom()
                artifact()
                ignoreGradleMetadataRedirection()
            }
        }
        gradlePluginPortal()
    }
}

dependencyResolutionManagement {
    versionCatalogs {
        libs {
            version('gradle', '8.7')
            library('bouncycastle', 'org.bouncycastle', 'bcpkix-jdk18on').version('1.78.1')
            library('jackson', 'com.fasterxml.jackson.core', 'jackson-databind').version('2.17.1')
            library('jna', 'net.java.dev.jna', 'jna').version('5.14.0')
            library('datastructures-common', 'org.xbib', 'datastructures-common').version('5.1.1')
        }
        testLibs {
            version('junit', '5.10.2')
            library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit')
            library('junit-jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit')
            library('junit-jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').versionRef('junit')
            library('junit-jupiter-platform-launcher', 'org.junit.platform', 'junit-platform-launcher').version('1.10.1')
            library('hamcrest', 'org.hamcrest', 'hamcrest-library').version('2.2')
        }
    }
}

include 'net'
include 'net-bouncycastle'
include 'net-mail'
include 'net-mime'
include 'net-path'
include 'net-resource'
include 'net-security'
include 'net-security-auth'
include 'net-socket'
include 'benchmark'
