31 lines
757 B
Groovy
31 lines
757 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
|
|
defaultConfig {
|
|
minSdkVersion 28
|
|
targetSdkVersion 33
|
|
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
namespace 'com.angcyo.tablayout.delegate2'
|
|
|
|
}
|
|
|
|
dependencies {
|
|
//https://github.com/angcyo/DslTabLayout
|
|
implementation project(':TabLayout')
|
|
//https://mvnrepository.com/artifact/androidx.viewpager2/viewpager2
|
|
implementation 'androidx.viewpager2:viewpager2:1.0.0'
|
|
}
|
|
|
|
//apply from: "$gradleHost/master/publish.gradle" |