2023-06-17 15:32:57 +02:00
|
|
|
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-06-29 17:49:12 +02:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-17 15:32:57 +02:00
|
|
|
plugins {
|
|
|
|
id 'java-library'
|
2023-06-23 11:54:54 +02:00
|
|
|
id 'java-test-fixtures'
|
2023-06-29 17:49:12 +02:00
|
|
|
id 'org.jetbrains.kotlin.jvm' version "$kotlinVersion"
|
2023-06-17 15:32:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
group 'org.pgpainless'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-06-29 17:49:12 +02:00
|
|
|
// Kotlin
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
2023-06-23 11:54:54 +02:00
|
|
|
// JUnit
|
2023-06-17 15:32:57 +02:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
2023-06-23 11:54:54 +02:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
|
2023-07-04 16:34:29 +02:00
|
|
|
testImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$kotlinVersion"
|
2023-06-17 15:32:57 +02:00
|
|
|
|
2023-06-23 11:54:54 +02:00
|
|
|
testFixturesImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
|
|
|
|
testFixturesImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
|
|
|
|
testFixturesRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
|
2023-07-05 16:52:31 +02:00
|
|
|
testFixturesApi(project(":pgpainless-core"))
|
2023-06-23 11:54:54 +02:00
|
|
|
|
2023-06-17 15:32:57 +02:00
|
|
|
// Logging
|
|
|
|
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
|
|
|
|
|
|
|
|
// Certificate store
|
|
|
|
api "org.pgpainless:pgp-certificate-store:$certDJavaVersion"
|
2023-07-05 16:52:31 +02:00
|
|
|
api ("org.pgpainless:pgpainless-cert-d:$pgpainlessCertDVersion") {
|
|
|
|
exclude(group: "org.pgpainless", module: "pgpainless-core")
|
|
|
|
}
|
|
|
|
|
2023-07-05 17:05:22 +02:00
|
|
|
api(project(":pgpainless-core"))
|
2023-07-05 16:52:31 +02:00
|
|
|
api(project(":wot-dijkstra"))
|
2023-06-17 15:32:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|