ext {
    plugins = [application: 'com.android.application',
               library    : 'com.android.library',
               maven      : 'com.github.dcendents.android-maven',
               bintray    : 'com.jfrog.bintray']

    android = [applicationId    : "com.yanzhenjie.permission.sample",
               compileSdkVersion: 29,
               buildToolsVersion: "29.0.2",
               minSdkVersion    : 14,
               targetSdkVersion : 29,
               versionCode      : 108,
               versionName      : "2.0.3"]

    bintray = [version       : "2.0.3",

               siteUrl       : 'https://github.com/yanzhenjie/AndPermission',
               gitUrl        : 'https://github.com/yanzhenjie/AndPermission.git',

               group         : "com.yanzhenjie",

               packaging     : 'aar',
               name          : 'Permission',
               description   : 'Permission manager for Android',

               licenseName   : 'The Apache Software License, Version 2.0',
               licenseUrl    : 'http://www.apache.org/licenses/LICENSE-2.0.txt',

               developerId   : 'yanzhenjie',
               developerName : 'yanzhenjie',
               developerEmail: 'im.yanzhenjie@gmail.com',

               binrayLibrary : "permission",
               bintrayRepo   : "maven",
               bintrayUser   : 'yolanda',
               bintrayLicense: "Apache-2.0"]

    dependencies = [
        fragment: 'com.android.support:appcompat-v7:28.0.0'
    ]
}