apply plugin: 'com.android.library'

android {
    compileSdkVersion 26

    defaultConfig {
        minSdkVersion 14
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

}

dependencies {

}

//apply plugin: 'maven'
//
//def groupId = 'com.eastwood.common'
//def artifactId = 'auto-inject'
//def version = '1.0.0'
//
//def localReleaseDest = "${buildDir}/release/${version}"
//
//task androidJavadocs(type: Javadoc) {
//    failOnError = false
//    source = android.sourceSets.main.java.srcDirs
//    ext.androidJar = "${android.sdkDirectory}/platforms/${android.compileSdkVersion}/android.jar"
//    classpath += files(ext.androidJar)
//}
//
//task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
//    classifier = 'javadoc'
//    from androidJavadocs.destinationDir
//}
//
//task androidSourcesJar(type: Jar) {
//    classifier = 'sources'
//    from android.sourceSets.main.java.srcDirs
//}
//
//uploadArchives {
//    repositories.mavenDeployer {
//        pom.groupId = groupId
//        pom.artifactId = artifactId
//        pom.version = version
//        // Add other pom properties here if you want (developer details / licenses)
//        repository(url: "file://${localReleaseDest}")
//    }
//}
//
//task zipRelease(type: Zip) {
//    from localReleaseDest
//    destinationDir buildDir
//    archiveName "release-${version}.zip"
//}
//
//task generateRelease {
//    doLast {
//        println "Release ${version} can be found at ${localReleaseDest}/"
//        println "Release ${version} zipped can be found ${buildDir}/release-${version}.zip"
//    }
//}
//
//generateRelease.dependsOn(uploadArchives)
//generateRelease.dependsOn(zipRelease)
//
//
//artifacts {
//    archives androidSourcesJar
//    archives androidJavadocsJar
//}
