1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-14 02:37:30 +00:00
BarInsta/app/build.gradle

138 lines
4.5 KiB
Groovy
Raw Normal View History

2020-07-01 17:08:28 +00:00
apply plugin: 'com.android.application'
apply plugin: "androidx.navigation.safeargs"
apply from: 'sentry.gradle'
2020-07-01 17:08:28 +00:00
android {
compileSdkVersion 29
defaultConfig {
applicationId 'me.austinhuang.instagrabber'
2020-07-01 17:08:28 +00:00
minSdkVersion 21
2020-07-01 17:08:28 +00:00
targetSdkVersion 29
2021-03-17 19:34:56 +00:00
versionCode 60
versionName '19.1.0'
2020-07-01 17:08:28 +00:00
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
vectorDrawables.generatedDensities = []
2020-12-08 11:15:52 +00:00
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
}
}
2020-07-01 17:08:28 +00:00
}
compileOptions {
2020-10-17 10:07:03 +00:00
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
2020-07-01 17:08:28 +00:00
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
buildFeatures { viewBinding true }
aaptOptions { additionalParameters '--no-version-vectors' }
buildTypes {
debug {
2021-03-15 02:49:17 +00:00
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
2020-07-01 17:08:28 +00:00
release {
minifyEnabled true
2020-07-01 17:08:28 +00:00
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
flavorDimensions "repo"
productFlavors {
github {
dimension "repo"
versionNameSuffix "-github"
buildConfigField("String", "dsn", SENTRY_DSN)
}
fdroid {
dimension "repo"
versionNameSuffix "-fdroid"
}
}
}
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}
2020-07-01 17:08:28 +00:00
dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
2020-10-17 10:07:03 +00:00
2020-08-29 08:01:42 +00:00
def appcompat_version = "1.2.0"
2021-03-20 01:32:13 +00:00
def nav_version = '2.3.4'
def exoplayer_version = '2.13.2'
2020-08-29 08:01:42 +00:00
implementation 'com.google.android.material:material:1.4.0-alpha01'
2020-11-05 18:34:01 +00:00
implementation "com.google.android.exoplayer:exoplayer-core:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-dash:$exoplayer_version"
implementation "com.google.android.exoplayer:exoplayer-ui:$exoplayer_version"
2020-09-12 06:35:10 +00:00
2020-08-29 08:01:42 +00:00
implementation "androidx.appcompat:appcompat:$appcompat_version"
implementation "androidx.appcompat:appcompat-resources:$appcompat_version"
implementation "androidx.recyclerview:recyclerview:1.2.0-rc01"
2020-08-29 08:01:42 +00:00
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation "androidx.viewpager2:viewpager2:1.0.0"
implementation "androidx.navigation:navigation-fragment:$nav_version"
implementation "androidx.navigation:navigation-ui:$nav_version"
2020-11-01 06:02:54 +00:00
implementation "androidx.constraintlayout:constraintlayout:2.0.4"
2020-10-17 10:07:03 +00:00
implementation "androidx.preference:preference:1.1.1"
implementation "androidx.work:work-runtime:2.5.0"
2020-11-01 06:02:54 +00:00
implementation 'androidx.palette:palette:1.0.0'
2021-03-13 15:21:31 +00:00
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
2020-10-17 10:07:03 +00:00
implementation 'com.google.guava:guava:27.0.1-android'
// Room
def room_version = "2.2.6"
implementation "androidx.room:room-runtime:$room_version"
implementation "androidx.room:room-guava:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
// CameraX
def camerax_version = "1.1.0-alpha03"
implementation "androidx.camera:camera-camera2:$camerax_version"
implementation "androidx.camera:camera-lifecycle:$camerax_version"
implementation "androidx.camera:camera-view:1.0.0-alpha22"
// EmojiCompat
def emoji_compat_version = "1.1.0"
implementation "androidx.emoji:emoji:$emoji_compat_version"
implementation "androidx.emoji:emoji-appcompat:$emoji_compat_version"
implementation 'me.austinhuang:AutoLinkTextViewV2:-SNAPSHOT'
2020-08-29 08:01:42 +00:00
implementation 'com.facebook.fresco:fresco:2.3.0'
implementation 'com.facebook.fresco:animated-webp:2.3.0'
implementation 'com.facebook.fresco:webpsupport:2.3.0'
2020-07-01 17:08:28 +00:00
2020-08-29 08:01:42 +00:00
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'org.apache.commons:commons-imaging:1.0-alpha2'
implementation 'com.github.ammargitham:uCrop:2.3-native-beta-2'
implementation 'com.github.ammargitham:android-gpuimage:2.1.1-beta4'
2020-11-05 18:34:01 +00:00
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.6'
2020-10-17 10:07:03 +00:00
githubImplementation 'io.sentry:sentry-android:4.3.0'
2021-03-22 14:32:32 +00:00
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.1'
2020-07-01 17:08:28 +00:00
}