plugins { id 'com.android.library' } android { compileSdkVersion androidCompileSdkVersion buildToolsVersion androidBuildToolsVersion defaultConfig { minSdkVersion androidMinSdkVersion targetSdkVersion androidTargetSdkVersion versionCode 1 versionName "1.0" consumerProguardFiles "consumer-rules.pro" javaCompileOptions { annotationProcessorOptions { arguments = [AROUTER_MODULE_NAME: 'interactiveLive'] } } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation externalAndroidDesign implementation externalSimpleZXing implementation externalARouter annotationProcessor externalARouterCompiler // Add a downgraded version of the player sdk for the live project single build. if ("true".equalsIgnoreCase(allInOne)) { implementation externalPlayerFull } else { implementation externalPlayerFullDowngrade } implementation project(':LiveInteractive:live_interactive_common') }