1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-09 10:19:39 +02:00

Kotlin conversion: SecretKeyPassphraseProvider and subclasses

This commit also adds a workaround to build.gradle which enables proper Java interop for
Kotlin interfaces with default implementations
This commit is contained in:
Paul Schaub 2023-09-01 13:43:04 +02:00
parent 5cb6d6e41d
commit e3f51fbf56
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
9 changed files with 84 additions and 131 deletions

View file

@ -67,6 +67,13 @@ allprojects {
fileMode = 0644
}
// Compatibility of default implementations in kotlin interfaces with Java implementations.
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
freeCompilerArgs += ["-Xjvm-default=all-compatibility"]
}
}
project.ext {
rootConfigDir = new File(rootDir, 'config')
gitCommit = getGitCommit()