build.gradle.kts
author Da Risk <da_risk@geekorum.com>
Sat, 09 May 2020 00:12:24 -0400
changeset 4 9ac7ea6ba16c
parent 1 831cffa9c991
child 6 99ad8c14fec2
permissions -rw-r--r--
build: use a stable AGP gradle plugin

import com.geekorum.build.SourceLicenseCheckerPlugin
import com.geekorum.build.configureAnnotationProcessorDeps
import com.geekorum.build.setupGoogleContent

plugins {
    id("com.android.library") apply false
    kotlin("android") apply false
    kotlin("kapt") apply false
}


// some extra properties
extra["compileSdkVersion"] = "android-29"

allprojects {
    repositories {
        google().setupGoogleContent()
        jcenter()
    }
    apply<SourceLicenseCheckerPlugin>()
}

subprojects {
    group = "com.geekorum"
    version = "0.0.1"

    configureAnnotationProcessorDeps()
}

task("clean", type = Delete::class) {
    doLast {
        delete(buildDir)
    }
}