payatu / diva-android

DIVA Android - Damn Insecure and vulnerable App for Android
GNU General Public License v3.0
943 stars 280 forks source link

compile is deprecated #12

Closed zeroBitOfDiff closed 2 years ago

zeroBitOfDiff commented 2 years ago

in build.gradle i made a few changes since compile is deprecated and appcompat 23.1 is throwing me errors. I added the google maven link because the support libraries are now available through Maven's repository. Next i just updated compile to implementation. links for info: https://stackoverflow.com/questions/44691858/failed-to-resolve-com-android-support-design25-4-0/44691905

https://stackoverflow.com/questions/48709870/still-getting-warning-configuration-compile-is-obsolete-and-has-been-replace

allprojects {
    repositories {
        jcenter()
        maven {
            url "https://maven.google.com"
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    testImplementation 'junit:junit:4.12'
    implementation 'com.android.support:appcompat-v7:23.4.0'
    implementation 'com.android.support:design:23.4.0'
}
zeroBitOfDiff commented 2 years ago

https://github.com/payatu/diva-android/pull/9

This pull request solves all the issues that i brought up