Skip to content

Commit

Permalink
Clean up build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
kizitonwose committed Dec 4, 2017
1 parent 778335b commit 2d6f868
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
6 changes: 0 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
jcenter()
Expand All @@ -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
}
}

Expand All @@ -20,7 +15,6 @@ allprojects {
google()
}


ext {
compileSdkVersion = 27
buildToolsVersion = '26.0.2'
Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"

}
8 changes: 4 additions & 4 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
2 changes: 1 addition & 1 deletion support/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}

0 comments on commit 2d6f868

Please sign in to comment.