I'm trying to run an old project of mine on android studio, the project was last edited in 2017 and since then haven't been touched.
i keep getting an error to change the "compile" to "implementation" in the gradle file which i have done and still i keep getting the same warning
"WARNING: Configuration 'compile' is obsolete and has been replaced
with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see:
http://d.android.com/r/tools/update-dependency-configurations.html
Affected Modules: app"
this is the actual code in the gradle file
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
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'
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:recyclerview-v7:27.1.1'
it should build successfully without this warning, what am i doing wrong here?