123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- apply plugin: 'com.android.library'
- apply plugin: 'com.github.dcendents.android-maven'
- apply plugin: "com.jfrog.bintray"
- version = "1.2.1"
- android {
- compileSdkVersion rootProject.ext.android.compileSdkVersion
- buildToolsVersion rootProject.ext.android.buildToolsVersion
- defaultConfig {
- minSdkVersion rootProject.ext.android.minSdkVersion
- targetSdkVersion rootProject.ext.android.targetSdkVersion
- versionCode rootProject.ext.android.versionCode
- versionName rootProject.ext.android.versionName
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- api fileTree(dir: 'libs', include: ['*.jar'])
- }
- //def siteUrl = 'https://github.com/Cloudist/ACProgressLite'
- //def gitUrl = 'https://github.com/Cloudist/ACProgressLite.git'
- //group = "cc.cloudist.acplibrary"
- //install {
- // repositories.mavenInstaller {
- // // This generates POM.xml with proper parameters
- // pom {
- // project {
- // packaging 'aar'
- // // Add your description here
- // name 'Android ACProgressLite Widget Library'
- // url siteUrl
- // // Set your license
- // licenses { // 许可类型,后面也有
- // license {
- // name 'The MIT License'
- // url 'http://mit-license.org'
- // }
- // }
- // developers {
- // developer {
- // id 'cloudist'
- // name 'cloudist'
- // email 'd@cloudist.cc'
- // }
- // }
- // scm {
- // connection gitUrl
- // developerConnection gitUrl
- // url siteUrl
- // }
- // }
- // }
- // }
- //}
- //
- //task sourcesJar(type: Jar) {
- // from android.sourceSets.main.java.srcDirs
- // classifier = 'sources'
- //}
- //
- //task javadoc(type: Javadoc) {
- // source = android.sourceSets.main.java.srcDirs
- // classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
- //}
- //
- //task javadocJar(type: Jar, dependsOn: javadoc) {
- // classifier = 'javadoc'
- // from javadoc.destinationDir
- //}
- //
- //artifacts {
- // archives javadocJar
- // archives sourcesJar
- //}
- //
- //Properties properties = new Properties()
- //properties.load(project.rootProject.file('local.properties').newDataInputStream())
- //
- //bintray {
- // user = properties.getProperty("bintray.user")
- // key = properties.getProperty("bintray.apikey")
- // configurations = ['archives']
- // pkg {
- // repo = "maven"
- // name = "ACProgressLite"
- // websiteUrl = siteUrl
- // vcsUrl = gitUrl
- // licenses = ["MIT"]
- // publish = true
- // }
- //}
|