Extracted module LuceneBankFinder from BankFinder
This commit is contained in:
parent
f9f9ad8c06
commit
133c73e70f
|
@ -41,8 +41,10 @@ project(':LuceneBankingPersistence').projectDir = "$rootDir/persistence/LuceneBa
|
|||
/* Tools */
|
||||
|
||||
include ':BankFinder'
|
||||
include ':LuceneBankFinder'
|
||||
include ':BankListCreator'
|
||||
|
||||
|
||||
project(':BankFinder').projectDir = "$rootDir/tools/BankFinder/" as File
|
||||
project(':LuceneBankFinder').projectDir = "$rootDir/tools/LuceneBankFinder/" as File
|
||||
project(':BankListCreator').projectDir = "$rootDir/tools/BankListCreator/" as File
|
||||
|
|
|
@ -9,9 +9,7 @@ targetCompatibility = "7"
|
|||
|
||||
|
||||
dependencies {
|
||||
implementation project(":BankingUiCommon")
|
||||
|
||||
implementation "net.dankito.search:lucene-4-utils:$luceneUtilsVersion"
|
||||
api project(":BankingUiCommon")
|
||||
|
||||
|
||||
testImplementation "org.junit.jupiter:junit-jupiter:$junit5Version"
|
||||
|
@ -20,4 +18,18 @@ dependencies {
|
|||
testImplementation "org.assertj:assertj-core:$assertJVersion"
|
||||
testImplementation "org.mockito:mockito-core:$mockitoVersion"
|
||||
|
||||
}
|
||||
|
||||
|
||||
task jarTest (type: Jar) {
|
||||
from sourceSets.test.output
|
||||
classifier = 'test'
|
||||
}
|
||||
|
||||
configurations {
|
||||
testOutput
|
||||
}
|
||||
|
||||
artifacts {
|
||||
testOutput jarTest
|
||||
}
|
|
@ -3,7 +3,7 @@ package net.dankito.banking.bankfinder
|
|||
|
||||
open class InMemoryBankFinder() : BankFinderBase(), IBankFinder {
|
||||
|
||||
internal constructor(bankList: List<BankInfo>) : this() {
|
||||
constructor(bankList: List<BankInfo>) : this() {
|
||||
this.bankListField = bankList
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
apply plugin: 'java-library'
|
||||
apply plugin: 'kotlin'
|
||||
|
||||
|
||||
ext.artifactName = "lucene-bank-finder"
|
||||
|
||||
sourceCompatibility = "7"
|
||||
targetCompatibility = "7"
|
||||
|
||||
|
||||
dependencies {
|
||||
api project(":BankFinder")
|
||||
|
||||
implementation "net.dankito.search:lucene-4-utils:$luceneUtilsVersion"
|
||||
|
||||
|
||||
testImplementation project(path: ':BankFinder', configuration: 'testOutput')
|
||||
|
||||
testImplementation "org.junit.jupiter:junit-jupiter:$junit5Version"
|
||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit5Version"
|
||||
|
||||
testImplementation "org.assertj:assertj-core:$assertJVersion"
|
||||
testImplementation "org.mockito:mockito-core:$mockitoVersion"
|
||||
|
||||
}
|
|
@ -86,7 +86,7 @@ dependencies {
|
|||
|
||||
implementation project(':fints4kBankingClient')
|
||||
|
||||
implementation project(':BankFinder')
|
||||
implementation project(':LuceneBankFinder')
|
||||
|
||||
implementation project(':BankingPersistenceJson')
|
||||
implementation project(':LuceneBankingPersistence')
|
||||
|
|
|
@ -21,7 +21,7 @@ dependencies {
|
|||
|
||||
implementation project(":fints4k-jvm")
|
||||
|
||||
api project(":BankFinder")
|
||||
api project(":LuceneBankFinder")
|
||||
|
||||
api "net.dankito.utils:java-fx-utils:$javaFxUtilsVersion"
|
||||
}
|
Loading…
Reference in New Issue