mirror of
https://github.com/AdrianKuta/Expandable-RecyclerView.git
synced 2025-07-02 23:37:59 +02:00
Expandable ReyclerView module
This commit is contained in:
51
expandable-recyclerview/build.gradle
Normal file
51
expandable-recyclerview/build.gradle
Normal file
@ -0,0 +1,51 @@
|
||||
apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
afterEvaluate {
|
||||
generateReleaseBuildConfig.enabled = false
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 29
|
||||
buildToolsVersion "29.0.2"
|
||||
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 29
|
||||
versionCode 1
|
||||
versionName "0.0.1-alpha01"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles 'consumer-rules.pro'
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
||||
implementation 'androidx.appcompat:appcompat:1.1.0'
|
||||
implementation 'androidx.core:core-ktx:1.1.0'
|
||||
implementation "androidx.recyclerview:recyclerview:1.1.0"
|
||||
implementation "com.github.adriankuta:tree-structure:1.1.0"
|
||||
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||||
}
|
||||
|
||||
ext {
|
||||
PUBLISH_GROUP_ID = 'com.github.adriankuta'
|
||||
PUBLISH_ARTIFACT_ID = 'expandable-recyclerView'
|
||||
PUBLISH_VERSION = android.defaultConfig.versionName
|
||||
}
|
||||
|
||||
apply from: "${rootProject.projectDir}/scripts/publish-mavencentral.gradle"
|
Reference in New Issue
Block a user