Skip to content

Commit

Permalink
Gradle: Move constants to main build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
mercuriete authored and mercuriete committed Aug 17, 2020
1 parent 26ca707 commit a4de664
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
15 changes: 7 additions & 8 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,11 @@ dependencies {
androidTestImplementation 'androidx.test:core:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

def daggerVersion = 2.20
implementation "com.google.dagger:dagger:$daggerVersion"
implementation "com.google.dagger:dagger-android:$daggerVersion"
implementation "com.google.dagger:dagger-android-support:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
kapt "com.google.dagger:dagger-android-support:$daggerVersion"
kaptTest "com.google.dagger:dagger-compiler:$daggerVersion"
implementation "com.google.dagger:dagger:$dagger_version"
implementation "com.google.dagger:dagger-android:$dagger_version"
implementation "com.google.dagger:dagger-android-support:$dagger_version"
kapt "com.google.dagger:dagger-android-processor:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"
kapt "com.google.dagger:dagger-android-support:$dagger_version"
kaptTest "com.google.dagger:dagger-compiler:$dagger_version"
}
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ buildscript {
}

ext.kotlin_version = '1.3.72'
ext.dagger_version = '2.20'
ext.version_name = getVersionName()
ext.version_code = getVersionCode()
repositories {
Expand Down

0 comments on commit a4de664

Please sign in to comment.