fints4k/build.gradle

179 lines
3.6 KiB
Groovy
Raw Normal View History

2019-10-02 17:54:11 +00:00
// TODO: move to versions.gradle
ext {
2021-11-06 16:12:07 +00:00
appVersionName = '1.0.0-Alpha-10'
2021-11-06 16:12:07 +00:00
appVersionCode = 10
2019-10-02 17:54:11 +00:00
/* MPP / basic dependencies */
2021-01-18 13:05:10 +00:00
kotlinVersion = '1.4.21'
2020-07-05 09:21:21 +00:00
kotlinCoroutinesVersion = "1.3.7"
2019-10-15 16:27:06 +00:00
ktorVersion = "1.4.2"
2021-01-18 13:05:10 +00:00
javaUtilsVersion = '1.0.18'
luceneUtilsVersion = "0.6.0"
2020-04-23 22:50:14 +00:00
2020-01-26 11:23:02 +00:00
textExtractorVersion = "0.6.0"
textInfoExtractorVersion = "1.0.1"
commonsCsvVersion = "1.8"
2020-01-26 11:23:02 +00:00
hbci4jVersion = '3.1.37'
/* iOS */
iOSIsRealDevice = false
embedBitcodeValue = "marker" // Use "marker" to embed the bitcode marker (for debug builds)
// embedBitcodeValue = "bitcode" // for release binaries
2020-11-06 05:11:02 +00:00
/* Java */
faviconFinderVersion = "1.0.0"
2020-04-22 15:40:12 +00:00
/* Android */
androidCompileSdkVersion = 30
androidBuildToolsVersion = "30.0.3"
androidMinSdkVersion = 21 // TODO: fix SSLv3 / TLS and set back to 16
androidTargetSdkVersion = 30
fileChooserDialogVersion = "1.3.1-androidx"
androidUtilsVersion = '1.1.2'
fastAdapterVersion = "5.2.4"
2020-09-28 01:33:02 +00:00
materialDrawerVersion = "8.1.6"
2019-10-02 17:54:11 +00:00
clansFloatingActionButtonVersion = '1.6.4'
autocompleteVersion = "1.1.0"
zxingVersion = "3.3.0"
scytaleVersion = "1.0.1"
2020-04-22 15:40:12 +00:00
multiDexVersion = "2.0.1"
appCompatVersion = "1.1.0"
2020-09-15 19:12:54 +00:00
androidXCoreVersion = "1.3.1"
androidXNavigationVersion = "2.3.0"
androidXBiometricVersion = "1.0.1"
2020-04-22 15:40:12 +00:00
constraintLayoutVersion = "1.1.3"
materialComponentsVersion = "1.1.0"
daggerVersion = "2.27"
2020-09-15 19:12:54 +00:00
roomVersion = "2.2.5"
sqlCipherVersion = "4.4.0"
bcryptVersion = "0.9.0"
2020-04-22 15:40:12 +00:00
/* JavaFX */
2021-01-18 13:05:10 +00:00
javaFxUtilsVersion = '1.0.9'
2020-04-22 15:40:12 +00:00
/* Test */
2019-10-02 17:54:11 +00:00
junitVersion = '4.12'
junit5Version = '5.5.2'
atriumVersion = "0.15.0"
2019-10-02 17:54:11 +00:00
assertJVersion = '3.12.2'
mockitoVersion = '2.22.0'
mockitoKotlinVersion = '1.6.0'
slf4jVersion = '1.7.26'
2019-10-02 17:54:11 +00:00
logbackVersion = '1.2.3'
}
buildscript {
ext.kotlin_version = '1.3.72'
// ext.kotlin_version = '1.4.10'
2019-10-02 17:54:11 +00:00
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
2019-10-02 17:54:11 +00:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
2019-10-02 17:54:11 +00:00
// 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
}
2019-10-02 17:54:11 +00:00
allprojects {
repositories {
mavenLocal()
mavenCentral()
google()
jcenter()
}
group 'net.dankito.banking'
2019-10-02 17:54:11 +00:00
version appVersionName
}
2020-09-17 10:02:03 +00:00
task jarAll {
dependsOn = [
"common:jvmJar",
"fints4k:jvm6Jar",
"fints4k-jvm:jar",
"BankFinder:jvmJar",
"EpcQrCodeParser:jvmJar",
2020-09-17 10:02:03 +00:00
"BankingUiCommon:jvmJar",
"fints4kBankingClient:jvmJar",
"BankingUiCommon:jvmJar",
"BankingJavaFxControls:jar",
"BankingJavaFxApp:jar"
]
}
task packAllForXcode {
dependsOn = [
"common:packForXcode",
"fints4k:packForXcode",
"BankFinder:packForXcode",
"EpcQrCodeParser:packForXcode",
"BankingUiCommon:packForXcode",
"fints4kBankingClient:packForXcode",
"BankingUiNativeIntegration:packForXcode"
]
}