diff --git a/app/build.gradle b/app/build.gradle index a9c5cefd6..d66f6a9c3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,8 +5,8 @@ buildscript { } dependencies { - classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' - classpath 'io.fabric.tools:gradle:1.25.1' + classpath "org.greenrobot:greendao-gradle-plugin:$greenDaoGradle" + classpath "io.fabric.tools:gradle:$fabricGradle" } } @@ -66,6 +66,10 @@ greendao { generateTests = true } +configurations.all { + resolutionStrategy.force "com.android.support:support-annotations:$supportVersion" +} + dependencies { implementation project(':api') implementation "com.android.support:support-v4:$supportVersion" diff --git a/build.gradle b/build.gradle index c9dd5ac04..a73e0016c 100644 --- a/build.gradle +++ b/build.gradle @@ -7,12 +7,18 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.1.2' - classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1" - classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3' - classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1' + 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 -> @@ -28,28 +34,31 @@ 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" - flexibleAdapter = "5.0.2" - flexibleUi = "1.0.0-b2" greenDao = "3.2.2" greenDaoHelper = "v2.0.2" + greenDaoGradle = "3.2.2" butterknife = "8.8.1" - threeTenABP = "1.0.5" + threeTenABP = "1.1.0" dagger2 = "2.15" - ahbottom = "2.1.0" - jsoup = "1.10.3" - gson = "2.8.2" + 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.16.0" - testRunner = "1.0.1" + mockito = "2.18.3" + testRunner = "1.0.2" - crashlyticsSdk = "2.9.1" + fabricGradle = "1.25.3" + crashlyticsSdk = "2.9.2" crashlyticsAnswers = "1.4.1" }