49 lines
1.4 KiB
Groovy
49 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 26
|
|
buildToolsVersion '27.0.3'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
targetSdkVersion 26
|
|
versionCode 5
|
|
versionName "1.2.0"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'com.android.support:recyclerview-v7:26+'
|
|
}
|
|
|
|
ext {
|
|
bintrayRepo = 'maven'
|
|
bintrayName = 'refresh-recycler-view' //bintray上的项目名
|
|
|
|
publishedGroupId = 'cn.lemon'
|
|
artifact = 'RefreshRecyclerView'
|
|
libraryVersion = '1.2.0'
|
|
|
|
siteUrl = 'https://github.com/llxdaxia/RefreshRecyclerView'
|
|
gitUrl = 'https://github.com/llxdaxia/RefreshRecyclerView.git'
|
|
|
|
libraryName = 'RefreshRecyclerView' //项目名字,没什么用
|
|
libraryDescription = 'A pull refresh , push load more data for RecyclerView' //项目描述,没什么用
|
|
|
|
developerId = 'Lemon'
|
|
developerName = 'Lemon'
|
|
developerEmail = 'daxiallx@gmail.com'
|
|
|
|
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/llxdaxia/GradleScript/master/install_v1.gradle'
|
|
//apply from: 'https://raw.githubusercontent.com/llxdaxia/GradleScript/master/bintray_v1.gradle' |