184 lines
3.7 KiB
Groovy
184 lines
3.7 KiB
Groovy
// TODO: move to versions.gradle
|
|
ext {
|
|
appVersionName = '1.0.0 Alpha 9'
|
|
|
|
appVersionCode = 9
|
|
|
|
|
|
/* MPP / basic dependencies */
|
|
|
|
kotlinVersion = '1.4.10'
|
|
kotlinCoroutinesVersion = "1.3.7"
|
|
|
|
|
|
ktorVersion = "1.4.2"
|
|
|
|
|
|
javaUtilsVersion = '1.0.16'
|
|
|
|
luceneUtilsVersion = "0.6.0"
|
|
|
|
|
|
textExtractorVersion = "0.6.0"
|
|
|
|
textInfoExtractorVersion = "1.0.1"
|
|
|
|
commonsCsvVersion = "1.8"
|
|
|
|
|
|
hbci4jVersion = '3.1.37'
|
|
|
|
|
|
/* iOS */
|
|
|
|
iOSIsRealDevice = false
|
|
embedBitcodeValue = "marker" // Use "marker" to embed the bitcode marker (for debug builds)
|
|
// embedBitcodeValue = "bitcode" // for release binaries
|
|
|
|
|
|
/* Java */
|
|
|
|
faviconFinderVersion = "1.0.0"
|
|
|
|
|
|
/* Android */
|
|
|
|
androidCompileSdkVersion = 29
|
|
|
|
androidBuildToolsVersion = "29.0.2"
|
|
|
|
androidMinSdkVersion = 21 // TODO: fix SSLv3 / TLS and set back to 16
|
|
|
|
androidTargetSdkVersion = 29
|
|
|
|
|
|
fileChooserDialogVersion = "1.3.1-androidx"
|
|
|
|
androidUtilsVersion = '1.1.2'
|
|
|
|
fastAdapterVersion = "5.2.4"
|
|
|
|
materialDrawerVersion = "8.1.6"
|
|
|
|
clansFloatingActionButtonVersion = '1.6.4'
|
|
|
|
autocompleteVersion = "1.1.0"
|
|
|
|
zxingVersion = "3.3.0"
|
|
|
|
scytaleVersion = "1.0.1"
|
|
|
|
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'
|
|
|
|
|
|
/* REST APIs */
|
|
|
|
quarkusVersion="1.11.0.Final"
|
|
|
|
|
|
/* 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",
|
|
"EpcQrCodeParser:jvmJar",
|
|
"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"
|
|
]
|
|
} |