apply plugin: 'com.android.application' android { compileSdkVersion 29 buildToolsVersion "29.0.1" flavorDimensions "default" compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { applicationId "io.lbry.browser" minSdkVersion 21 targetSdkVersion 29 versionCode 1500 versionName "0.15.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } productFlavors { __32bit { versionCode android.defaultConfig.versionCode * 10 + 1 ndk { abiFilter "armeabi-v7a" } } __64bit { versionCode android.defaultConfig.versionCode * 10 + 2 ndk { abiFilter "arm64-v8a" } } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } task printVersionName { doLast { println android.defaultConfig.versionName } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'com.google.android.material:material:1.1.0' implementation "androidx.cardview:cardview:1.0.0" implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation 'androidx.navigation:navigation-fragment:2.2.2' implementation 'androidx.navigation:navigation-ui:2.2.2' implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0' implementation 'androidx.preference:preference:1.1.1' implementation 'com.github.bumptech.glide:glide:4.11.0' implementation 'com.squareup.okhttp3:okhttp:4.4.1' implementation 'com.google.firebase:firebase-analytics:17.4.0' implementation 'com.google.android.gms:play-services-base:17.2.1' implementation 'com.google.firebase:firebase-messaging:20.1.6' implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.google.android.exoplayer:exoplayer-core:2.11.4' implementation 'com.google.android.exoplayer:exoplayer-dash:2.11.4' implementation 'com.google.android.exoplayer:exoplayer-ui:2.11.4' implementation 'com.google.android.exoplayer:extension-cast:2.11.4' implementation 'com.google.android:flexbox:2.0.1' compileOnly 'org.projectlombok:lombok:1.18.10' annotationProcessor 'org.projectlombok:lombok:1.18.10' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' __32bitImplementation files('libs/lbrysdk-0.71.0-release__arm.aar') __64bitImplementation files('libs/lbrysdk-0.71.0-release__arm64.aar') } apply plugin: 'com.google.gms.google-services' com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true