apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { compileSdkVersion rootProject.ext.compileSdkVersion buildToolsVersion rootProject.ext.buildToolsVersion defaultConfig { applicationId "com.arialyy.simple" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" multiDexEnabled true vectorDrawables.useSupportLibrary = true } signingConfigs { release { storeFile file("lyy.keystore") storePassword "123456" keyAlias "key0" keyPassword "123456" v2SigningEnabled false } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.release } } dataBinding { enabled = true } packagingOptions { exclude 'META-INF/services/javax.annotation.processing.Processor' } lintOptions { abortOnError false } // sourceSets { // main.kotlin.srcDirs += 'src/main/kotlin' // main.java.srcDirs += 'src/main/java' // } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' implementation 'androidx.cardview:cardview:1.0.0' implementation 'com.google.android.material:material:1.0.0' implementation "org.jetbrains.kotlin:kotlin-stdlib:${rootProject.ext.kotlin_version}" implementation project(':Aria') kapt project(':AriaCompiler') // api 'com.arialyy.aria:aria-core:3.6.4' // kapt 'com.arialyy.aria:aria-compiler:3.6.4' // compile 'com.arialyy.aria:aria-core:3.3.14' // annotationProcessor 'com.arialyy.aria:aria-compiler:3.3.14' api 'com.github.PhilJay:MPAndroidChart:v3.0.3' implementation project(':AppFrame') debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4' implementation 'com.github.bumptech.glide:glide:3.7.0' implementation 'com.pddstudio:highlightjs-android:1.5.0' implementation 'org.greenrobot:eventbus:3.1.1' implementation project(path: ':M3U8Component') } repositories { mavenCentral() }