46 lines
1.2 KiB
Groovy
46 lines
1.2 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
}
|
|
|
|
tasks.withType(AbstractArchiveTask) {
|
|
preserveFileTimestamps = false
|
|
reproducibleFileOrder = true
|
|
}
|
|
|
|
def os = org.gradle.internal.os.OperatingSystem.current()
|
|
def osName = os.getFamilyName()
|
|
if(os.macOsX) {
|
|
osName = "osx"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation ('org.bouncycastle:bcprov-jdk18on:1.82')
|
|
implementation('org.pgpainless:pgpainless-core:1.7.7') {
|
|
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib-common'
|
|
}
|
|
implementation ('de.mkammerer:argon2-jvm:2.12') {
|
|
exclude group: 'net.java.dev.jna', module: 'jna'
|
|
}
|
|
implementation('dnsjava:dnsjava:3.6.4')
|
|
implementation('com.github.ben-manes.caffeine:caffeine:3.2.3')
|
|
implementation ('net.java.dev.jna:jna:5.18.1')
|
|
implementation ('ch.qos.logback:logback-classic:1.5.32') {
|
|
exclude group: 'org.slf4j'
|
|
}
|
|
implementation ('org.slf4j:slf4j-api:2.0.17')
|
|
testImplementation('org.junit.jupiter:junit-jupiter-api:5.14.1')
|
|
testRuntimeOnly('org.junit.jupiter:junit-jupiter-engine:5.14.1')
|
|
testRuntimeOnly('org.junit.platform:junit-platform-launcher')
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
jvmArgs = ["--enable-native-access=ALL-UNNAMED"]
|
|
}
|
|
|
|
|