diff --git a/build.gradle b/build.gradle index 4b1be34..d9ea492 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,3 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. - buildscript { repositories { jcenter() @@ -8,9 +6,6 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.0.1' classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0' - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files } } @@ -20,7 +15,6 @@ allprojects { google() } - ext { compileSdkVersion = 27 buildToolsVersion = '26.0.2' diff --git a/core/build.gradle b/core/build.gradle index dd6976b..bb72dcc 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -24,6 +24,6 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' - compile "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion" + compile "com.android.support:appcompat-v7:$supportLibraryVersion" } diff --git a/sample/build.gradle b/sample/build.gradle index 84254a2..f21a969 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -25,11 +25,11 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' - compile "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion" - compile "com.android.support:design:$rootProject.supportLibraryVersion" + compile "com.android.support:appcompat-v7:$supportLibraryVersion" + compile "com.android.support:design:$supportLibraryVersion" - //compile 'com.github.kizitonwose.colorpreference:core:1.0.4' - //compile 'com.github.kizitonwose.colorpreference:support:1.0.4' + //compile 'com.github.kizitonwose.colorpreference:core:1.0.5' + //compile 'com.github.kizitonwose.colorpreference:support:1.0.5' //The support module also contains the standard preference compile project(':support') diff --git a/support/build.gradle b/support/build.gradle index c56c8a7..718bf28 100644 --- a/support/build.gradle +++ b/support/build.gradle @@ -24,6 +24,6 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' - compile "com.android.support:preference-v7:$rootProject.supportLibraryVersion" + compile "com.android.support:preference-v7:$supportLibraryVersion" compile project(':core') }