// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.2'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
        google()
    }
    ext {
        myApplicationId = "eu.hydrologis.geopaparazzi"
        myVersionCode = 101
        myVersionName = "6.1.0"

        mycompileSdkVersion = 29
        mybuildToolsVersion = "29.0.2"
        myminSdkVersion = 21
        mytargetSdkVersion = 29

        gdxVersion = "1.9.9"
        gwtVersion = "2.8.2"
        slf4jVersion = '1.7.30'
    }
    if (JavaVersion.current().isJava8Compatible()) {
        tasks.withType(Javadoc) {
            options.addStringOption('Xdoclint:none', '-quiet')
            logging.captureStandardError LogLevel.INFO
            logging.captureStandardOutput LogLevel.INFO
        }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
