Skip to content

Commit 2d6f868

Browse files
committed
Clean up build.gradle
1 parent 778335b commit 2d6f868

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
lines changed

build.gradle

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2-
31
buildscript {
42
repositories {
53
jcenter()
@@ -8,9 +6,6 @@ buildscript {
86
dependencies {
97
classpath 'com.android.tools.build:gradle:3.0.1'
108
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
11-
12-
// NOTE: Do not place your application dependencies here; they belong
13-
// in the individual module build.gradle files
149
}
1510
}
1611

@@ -20,7 +15,6 @@ allprojects {
2015
google()
2116
}
2217

23-
2418
ext {
2519
compileSdkVersion = 27
2620
buildToolsVersion = '26.0.2'

core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ android {
2424
dependencies {
2525
compile fileTree(dir: 'libs', include: ['*.jar'])
2626
testCompile 'junit:junit:4.12'
27-
compile "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
27+
compile "com.android.support:appcompat-v7:$supportLibraryVersion"
2828

2929
}

sample/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ android {
2525
dependencies {
2626
compile fileTree(dir: 'libs', include: ['*.jar'])
2727
testCompile 'junit:junit:4.12'
28-
compile "com.android.support:appcompat-v7:$rootProject.supportLibraryVersion"
29-
compile "com.android.support:design:$rootProject.supportLibraryVersion"
28+
compile "com.android.support:appcompat-v7:$supportLibraryVersion"
29+
compile "com.android.support:design:$supportLibraryVersion"
3030

31-
//compile 'com.github.kizitonwose.colorpreference:core:1.0.4'
32-
//compile 'com.github.kizitonwose.colorpreference:support:1.0.4'
31+
//compile 'com.github.kizitonwose.colorpreference:core:1.0.5'
32+
//compile 'com.github.kizitonwose.colorpreference:support:1.0.5'
3333
//The support module also contains the standard preference
3434
compile project(':support')
3535

support/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ android {
2424
dependencies {
2525
compile fileTree(dir: 'libs', include: ['*.jar'])
2626
testCompile 'junit:junit:4.12'
27-
compile "com.android.support:preference-v7:$rootProject.supportLibraryVersion"
27+
compile "com.android.support:preference-v7:$supportLibraryVersion"
2828
compile project(':core')
2929
}

0 commit comments

Comments
 (0)