// TODO: move to versions.gradle ext { appVersionName = '0.1.0-SNAPSHOT' appVersionCode = 1 kotlinVersion = '1.3.72' javaUtilsVersion = '1.0.16-SNAPSHOT' hbci4jVersion = '3.1.37' /* Android */ androidUtilsVersion = '1.1.1-SNAPSHOT' materialDrawerVersion = "8.0.1" clansFloatingActionButtonVersion = '1.6.4' multiDexVersion = "2.0.1" appCompatVersion = "1.1.0" constraintLayoutVersion = "1.1.3" materialComponentsVersion = "1.1.0" /* JavaFX */ javaFxUtilsVersion = '1.0.3' /* Test */ junitVersion = '4.12' 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.61' repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.5.1' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$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 clean(type: Delete) { delete rootProject.buildDir }