49 lines
1.4 KiB
Groovy
49 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 29
|
|
buildToolsVersion '28.0.3'
|
|
|
|
defaultConfig {
|
|
minSdkVersion 15
|
|
targetSdkVersion 29
|
|
versionCode 6
|
|
versionName "1.3.0"
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
|
}
|
|
|
|
ext {
|
|
bintrayRepo = 'maven'
|
|
bintrayName = 'refresh-recycler-view' //bintray上的项目名
|
|
|
|
publishedGroupId = 'cn.lemon'
|
|
artifact = 'RefreshRecyclerView'
|
|
libraryVersion = '1.4.1'
|
|
|
|
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' |