I am trying to add the following compile dependency 'me.dm7.barcodescanner: zxing: 1.9'. The purpose is to make an application that reads bar code and write it in a text box but apparently it is no longer used compile but you have to use implementation. But to the above I change the word compile for implementation and even then it does not work. How do I do it? My current gradle file is as follows:
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}