1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- apply plugin: 'com.android.library'
- apply plugin: 'com.jakewharton.butterknife'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'kotlin-kapt'
- android {
- compileSdkVersion build_versions.target_sdk
- defaultConfig {
- minSdkVersion build_versions.min_sdk
- targetSdkVersion build_versions.target_sdk
- versionCode 1
- versionName "1.0"
- javaCompileOptions {
- annotationProcessorOptions {
- arguments = [AROUTER_MODULE_NAME: project.getName()]
- }
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- sourceSets {
- main {
- if (isModule.toBoolean()) {
- manifest.srcFile 'src/main/module/AndroidManifest.xml'
- } else {
- manifest.srcFile 'src/main/AndroidManifest.xml'
- //集成开发模式下排除debug文件夹中的所有Java文件
- java {
- exclude 'debug/**'
- }
- }
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['jniLibs']
- }
- }
- buildFeatures {
- viewBinding = true
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar'])
- implementation deps.constraint_layout
- api deps.wechat_sdk
- implementation project(':uchat_common')
- annotationProcessor deps.arouter_compiler
- kapt deps.arouter_compiler
- annotationProcessor deps.butterknife_annotationProcessor
- kapt deps.butterknife_annotationProcessor
- // 创蓝一键登陆
- //shanyan_sdk_v2.2.1.1.aar
- implementation(name: 'shanyan_sdk_v2.3.1.4', ext: 'aar')
- }
|