mirror of
https://github.com/hmalik144/Farmr.git
synced 2026-03-18 07:25:55 +00:00
- Permissions removed (Not required - app only uses internal storage)
This commit is contained in:
@@ -9,11 +9,11 @@ def relKeyAlias = System.getenv("RELEASE_KEY_ALIAS")
|
||||
def keystorePath = System.getenv('PWD') + "/app/keystore.jks"
|
||||
def keystore = file(keystorePath).exists() ? file(keystorePath) : null
|
||||
android {
|
||||
compileSdkVersion 31
|
||||
compileSdkVersion COMPILE_SDK_VERSION
|
||||
defaultConfig {
|
||||
applicationId "com.appttude.h_mal.farmr"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 31
|
||||
minSdkVersion MIN_SDK_VERSION
|
||||
targetSdkVersion TARGET_SDK_VERSION
|
||||
versionCode 2
|
||||
versionName "2.0"
|
||||
testInstrumentationRunner 'com.appttude.h_mal.farmr.application.TestRunner'
|
||||
@@ -38,58 +38,46 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||||
implementation 'androidx.vectordrawable:vectordrawable:1.0.0'
|
||||
implementation 'androidx.core:core-ktx:1.1.0'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
|
||||
implementation 'androidx.appcompat:appcompat:1.0.0'
|
||||
implementation 'com.google.android.material:material:1.0.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||||
implementation 'androidx.fragment:fragment-ktx:1.4.0'
|
||||
implementation 'androidx.activity:activity-ktx:1.4.0'
|
||||
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
|
||||
implementation 'androidx.preference:preference:1.2.1'
|
||||
implementation 'com.ajts.androidmads.SQLite2Excel:library:1.0.2'
|
||||
implementation "androidx.legacy:legacy-support-v4:$LEGACY_SUPPORT_VERSION"
|
||||
implementation "androidx.vectordrawable:vectordrawable:$VECTOR_DRAW_VERSION"
|
||||
implementation "androidx.core:core-ktx:$CORE_KTX_VERSION"
|
||||
implementation "androidx.appcompat:appcompat:$MATERIAL_VERSION"
|
||||
implementation "com.google.android.material:material:$MATERIAL_VERSION"
|
||||
implementation "androidx.constraintlayout:constraintlayout:$CONSTR_LAYOUT_VERSION"
|
||||
implementation "androidx.fragment:fragment-ktx:$VIEW_KTX_VERSION"
|
||||
implementation "androidx.activity:activity-ktx:$VIEW_KTX_VERSION"
|
||||
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$VIEWMODEL_VERSION"
|
||||
implementation "androidx.preference:preference:$PREFERENCES_VERSION"
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION"
|
||||
/ * Unit testing * /
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
androidTestImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
|
||||
implementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
|
||||
androidTestImplementation 'androidx.test:core-ktx:1.4.0'
|
||||
androidTestImplementation 'androidx.test:rules:1.4.0'
|
||||
testImplementation "junit:junit:$JUNIT_VERSION"
|
||||
androidTestImplementation "org.jetbrains.kotlin:kotlin-test-junit:$KOTLIN_VERSION"
|
||||
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$KOTLIN_VERSION"
|
||||
implementation "org.jetbrains.kotlin:kotlin-test:$KOTLIN_VERSION"
|
||||
androidTestImplementation "androidx.test:core-ktx:$TEST_KTX_VERSION"
|
||||
androidTestImplementation "androidx.test:rules:$TEST_KTX_VERSION"
|
||||
/ * mockito and livedata testing * /
|
||||
testImplementation 'org.mockito:mockito-inline:2.13.0'
|
||||
testImplementation 'androidx.arch.core:core-testing:2.1.0'
|
||||
testImplementation "org.mockito:mockito-inline:$MOKITO_INLINE_VERSION"
|
||||
testImplementation "androidx.arch.core:core-testing:$CORE_TEST_VERSION"
|
||||
/ * MockK * /
|
||||
def mockk_ver = "1.10.5"
|
||||
testImplementation "io.mockk:mockk:$mockk_ver"
|
||||
androidTestImplementation "io.mockk:mockk-android:$mockk_ver"
|
||||
testImplementation "io.mockk:mockk:$MOCKK_VERSION"
|
||||
androidTestImplementation "io.mockk:mockk-android:$MOCKK_VERSION"
|
||||
/ * Android Espresso * /
|
||||
def testJunitVersion = "1.1.5"
|
||||
def testRunnerVersion = "1.5.2"
|
||||
def espressoVersion = "3.5.1"
|
||||
androidTestImplementation "androidx.test.ext:junit:$testJunitVersion"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
|
||||
androidTestImplementation "androidx.test.espresso.idling:idling-concurrent:$espressoVersion"
|
||||
implementation "androidx.test.espresso:espresso-idling-resource:$espressoVersion"
|
||||
androidTestImplementation "androidx.test:runner:$testRunnerVersion"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espressoVersion"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-intents:$espressoVersion"
|
||||
androidTestImplementation "org.hamcrest:hamcrest:2.2"
|
||||
androidTestImplementation "androidx.test.ext:junit:$TEST_JUNIT_VERSION"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-core:$ESPRESSO_VERSION"
|
||||
androidTestImplementation "androidx.test.espresso.idling:idling-concurrent:$ESPRESSO_VERSION"
|
||||
implementation "androidx.test.espresso:espresso-idling-resource:$ESPRESSO_VERSION"
|
||||
androidTestImplementation "androidx.test:runner:$TEST_RUNNER_VERSION"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-contrib:$ESPRESSO_VERSION"
|
||||
androidTestImplementation "androidx.test.espresso:espresso-intents:$ESPRESSO_VERSION"
|
||||
androidTestImplementation "org.hamcrest:hamcrest:$HAMCREST_VERSION"
|
||||
/ * Room database * /
|
||||
def room_version = "2.4.3"
|
||||
implementation "androidx.room:room-runtime:$room_version"
|
||||
kapt "androidx.room:room-compiler:$room_version"
|
||||
implementation "androidx.room:room-ktx:$room_version"
|
||||
implementation "androidx.room:room-runtime:$ROOM_VERSION"
|
||||
kapt "androidx.room:room-compiler:$ROOM_VERSION"
|
||||
implementation "androidx.room:room-ktx:$ROOM_VERSION"
|
||||
/ *Kodein Dependency Injection * /
|
||||
def kodein_version = "6.2.1"
|
||||
implementation "org.kodein.di:kodein-di-generic-jvm:$kodein_version"
|
||||
implementation "org.kodein.di:kodein-di-framework-android-x:$kodein_version"
|
||||
implementation "org.kodein.di:kodein-di-generic-jvm:$KODEIN_VERSION"
|
||||
implementation "org.kodein.di:kodein-di-framework-android-x:$KODEIN_VERSION"
|
||||
/ * jxl * /
|
||||
implementation 'net.sourceforge.jexcelapi:jxl:2.6.12'
|
||||
/ * Permissions dispatcher * /
|
||||
def dispatcher_ver = "4.9.2"
|
||||
implementation "com.github.permissions-dispatcher:permissionsdispatcher:${dispatcher_ver}"
|
||||
kapt "com.github.permissions-dispatcher:permissionsdispatcher-processor:${dispatcher_ver}"
|
||||
implementation "net.sourceforge.jexcelapi:jxl:$JEXCEL_VERSION"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user