mirror of
https://github.com/leaf-wai/StackLayoutManager.git
synced 2026-03-19 19:02:52 +08:00
54 lines
1.4 KiB
Groovy
54 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'com.novoda.bintray-release'
|
|
|
|
android {
|
|
compileSdkVersion 27
|
|
|
|
defaultConfig {
|
|
minSdkVersion 14
|
|
targetSdkVersion 27
|
|
versionCode 6
|
|
versionName "1.0.5"
|
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs += 'src/main/kotlin'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation 'com.android.support:recyclerview-v7:27.1.1'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
tasks.withType(Javadoc) {
|
|
options{ encoding "UTF-8"
|
|
charSet 'UTF-8'
|
|
links "http://docs.oracle.com/javase/7/docs/api"
|
|
}
|
|
}
|
|
}
|
|
|
|
publish{
|
|
userOrg = 'jinliancheng120'
|
|
groupId = 'com.littlemango'
|
|
artifactId = 'stacklayoutmanager'
|
|
publishVersion = '1.0.5'
|
|
desc = 'A RecyclerView.LayoutManager implementation which provides functionality to show a group of stack view.'
|
|
website = 'https://github.com/LittleMango/StackLayoutManager'
|
|
licences = ['MIT']
|
|
}
|