mirror of
https://github.com/hmalik144/Farmr.git
synced 2026-01-31 02:41:49 +00:00
- mid commit
This commit is contained in:
@@ -2,6 +2,12 @@ apply plugin: 'com.android.application'
|
||||
apply plugin: 'org.jetbrains.kotlin.android'
|
||||
apply plugin: 'kotlin-kapt'
|
||||
|
||||
def relStorePassword = System.getenv("RELEASE_STORE_PASSWORD")
|
||||
def relKeyPassword = System.getenv("RELEASE_KEY_PASSWORD")
|
||||
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
|
||||
defaultConfig {
|
||||
@@ -13,8 +19,17 @@ android {
|
||||
testInstrumentationRunner 'com.appttude.h_mal.farmr.application.TestRunner'
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
storePassword relStorePassword
|
||||
keyPassword relKeyPassword
|
||||
keyAlias relKeyAlias
|
||||
storeFile keystore
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
signingConfig signingConfigs.release
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<provider
|
||||
android:name="androidx.core.content.FileProvider"
|
||||
android:authorities="com.appttude.h_mal.farmr.provider"
|
||||
android:authorities="${applicationId}.provider"
|
||||
android:exported="false"
|
||||
android:grantUriPermissions="true">
|
||||
<meta-data
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.appttude.h_mal.farmr.BuildConfig
|
||||
* Created by h_mal on 26/12/2017.
|
||||
*/
|
||||
object ShiftsContract {
|
||||
const val CONTENT_AUTHORITY = BuildConfig.APPLICATION_ID
|
||||
const val CONTENT_AUTHORITY = "com.appttude.h_mal.farmr"
|
||||
val BASE_CONTENT_URI = Uri.parse("content://$CONTENT_AUTHORITY")
|
||||
const val PATH_SHIFTS = "shifts"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user