buildscript { repositories { jcenter() mavenCentral() google() maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath 'com.android.tools.build:gradle:3.1.2' classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2" classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1' } } plugins { // gradle dependencyUpdates -Drevision=release id "com.github.ben-manes.versions" version "0.17.0" } project.ext.preDexLibs = !project.hasProperty("disablePreDex") subprojects { project.plugins.whenPluginAdded { plugin -> if ("com.android.build.gradle.AppPlugin" == plugin.class.name) { project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs } else if ("com.android.build.gradle.LibraryPlugin" == plugin.class.name) { project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs } } } ext { GROUP_ID = "io.github.wulkanowy" supportVersion = "26.1.0" flexibleAdapter = "5.0.2" flexibleUi = "1.0.0-b2" firebaseJob = "0.8.5" apacheLang = "3.7" apacheCollections = "4.1" greenDao = "3.2.2" greenDaoHelper = "v2.0.2" greenDaoGradle = "3.2.2" butterknife = "8.8.1" threeTenABP = "1.1.0" dagger2 = "2.15" ahbottom = "2.2.0" jsoup = "1.11.3" gson = "2.8.4" debugDb = "1.0.3" sqlcipher = "3.5.9" junit = "4.12" mockito = "2.18.3" testRunner = "1.0.2" fabricGradle = "1.25.3" crashlyticsSdk = "2.9.2" crashlyticsAnswers = "1.4.1" } allprojects { repositories { jcenter() mavenCentral() google() maven { url "https://jitpack.io" } } } task clean(type: Delete) { delete rootProject.buildDir }