| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- android {
- compileSdkVersion 29
- defaultConfig {
- applicationId "com.mylove.logger"
- minSdkVersion 14
- targetSdkVersion 29
- versionCode 1
- versionName "1.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
- signingConfigs {
- release {
- storeFile file('log.jks')
- storePassword "123456"
- keyAlias "log"
- keyPassword "123456"
- }
- }
- buildTypes {
- debug {
- // buildConfigField "boolean", "LOG_DEBUG", "true"
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- release {
- // buildConfigField "boolean", "LOG_DEBUG", "false"
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- signingConfig signingConfigs.release
- }
- }
- // compileOptions {
- // sourceCompatibility 1.8
- // targetCompatibility 1.8
- // }
- }
- dependencies {
- implementation fileTree(include: ['*.jar'], dir: 'libs')
- implementation 'androidx.appcompat:appcompat:1.2.0'
- testImplementation 'junit:junit:4.13'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
- implementation project(':loglib')
- implementation 'com.yanyi.benyanyi:PermissionHelper:1.1.4'
- implementation "androidx.core:core-ktx:1.3.2"
- implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.30"
- }
- repositories {
- mavenCentral()
- }
|