Last active
September 15, 2022 09:43
-
-
Save zilmarinen/b598990bfd96c32ed814fca6c4f2f865 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'com.android.application' | |
id 'kotlin-android' | |
id 'kotlin-parcelize' | |
id 'kotlin-kapt' | |
id 'realm-android' | |
id 'dagger.hilt.android.plugin' | |
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' | |
} | |
android { | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
compileSdkVersion 31 | |
buildToolsVersion "30.0.3" | |
configurations.all { | |
resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.2' | |
} | |
defaultConfig { | |
applicationId "com.application.id" | |
minSdkVersion 23 | |
targetSdkVersion 31 | |
versionCode 1 | |
versionName "local" | |
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' | |
} | |
secrets { | |
propertiesFileName 'secrets.properties' | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |
} | |
} | |
flavorDimensions "environment" | |
productFlavors { | |
development { | |
dimension "environment" | |
applicationIdSuffix ".development" | |
} | |
qa { | |
dimension "environment" | |
applicationIdSuffix ".qa" | |
} | |
uat { | |
dimension "environment" | |
applicationIdSuffix ".uat" | |
} | |
live { | |
dimension "environment" | |
applicationIdSuffix ".live" | |
} | |
playstore { | |
dimension "environment" | |
applicationIdSuffix ".playstore" | |
} | |
} | |
} | |
dependencies { | |
implementation fileTree(dir: 'libs', include: ['*.jar']) | |
implementation "io.realm:android-adapters:3.1.0" | |
implementation 'androidx.cardview:cardview:1.0.0' | |
implementation 'com.google.android.material:material:1.5.0' | |
implementation 'androidx.recyclerview:recyclerview:1.2.1' | |
implementation 'androidx.legacy:legacy-support-v4:1.0.0' | |
implementation 'androidx.appcompat:appcompat:1.4.1' | |
implementation 'androidx.constraintlayout:constraintlayout:2.1.3' | |
implementation 'androidx.recyclerview:recyclerview-selection:1.1.0' | |
def lifecycle_version = "2.4.1" | |
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version" | |
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version" | |
def retrofitVersionNumber = "2.9.0" | |
implementation "com.squareup.retrofit2:retrofit:${retrofitVersionNumber}" | |
implementation "com.squareup.retrofit2:converter-moshi:${retrofitVersionNumber}" | |
def eventbusVersionNumber = "3.0.0" | |
implementation "org.greenrobot:eventbus:${eventbusVersionNumber}" | |
def priorityJobQueueVersionNumber = "2.0.0" | |
implementation "com.birbit:android-priority-jobqueue:${priorityJobQueueVersionNumber}" | |
def butterknifeVersionNumber = "8.0.1" | |
implementation "com.jakewharton:butterknife:${butterknifeVersionNumber}" | |
kapt "com.jakewharton:butterknife-compiler:${butterknifeVersionNumber}" | |
def materialDialogsVersionNumber = "0.9.6.0" | |
implementation "com.afollestad.material-dialogs:core:${materialDialogsVersionNumber}" | |
implementation "com.afollestad.material-dialogs:commons:${materialDialogsVersionNumber}" | |
def stethoVersionNumber = "1.5.0" | |
implementation "com.facebook.stetho:stetho:${stethoVersionNumber}" | |
implementation "com.facebook.stetho:stetho-okhttp3:${stethoVersionNumber}" | |
def permissionsDespatcherVersionNumber = "2.2.0" | |
implementation "com.github.hotchemi:permissionsdispatcher:${permissionsDespatcherVersionNumber}" | |
kapt "com.github.hotchemi:permissionsdispatcher-processor:${permissionsDespatcherVersionNumber}" | |
def appCenterSdkVersion = "4.1.1" | |
implementation "com.microsoft.appcenter:appcenter-analytics:${appCenterSdkVersion}" | |
implementation "com.microsoft.appcenter:appcenter-crashes:${appCenterSdkVersion}" | |
implementation 'com.bugfender.sdk:android:3.0.8' | |
implementation 'com.google.android.flexbox:flexbox:3.0.0' | |
implementation 'com.jakewharton.timber:timber:4.7.1' | |
implementation 'com.jonathanfinerty.once:once:1.3.1' | |
implementation 'com.squareup.picasso:picasso:2.71828' | |
implementation 'org.apache.commons:commons-collections4:4.0' | |
implementation 'com.luckycatlabs:SunriseSunsetCalculator:1.2' | |
def hilt_version = "2.38.1" | |
implementation "com.google.dagger:hilt-android:$hilt_version" | |
kapt "com.google.dagger:hilt-compiler:$hilt_version" | |
androidTestImplementation 'junit:junit:4.13.2' | |
androidTestImplementation 'org.assertj:assertj-core:2.5.0' | |
androidTestImplementation 'org.mockito:mockito-core:3.7.0' | |
androidTestImplementation 'com.google.dexmaker:dexmaker:1.2' | |
androidTestImplementation 'com.google.dexmaker:dexmaker-mockito:1.2' | |
androidTestImplementation('androidx.test.espresso:espresso-core:3.4.0') { | |
exclude module: 'support-annotations' | |
exclude module: 'support-v4' | |
exclude module: 'support-v13' | |
exclude module: 'recyclerview-v7' | |
exclude module: 'appcompat-v7' | |
exclude module: 'design' | |
} | |
androidTestImplementation('androidx.test.espresso:espresso-intents:3.4.0') { | |
exclude module: 'support-annotations' | |
exclude module: 'support-v4' | |
exclude module: 'support-v13' | |
exclude module: 'recyclerview-v7' | |
exclude module: 'appcompat-v7' | |
exclude module: 'design' | |
} | |
androidTestImplementation('androidx.test.espresso:espresso-idling-resource:3.4.0') { | |
exclude module: 'support-annotations' | |
exclude module: 'support-v4' | |
exclude module: 'support-v13' | |
exclude module: 'recyclerview-v7' | |
exclude module: 'appcompat-v7' | |
exclude module: 'design' | |
} | |
androidTestImplementation('androidx.test.ext:junit:1.1.3') { | |
exclude module: 'support-annotations' | |
exclude module: 'support-v4' | |
exclude module: 'support-v13' | |
exclude module: 'recyclerview-v7' | |
exclude module: 'appcompat-v7' | |
exclude module: 'design' | |
} | |
androidTestImplementation('androidx.test.espresso:espresso-contrib:3.4.0') { | |
exclude module: 'support-annotations' | |
exclude module: 'support-v4' | |
exclude module: 'support-v13' | |
exclude module: 'recyclerview-v7' | |
exclude module: 'appcompat-v7' | |
exclude module: 'design' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment