Permalink
Browse files

Use SUPPORT_LIBRARY_VERSION

  • Loading branch information...
hisaichi5518 committed Sep 19, 2017
1 parent bcfd9c8 commit 5b0ae810915aa3f4a36f803b0dfc498f5dd48b0d
Showing with 8 additions and 2 deletions.
  1. +4 −0 build.gradle
  2. +1 −1 example/build.gradle
  3. +1 −1 library/build.gradle
  4. +2 −0 processor/build.gradle
View
@@ -21,6 +21,10 @@ allprojects {
}
}
ext {
SUPPORT_LIBRARY_VERSION = "26.1.0"
}
task clean(type: Delete) {
delete rootProject.buildDir
}
View
@@ -25,7 +25,7 @@ dependencies {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile "com.android.support:appcompat-v7:${SUPPORT_LIBRARY_VERSION}"
compile 'com.android.support.constraint:constraint-layout:1.0.2'
annotationProcessor project(':processor')
View
@@ -28,6 +28,6 @@ dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:26.+'
compile "com.android.support:appcompat-v7:${SUPPORT_LIBRARY_VERSION}"
testCompile 'junit:junit:4.12'
}
View
@@ -6,4 +6,6 @@ sourceCompatibility = JavaVersion.VERSION_1_8
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':annotation')
compileOnly "com.android.support:support-annotations:${SUPPORT_LIBRARY_VERSION}"
}

0 comments on commit 5b0ae81

Please sign in to comment.