// TODO: move to versions.gradle ext { appVersionName = '1.0.0 Alpha 5' appVersionCode = 5 /* MPP / basic dependencies */ kotlinVersion = '1.4.10' kotlinCoroutinesVersion = "1.3.7" ktorVersion = "1.3.2" javaUtilsVersion = '1.0.16' luceneUtilsVersion = "0.5.1-SNAPSHOT" textExtractorVersion = "0.5.1-SNAPSHOT" textInfoExtractorVersion = "1.0.1" hbci4jVersion = '3.1.37' /* iOS */ iOSIsRealDevice = false /* Android */ androidCompileSdkVersion = 28 androidBuildToolsVersion = "28.0.6" androidMinSdkVersion = 16 androidTargetSdkVersion = 28 fileChooserDialogVersion = "1.2.0-androidx" androidUtilsVersion = '1.1.1-SNAPSHOT' fastAdapterVersion = "5.2.4" materialDrawerVersion = "8.1.6" clansFloatingActionButtonVersion = '1.6.4' autocompleteVersion = "1.1.0" multiDexVersion = "2.0.1" appCompatVersion = "1.1.0" androidXCoreVersion = "1.3.1" androidXNavigationVersion = "2.3.0" androidXBiometricVersion = "1.0.1" constraintLayoutVersion = "1.1.3" materialComponentsVersion = "1.1.0" daggerVersion = "2.27" roomVersion = "2.2.5" sqlCipherVersion = "4.4.0" bcryptVersion = "0.9.0" /* JavaFX */ javaFxUtilsVersion = '1.0.8-SNAPSHOT' /* Test */ junitVersion = '4.12' junit5Version = '5.5.2' atriumVersion = "0.12.0" assertJVersion = '3.12.2' mockitoVersion = '2.22.0' mockitoKotlinVersion = '1.6.0' slf4jVersion = '1.7.26' logbackVersion = '1.2.3' } buildscript { ext.kotlin_version = '1.3.72' // ext.kotlin_version = '1.4.10' repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:4.0.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version" // Nexus staging plugin has to be downgraded to 0.10.0 to be applicable to sub projects, see https://github.com/UweTrottmann/SeriesGuide/commit/ca33e8ad2fa6cc5c426450c8aef3417ba073ca7f classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.10.0" } } def commonScriptsFile = new File(new File(project.gradle.gradleUserHomeDir, "scripts"), "commonScripts.gradle") if (commonScriptsFile.exists()) { apply from: commonScriptsFile } allprojects { repositories { mavenLocal() mavenCentral() google() jcenter() } group 'net.dankito.banking' version appVersionName } task jarAll { dependsOn = [ "common:jvmJar", "fints4k:jvm6Jar", "fints4k-jvm:jar", "BankFinder:jvmJar", "BankingUiCommon:jvmJar", "fints4kBankingClient:jvmJar", "BankingUiCommon:jvmJar", "BankingJavaFxControls:jar", "BankingJavaFxApp:jar" ] } task packAllForXcode { dependsOn = [ "common:packForXcode", "fints4k:packForXcode", "BankFinder:packForXcode", "BankingUiCommon:packForXcode", "fints4kBankingClient:packForXcode", "BankingUiNativeIntegration:packForXcode" ] }