buildscript { repositories { mavenCentral() google() jcenter() maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath 'com.android.tools.build:gradle:3.1.3' 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.16" ahbottom = "2.2.0" jsoup = "1.11.3" gson = "2.8.5" ossLicenses = "15.0.1" slf4jApi = "1.7.25" slf4jTimber = "1.0.1" timber = "4.7.0" debugDb = "1.0.3" sqlcipher = "3.5.9" junit = "4.12" mockito = "2.18.3" testRunner = "1.0.2" fabricGradle = "1.25.4" crashlyticsSdk = "2.9.3" crashlyticsAnswers = "1.4.2" playPublisher = "1.2.2" } allprojects { repositories { mavenCentral() google() jcenter() maven { url "https://jitpack.io" } } } task clean(type: Delete) { delete rootProject.buildDir }