apply plugin: 'com.android.library'

android {
    compileSdkVersion 24
    buildToolsVersion "24.0.2"

    defaultConfig {
        minSdkVersion 14
        targetSdkVersion 24
        versionCode 1
        versionName "1.0.0"

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

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

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:24.2.1'
    testCompile 'junit:junit:4.12'
}

ext {
    bintrayRepo = 'maven'
    bintrayName = 'tingling-squares-view'

    publishedGroupId = 'com.github.ishan1604'
    libraryName = 'TinglingSquaresView'
    artifact = 'tsview'

    libraryDescription = 'A simple animated progress view for Android.'

    siteUrl = 'https://github.com/ishan1604/tinglingsquares'
    gitUrl = 'https://github.com/ishan1604/tinglingsquares.git'
    githubRepository= 'ishan1604/tinglingsquares'

    libraryVersion = '1.0.0'

    developerId = 'ishan1604'
    developerName = 'Ishan Khanna'
    developerEmail = 'ishan1604@gmail.org'

    licenseName = 'The Apache Software License, Version 2.0'
    licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
    allLicenses = ["Apache-2.0"]
}

apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/installv1.gradle'
apply from: 'https://raw.githubusercontent.com/nisrulz/JCenter/master/bintrayv1.gradle'
