Skip to content

Commit

Permalink
Organise dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
kizitonwose committed Feb 21, 2019
1 parent 9c32588 commit f62c765
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ allprojects {
targetSdkVersion = 28
buildToolsVersion = '28.0.3'
versionCode = 8
versionName = '1.0.7'
versionName = '1.1.0'

annotationVersion = '1.1.0-alpha01'
preferenceVersion = '1.1.0-alpha03'
preferencev14Version = '1.0.0'
appCompatVersion = '1.1.0-alpha02'
materialVersion = '1.1.0-alpha03'
}
}

Expand Down
2 changes: 1 addition & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ android {
}

dependencies {
api "androidx.annotation:annotation:1.1.0-alpha01"
api "androidx.annotation:annotation:$annotationVersion"
}
6 changes: 3 additions & 3 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ android {
}

dependencies {
implementation "androidx.appcompat:appcompat:1.1.0-alpha02"
implementation "com.google.android.material:material:1.1.0-alpha03"
implementation "androidx.appcompat:appcompat:$appCompatVersion"
implementation "com.google.android.material:material:$materialVersion"

//compile 'com.github.kizitonwose.colorpreference:core:1.0.6'
//compile 'com.github.kizitonwose.colorpreference:support:1.0.6'
Expand All @@ -40,6 +40,6 @@ dependencies {

//You don't need this to use the color preference library. This is only necessary for the
//Preference theme in the ColorPreferenceCompat sample activity
implementation "androidx.legacy:legacy-preference-v14:1.0.0"
implementation "androidx.legacy:legacy-preference-v14:$preferencev14Version"

}
2 changes: 1 addition & 1 deletion support/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ android {
}

dependencies {
api "androidx.preference:preference:1.1.0-alpha03"
api "androidx.preference:preference:$preferenceVersion"
implementation project(':core')
}

0 comments on commit f62c765

Please sign in to comment.