133 lines
2.6 KiB
Groovy
133 lines
2.6 KiB
Groovy
// TODO: move to versions.gradle
|
|
ext {
|
|
appVersionName = '1.0.0 Alpha 5'
|
|
|
|
appVersionCode = 5
|
|
|
|
|
|
/* MPP / basic dependencies */
|
|
|
|
kotlinVersion = '1.3.72'
|
|
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"
|
|
|
|
|
|
mapStructVersion = "1.4.0.Beta3"
|
|
|
|
|
|
hbci4jVersion = '3.1.37'
|
|
|
|
|
|
/* Android */
|
|
|
|
androidCompileSdkVersion = 28
|
|
|
|
androidBuildToolsVersion = "28.0.6"
|
|
|
|
androidMinSdkVersion = 16
|
|
|
|
androidTargetSdkVersion = 28
|
|
|
|
|
|
fileChooserDialogVersion = "1.2.0-androidx"
|
|
|
|
androidUtilsVersion = '1.1.1-SNAPSHOT'
|
|
|
|
materialDrawerVersion = "8.0.1"
|
|
|
|
clansFloatingActionButtonVersion = '1.6.4'
|
|
|
|
autocompleteVersion = "1.1.0"
|
|
|
|
multiDexVersion = "2.0.1"
|
|
|
|
appCompatVersion = "1.1.0"
|
|
|
|
constraintLayoutVersion = "1.1.3"
|
|
|
|
materialComponentsVersion = "1.1.0"
|
|
|
|
daggerVersion = "2.27"
|
|
|
|
|
|
/* 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'
|
|
|
|
repositories {
|
|
google()
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:4.0.0'
|
|
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 packAllForXcode {
|
|
dependsOn = [
|
|
"common:packForXcode",
|
|
"fints4k:packForXcode",
|
|
"BankFinder:packForXcode",
|
|
"BankingUiCommon:packForXcode",
|
|
"fints4kBankingClient:packForXcode",
|
|
"BankingUiNativeIntegration:packForXcode"
|
|
]
|
|
} |