- Missing dependencies added

Took 7 minutes
This commit is contained in:
2022-08-08 01:09:23 +01:00
parent 1b95c64763
commit c332ab2a12
2 changed files with 3 additions and 1 deletions

View File

@@ -47,6 +47,8 @@ dependencies {
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
androidTestImplementation 'androidx.test:rules:1.4.0'
implementation 'org.jetbrains.kotlin:kotlin-test:1.7.10'
//Retrofit and GSON
def retrofit_ver = "2.8.1"
@@ -76,4 +78,5 @@ dependencies {
//mock websever for testing retrofit responses
testImplementation "com.squareup.okhttp3:mockwebserver:4.6.0"
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
implementation "org.jetbrains.kotlin:kotlin-test:1.7.10"
}

View File

@@ -21,7 +21,6 @@ import javax.inject.Inject
*/
@HiltViewModel
class MainViewModel @Inject constructor(
val handle: SavedStateHandle,
private val currencyDataHelper: CurrencyDataHelper,
private val repository: Repository
) : ViewModel() {