| 1234567891011121314151617181920212223242526272829303132333435363738 |
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- android {
- compileSdkVersion 30
- defaultConfig {
- minSdkVersion 24
- targetSdkVersion 30
- versionCode 1
- versionName "1.0"
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- kotlinOptions {
- jvmTarget = '1.8'
- }
- }
- dependencies {
- api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- api 'androidx.core:core-ktx:1.3.2'
- api 'androidx.appcompat:appcompat:1.3.1'
- api 'com.google.android.material:material:1.4.0'
- //工具集
- api 'com.blankj:utilcodex:1.31.0'
- }
|