apply plugin: 'kotlin' apply plugin: 'application' sourceCompatibility = "1.8" targetCompatibility = "1.8" compileKotlin { kotlinOptions.jvmTarget = "1.8" } compileTestKotlin { kotlinOptions.jvmTarget = "1.8" } mainClassName = "net.dankito.banking.ui.javafx.BankingJavaFXApplication" def title = 'Banking' dependencies { implementation project(':BankingJavaFxControls') implementation project(':fints4kBankingClient') implementation project(':hbci4jBankingClient') implementation project(':BankingPersistenceJson') implementation "ch.qos.logback:logback-classic:$logbackVersion" } jar { manifest { attributes 'Main-Class': mainClassName, 'Implementation-Title': title, 'Implementation-Version': appVersionName } duplicatesStrategy = DuplicatesStrategy.EXCLUDE from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } }