fints4k/fints4javaLib/build.gradle

39 lines
1.2 KiB
Groovy
Raw Normal View History

2019-10-02 17:54:11 +00:00
apply plugin: 'java-library'
apply plugin: 'kotlin'
sourceCompatibility = "1.7"
targetCompatibility = "1.7"
compileKotlin {
kotlinOptions.jvmTarget = "1.6"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
2019-10-02 17:54:11 +00:00
}
dependencies {
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
api "net.dankito.utils:java-utils:$javaUtilsVersion"
2019-10-02 17:54:11 +00:00
2020-04-23 22:50:14 +00:00
implementation "net.dankito.search:lucene-4-utils:$luceneUtilsVersion"
2019-10-02 17:54:11 +00:00
testImplementation "junit:junit:$junitVersion"
testImplementation "org.assertj:assertj-core:$assertJVersion"
2019-10-02 17:54:11 +00:00
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "com.nhaarman:mockito-kotlin:$mockitoKotlinVersion" // so that Mockito.any() doesn't return null which null-safe Kotlin parameter don't like
2019-10-02 17:54:11 +00:00
// for how to enable mocking final class (which is standard in Kotlin) with Mockito see https://github.com/mockito/mockito/wiki/What's-new-in-Mockito-2#mock-the-unmockable-opt-in-mocking-of-final-classesmethods
testImplementation "ch.qos.logback:logback-classic:$logbackVersion"
testImplementation("net.dankito.utils:java-fx-utils:$javaFxUtilsVersion") {
exclude group: "org.controlsfx"
}
testImplementation "org.apache.commons:commons-csv:1.8"
2019-10-02 17:54:11 +00:00
}