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 */
|
/* Tools */
|
||||||
|
|
||||||
include ':BankFinder'
|
include ':BankFinder'
|
||||||
|
include ':LuceneBankFinder'
|
||||||
include ':BankListCreator'
|
include ':BankListCreator'
|
||||||
|
|
||||||
|
|
||||||
project(':BankFinder').projectDir = "$rootDir/tools/BankFinder/" as File
|
project(':BankFinder').projectDir = "$rootDir/tools/BankFinder/" as File
|
||||||
|
project(':LuceneBankFinder').projectDir = "$rootDir/tools/LuceneBankFinder/" as File
|
||||||
project(':BankListCreator').projectDir = "$rootDir/tools/BankListCreator/" as File
|
project(':BankListCreator').projectDir = "$rootDir/tools/BankListCreator/" as File
|
||||||
|
|
|
@ -9,9 +9,7 @@ targetCompatibility = "7"
|
||||||
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(":BankingUiCommon")
|
api project(":BankingUiCommon")
|
||||||
|
|
||||||
implementation "net.dankito.search:lucene-4-utils:$luceneUtilsVersion"
|
|
||||||
|
|
||||||
|
|
||||||
testImplementation "org.junit.jupiter:junit-jupiter:$junit5Version"
|
testImplementation "org.junit.jupiter:junit-jupiter:$junit5Version"
|
||||||
|
@ -21,3 +19,17 @@ dependencies {
|
||||||
testImplementation "org.mockito:mockito-core:$mockitoVersion"
|
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 {
|
open class InMemoryBankFinder() : BankFinderBase(), IBankFinder {
|
||||||
|
|
||||||
internal constructor(bankList: List<BankInfo>) : this() {
|
constructor(bankList: List<BankInfo>) : this() {
|
||||||
this.bankListField = bankList
|
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(':fints4kBankingClient')
|
||||||
|
|
||||||
implementation project(':BankFinder')
|
implementation project(':LuceneBankFinder')
|
||||||
|
|
||||||
implementation project(':BankingPersistenceJson')
|
implementation project(':BankingPersistenceJson')
|
||||||
implementation project(':LuceneBankingPersistence')
|
implementation project(':LuceneBankingPersistence')
|
||||||
|
|
|
@ -21,7 +21,7 @@ dependencies {
|
||||||
|
|
||||||
implementation project(":fints4k-jvm")
|
implementation project(":fints4k-jvm")
|
||||||
|
|
||||||
api project(":BankFinder")
|
api project(":LuceneBankFinder")
|
||||||
|
|
||||||
api "net.dankito.utils:java-fx-utils:$javaFxUtilsVersion"
|
api "net.dankito.utils:java-fx-utils:$javaFxUtilsVersion"
|
||||||
}
|
}
|
Loading…
Reference in New Issue