Skip to content

Commit 3e29555

Browse files
committed
added dependencies
1 parent 3649f09 commit 3e29555

File tree

6 files changed

+49
-9
lines changed

6 files changed

+49
-9
lines changed

.idea/gradle.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/build.gradle

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,21 @@ android {
2626

2727
dependencies {
2828
implementation fileTree(dir: "libs", include: ["*.jar"])
29-
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
30-
implementation 'androidx.core:core-ktx:1.3.1'
31-
implementation 'androidx.appcompat:appcompat:1.2.0'
32-
testImplementation 'junit:junit:4.12'
33-
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
34-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
29+
implementation "org.jetbrains.kotlin:kotlin-stdlib:${Versions.kotlin}"
30+
implementation "androidx.core:core-ktx:${Versions.core_ktx}"
31+
implementation "androidx.appcompat:appcompat:${Versions.app_compat}"
32+
implementation "org.koin:koin-gradle-plugin:${Versions.koin}"
33+
implementation "androidx.core:core-ktx:${Versions.kotlin_ext}"
34+
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${Versions.kotlin_coroutines}"
35+
implementation "com.squareup.retrofit2:retrofit:${Versions.retrofit}"
36+
implementation "com.squareup.moshi:moshi:${Versions.moshi}"
37+
implementation "com.squareup.retrofit2:converter-moshi:${Versions.retrofit_moshi_converter}"
38+
implementation "com.github.bumptech.glide:glide:${Versions.glide}"
39+
testImplementation "junit:junit:${Versions.junit}"
40+
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:${Versions.mockito_kotlin}"
41+
testImplementation "org.mockito:mockito-inline:${Versions.mockito_inline}"
42+
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:${Versions.kotlin_coroutines}"
43+
androidTestImplementation "androidx.test.ext:junit:${Versions.android_junit}"
44+
androidTestImplementation "androidx.test.espresso:espresso-core:${Versions.espresso}"
3545

3646
}

build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
buildscript {
3-
ext.kotlin_version = "1.4.10"
43
repositories {
54
google()
65
jcenter()
76
}
87
dependencies {
9-
classpath "com.android.tools.build:gradle:4.0.1"
10-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
8+
classpath "com.android.tools.build:gradle:${Versions.gradle}"
9+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
1110

1211
// NOTE: Do not place your application dependencies here; they belong
1312
// in the individual module build.gradle files

buildSrc/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
plugins {
2+
`kotlin-dsl`
3+
}
4+
repositories {
5+
jcenter()
6+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
implementation-classpath=/Users/mng/AndroidStudioProjects/WeedmapsAndroidCodeChallenge/buildSrc/build/classes/java/main\:/Users/mng/AndroidStudioProjects/WeedmapsAndroidCodeChallenge/buildSrc/build/classes/groovy/main\:/Users/mng/AndroidStudioProjects/WeedmapsAndroidCodeChallenge/buildSrc/build/classes/kotlin/main\:/Users/mng/AndroidStudioProjects/WeedmapsAndroidCodeChallenge/buildSrc/build/resources/main
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/**
2+
* Created by Matt Ng on 9/14/20
3+
*/
4+
5+
object Versions {
6+
const val gradle = "4.0.1"
7+
const val kotlin = "1.4.10"
8+
const val core_ktx = "1.3.1"
9+
const val kotlin_ext = "1.1.0"
10+
const val kotlin_coroutines = "1.3.9"
11+
const val app_compat = "1.2.0"
12+
const val junit = "4.13"
13+
const val android_junit = "1.1.2"
14+
const val espresso = "3.3.0"
15+
const val mockito = "2.1.0"
16+
const val mockito_kotlin = "2.2.0"
17+
const val mockito_inline = "2.21.0"
18+
const val koin = "2.1.6"
19+
const val retrofit = "2.4.0"
20+
const val moshi = "1.9.3"
21+
const val retrofit_moshi_converter = "2.8.1"
22+
const val glide = "4.11.0"
23+
}

0 commit comments

Comments
 (0)