BankingClient/fints4javaLib/build.gradle

34 lines
1.1 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.6"
}
dependencies {
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
api "net.dankito.utils:java-utils:$javaUtilsVersion"
2019-10-02 17:54:11 +00:00
compile "net.dankito.utils:java-utils:$javaUtilsVersion"
testCompile "junit:junit:$junitVersion"
testCompile "org.assertj:assertj-core:$assertJVersion"
testCompile "org.mockito:mockito-core:$mockitoVersion"
testCompile "com.nhaarman:mockito-kotlin:$mockitoKotlinVersion" // so that Mockito.any() doesn't return null which null-safe Kotlin parameter don't like
// 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
testCompile "ch.qos.logback:logback-core:$logbackVersion"
testCompile "ch.qos.logback:logback-classic:$logbackVersion"
}