2020-01-08 19:31:16 +00:00
|
|
|
apply plugin: 'kotlin'
|
2020-01-11 23:29:29 +00:00
|
|
|
apply plugin: 'application'
|
2020-01-08 19:31:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
sourceCompatibility = "1.8"
|
|
|
|
targetCompatibility = "1.8"
|
|
|
|
|
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
compileTestKotlin {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-06-13 15:20:00 +00:00
|
|
|
repositories {
|
|
|
|
// for security issues fixed version of iText 2 from JasperReports
|
|
|
|
maven {
|
|
|
|
url "http://jaspersoft.jfrog.io/jaspersoft/third-party-ce-artifacts"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2020-01-11 23:29:29 +00:00
|
|
|
mainClassName = "net.dankito.banking.ui.javafx.BankingJavaFXApplication"
|
|
|
|
|
|
|
|
def title = 'Banking'
|
|
|
|
|
|
|
|
|
2020-01-08 19:31:16 +00:00
|
|
|
dependencies {
|
2020-01-15 22:55:16 +00:00
|
|
|
implementation project(':BankingJavaFxControls')
|
2020-01-08 19:31:16 +00:00
|
|
|
|
2020-05-11 16:21:36 +00:00
|
|
|
implementation project(':fints4kBankingClient')
|
2020-07-09 11:36:42 +00:00
|
|
|
//implementation project(':hbci4jBankingClient')
|
2020-01-15 22:55:16 +00:00
|
|
|
|
2020-06-13 14:04:12 +00:00
|
|
|
implementation project(':fints4k')
|
|
|
|
implementation project(':fints4k-jvm')
|
|
|
|
|
2020-06-04 11:48:40 +00:00
|
|
|
implementation project(':LuceneBankingPersistence')
|
2020-01-08 21:32:29 +00:00
|
|
|
|
2020-06-13 14:04:12 +00:00
|
|
|
|
|
|
|
implementation "net.dankito.text.extraction:poppler-text-extractor:$textExtractorVersion"
|
|
|
|
implementation "net.dankito.text.extraction:pdfbox-text-extractor:$textExtractorVersion"
|
|
|
|
implementation "net.dankito.text.extraction:itext2-text-extractor:$textExtractorVersion"
|
|
|
|
implementation "net.dankito.text.extraction:tesseract4-commandline-text-extractor:$textExtractorVersion"
|
|
|
|
implementation "net.dankito.text.extraction:tika-text-extractor:$textExtractorVersion"
|
|
|
|
|
2020-01-08 21:32:29 +00:00
|
|
|
implementation "ch.qos.logback:logback-classic:$logbackVersion"
|
2020-01-11 23:29:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
jar {
|
2020-06-13 15:21:05 +00:00
|
|
|
zip64 = true
|
|
|
|
|
|
|
|
// If one of the source JARs is signed, merging it into one fat jar destroys the signature -> remove signatures
|
|
|
|
// (but may runs into problems with jars that require a valid signature like BouncyCastle, see
|
|
|
|
// https://stackoverflow.com/questions/51455197/gradle-fatjar-could-not-find-or-load-main-class)
|
|
|
|
exclude("META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA")
|
|
|
|
|
2020-01-11 23:29:29 +00:00
|
|
|
manifest {
|
|
|
|
attributes 'Main-Class': mainClassName,
|
|
|
|
'Implementation-Title': title,
|
|
|
|
'Implementation-Version': appVersionName
|
|
|
|
}
|
|
|
|
|
|
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
|
|
|
|
|
|
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
|
2020-06-13 15:21:05 +00:00
|
|
|
|
2020-01-08 19:31:16 +00:00
|
|
|
}
|