From b905d71a2d826805b94f5d5cd35eacffdbf509cf Mon Sep 17 00:00:00 2001 From: Dmitrii Nikitin Date: Mon, 11 Dec 2017 01:53:14 +0300 Subject: [PATCH] Add gradle versions plugin --- build.gradle | 2 ++ storio-common-annotations-processor/build.gradle | 1 + storio-common/build.gradle | 1 + storio-content-resolver-annotations-processor-test/build.gradle | 1 + storio-content-resolver-annotations-processor/build.gradle | 1 + storio-content-resolver/build.gradle | 1 + storio-sample-app/build.gradle | 1 + storio-sqlite-annotations-processor-test/build.gradle | 1 + storio-sqlite-annotations-processor/build.gradle | 1 + storio-sqlite/build.gradle | 1 + storio-test-common/build.gradle | 1 + storio-test-without-rxjava/build.gradle | 1 + 12 files changed, 13 insertions(+) diff --git a/build.gradle b/build.gradle index 84647ce50..75f6a34d4 100644 --- a/build.gradle +++ b/build.gradle @@ -26,6 +26,8 @@ buildscript { classpath 'com.squareup.sqldelight:gradle-plugin:0.6.1' + classpath 'com.github.ben-manes:gradle-versions-plugin:0.17.0' + // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } diff --git a/storio-common-annotations-processor/build.gradle b/storio-common-annotations-processor/build.gradle index 55a336309..19e79b73e 100644 --- a/storio-common-annotations-processor/build.gradle +++ b/storio-common-annotations-processor/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'kotlin' +apply plugin: 'com.github.ben-manes.versions' dependencies { compile libraries.intellijAnnotations diff --git a/storio-common/build.gradle b/storio-common/build.gradle index a64173696..8a03b08d3 100644 --- a/storio-common/build.gradle +++ b/storio-common/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'com.android.library' apply plugin: 'checkstyle' +apply plugin: 'com.github.ben-manes.versions' android { compileSdkVersion rootProject.ext.compileSdkVersion diff --git a/storio-content-resolver-annotations-processor-test/build.gradle b/storio-content-resolver-annotations-processor-test/build.gradle index 25003aec5..a69ff423b 100644 --- a/storio-content-resolver-annotations-processor-test/build.gradle +++ b/storio-content-resolver-annotations-processor-test/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'com.android.library' apply from: '../build.workaround-missing-resource.gradle' +apply plugin: 'com.github.ben-manes.versions' android { compileSdkVersion rootProject.ext.compileSdkVersion diff --git a/storio-content-resolver-annotations-processor/build.gradle b/storio-content-resolver-annotations-processor/build.gradle index 8bbf3eb32..15607e374 100644 --- a/storio-content-resolver-annotations-processor/build.gradle +++ b/storio-content-resolver-annotations-processor/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'kotlin' +apply plugin: 'com.github.ben-manes.versions' dependencies { compile libraries.storIOContentResolverAnnotations diff --git a/storio-content-resolver/build.gradle b/storio-content-resolver/build.gradle index 27c669ff8..6ec59b310 100644 --- a/storio-content-resolver/build.gradle +++ b/storio-content-resolver/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'com.android.library' +apply plugin: 'com.github.ben-manes.versions' android { compileSdkVersion rootProject.ext.compileSdkVersion diff --git a/storio-sample-app/build.gradle b/storio-sample-app/build.gradle index 182235786..6d3b913bb 100644 --- a/storio-sample-app/build.gradle +++ b/storio-sample-app/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'com.android.application' apply plugin: 'com.squareup.sqldelight' +apply plugin: 'com.github.ben-manes.versions' android { compileSdkVersion rootProject.ext.compileSdkVersion diff --git a/storio-sqlite-annotations-processor-test/build.gradle b/storio-sqlite-annotations-processor-test/build.gradle index 3aca8204e..21141953f 100644 --- a/storio-sqlite-annotations-processor-test/build.gradle +++ b/storio-sqlite-annotations-processor-test/build.gradle @@ -1,5 +1,6 @@ apply plugin: 'com.android.library' apply from: '../build.workaround-missing-resource.gradle' +apply plugin: 'com.github.ben-manes.versions' android { compileSdkVersion rootProject.ext.compileSdkVersion diff --git a/storio-sqlite-annotations-processor/build.gradle b/storio-sqlite-annotations-processor/build.gradle index 529696298..a8354e798 100644 --- a/storio-sqlite-annotations-processor/build.gradle +++ b/storio-sqlite-annotations-processor/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'kotlin' +apply plugin: 'com.github.ben-manes.versions' dependencies { compile libraries.storIOSQLiteAnnotations diff --git a/storio-sqlite/build.gradle b/storio-sqlite/build.gradle index a682ce785..d351024c3 100644 --- a/storio-sqlite/build.gradle +++ b/storio-sqlite/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'com.android.library' +apply plugin: 'com.github.ben-manes.versions' android { compileSdkVersion rootProject.ext.compileSdkVersion diff --git a/storio-test-common/build.gradle b/storio-test-common/build.gradle index 257972489..1145351ba 100644 --- a/storio-test-common/build.gradle +++ b/storio-test-common/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'com.android.library' +apply plugin: 'com.github.ben-manes.versions' android { compileSdkVersion rootProject.ext.compileSdkVersion diff --git a/storio-test-without-rxjava/build.gradle b/storio-test-without-rxjava/build.gradle index a0ca868a9..5eca33698 100644 --- a/storio-test-without-rxjava/build.gradle +++ b/storio-test-without-rxjava/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'com.android.library' +apply plugin: 'com.github.ben-manes.versions' android { compileSdkVersion rootProject.ext.compileSdkVersion