1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-30 08:12:06 +01:00
pgpainless/pgpainless-core/build.gradle

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.3 KiB
Groovy
Raw Normal View History

2021-10-07 15:48:52 +02:00
// SPDX-FileCopyrightText: 2021 Paul Schaub <vanitasvitae@fsfe.org>
//
// SPDX-License-Identifier: Apache-2.0
2020-04-11 12:48:07 +02:00
plugins {
id 'java-library'
}
dependencies {
// JUnit
2020-11-13 16:31:59 +01:00
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$junitVersion"
2020-11-13 16:31:59 +01:00
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
2022-06-20 18:35:31 +02:00
// Mocking Components
testImplementation "org.mockito:mockito-core:$mockitoVersion"
// Logging
2021-09-17 18:05:54 +02:00
api "org.slf4j:slf4j-api:$slf4jVersion"
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
2022-04-07 19:40:39 +02:00
// Bouncy Castle
2024-06-21 13:21:08 +02:00
/*
api "org.bouncycastle:bcprov-jdk18on:$bouncyCastleVersion"
api "org.bouncycastle:bcpg-jdk18on:$bouncyPgVersion"
2024-06-21 13:21:08 +02:00
/*/
api(files("../../../bc-java/pg/build/libs/bcpg-jdk18on-${bouncyCastleVersion}.jar"))
api(files("../../../bc-java/prov/build/libs/bcprov-jdk18on-${bouncyCastleVersion}.jar"))
api(files("../../../bc-java/util/build/libs/bcutil-jdk18on-${bouncyCastleVersion}.jar"))
//*/
2021-08-23 13:29:57 +02:00
// @Nullable, @Nonnull annotations
implementation "com.google.code.findbugs:jsr305:3.0.2"
}
// https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_modular_auto
tasks.named('jar') {
manifest {
attributes('Automatic-Module-Name': 'org.pgpainless.core')
}
}