buildscript {
    repositories {
        google()
        jcenter()
    }
    dependencies {
        // replace with the current version of the Android plugin
        classpath "com.android.tools.build:gradle:4.1.1"
    }
}

repositories {
    google()
    mavenCentral()
    mavenLocal()
}

apply plugin: "com.android.application"

def AAVersion = "4.9.0-SNAPSHOT" // change this to your desired version, for example the latest stable: 4.8.0
dependencies {
    annotationProcessor "org.androidannotations:androidannotations:$AAVersion"
    implementation "org.androidannotations:androidannotations-api:$AAVersion"
    annotationProcessor "org.androidannotations:roboguice:$AAVersion"
    implementation "org.androidannotations:roboguice-api:$AAVersion"
    implementation "org.roboguice:roboguice:3.0.1"
}

android {
    compileSdkVersion 29

    defaultConfig {
        minSdkVersion 14
        targetSdkVersion 29

        // If you have different applicationIds for buildTypes or productFlavors uncomment this block.
        //javaCompileOptions {
        //    annotationProcessorOptions {
        //        arguments = ['resourcePackageName': android.defaultConfig.applicationId]
        //    }
        //}
    }

    lintOptions {
        abortOnError false
        // see https://github.com/roboguice/roboguice/issues/295
    }
}
