2020-04-28 15:25:39 +02:00
|
|
|
apply plugin: 'com.android.application'
|
2020-02-27 19:20:06 +01:00
|
|
|
|
|
|
|
android {
|
2020-04-28 15:25:39 +02:00
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.1"
|
2020-02-27 19:20:06 +01:00
|
|
|
flavorDimensions "default"
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "io.lbry.browser"
|
2020-04-28 15:25:39 +02:00
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 29
|
2020-05-18 04:34:31 +02:00
|
|
|
versionCode 1502
|
|
|
|
versionName "0.15.2"
|
2020-04-28 15:25:39 +02:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2020-02-27 19:20:06 +01:00
|
|
|
}
|
2020-04-28 15:25:39 +02:00
|
|
|
|
2020-02-27 19:20:06 +01:00
|
|
|
productFlavors {
|
|
|
|
__32bit {
|
2020-03-03 16:48:22 +01:00
|
|
|
versionCode android.defaultConfig.versionCode * 10 + 1
|
2020-02-27 19:20:06 +01:00
|
|
|
ndk {
|
|
|
|
abiFilter "armeabi-v7a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
__64bit {
|
2020-03-03 16:48:22 +01:00
|
|
|
versionCode android.defaultConfig.versionCode * 10 + 2
|
2020-02-27 19:20:06 +01:00
|
|
|
ndk {
|
|
|
|
abiFilter "arm64-v8a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-28 15:25:39 +02:00
|
|
|
|
2020-02-27 19:20:06 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2020-04-28 15:25:39 +02:00
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
2020-02-27 19:20:06 +01:00
|
|
|
}
|
|
|
|
}
|
2020-04-28 15:34:50 +02:00
|
|
|
}
|
2020-04-28 15:25:39 +02:00
|
|
|
|
2020-04-28 15:34:50 +02:00
|
|
|
task printVersionName {
|
|
|
|
doLast {
|
|
|
|
println android.defaultConfig.versionName
|
|
|
|
}
|
2020-02-27 19:20:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-04-28 15:25:39 +02:00
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
2020-02-27 19:20:06 +01:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2020-04-28 15:25:39 +02:00
|
|
|
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'
|
2020-05-19 16:56:24 +02:00
|
|
|
implementation 'androidx.camera:camera-camera2:1.0.0-beta03'
|
|
|
|
implementation 'androidx.camera:camera-lifecycle:1.0.0-beta03'
|
|
|
|
implementation 'androidx.camera:camera-view:1.0.0-alpha10'
|
|
|
|
|
2020-04-28 15:25:39 +02:00
|
|
|
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'
|
|
|
|
|
2020-05-11 00:11:48 +02:00
|
|
|
implementation 'com.hbb20:ccp:2.3.8'
|
|
|
|
|
2020-05-14 02:59:29 +02:00
|
|
|
implementation 'com.github.chrisbanes:PhotoView:2.3.0'
|
2020-05-14 04:36:46 +02:00
|
|
|
implementation 'com.atlassian.commonmark:commonmark:0.14.0'
|
2020-05-14 02:59:29 +02:00
|
|
|
|
2020-05-18 23:17:53 +02:00
|
|
|
implementation 'com.arthenica:mobile-ffmpeg-full:4.3.1.LTS'
|
|
|
|
|
2020-04-28 15:25:39 +02:00
|
|
|
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'
|
2020-02-27 19:20:06 +01:00
|
|
|
|
2020-05-19 16:56:24 +02:00
|
|
|
__32bitImplementation files('libs/lbrysdk-0.74.0-release__arm.aar')
|
|
|
|
__64bitImplementation files('libs/lbrysdk-0.74.0-release__arm64.aar')
|
2020-02-27 19:20:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'com.google.gms.google-services'
|
|
|
|
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
|