- new flavours added

This commit is contained in:
2020-12-01 19:22:52 +00:00
parent f6e9bf8bcb
commit 9d053bfb60
115 changed files with 3282 additions and 747 deletions

View File

@@ -12,8 +12,8 @@ android {
applicationId "com.appttude.h_mal.atlas_weather"
minSdkVersion 23
targetSdkVersion 30
versionCode 1
versionName "1.0"
versionCode 2
versionName "2.0"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
vectorDrawables.useSupportLibrary = true
@@ -36,12 +36,34 @@ android {
jvmTarget = "1.8"
}
flavorDimensions "default"
productFlavors{
atlasWeather{
applicationIdSuffix ".atlasWeather"
}
monoWeather{
applicationIdSuffix ".monoWeather"
}
}
sourceSets {
atlasWeather {
manifest {
srcFile 'src/atlasWeather/AndroidManifest.xml'
}
}
monoWeather {
manifest {
srcFile 'src/monoWeather/AndroidManifest.xml'
}
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
@@ -55,7 +77,7 @@ dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:rules:1.2.0'
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-test:1.3.71"
implementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
// android unit testing and espresso
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
@@ -76,11 +98,13 @@ dependencies {
androidTestImplementation "io.mockk:mockk-android:$mockk_ver"
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.8.1'
implementation 'com.squareup.retrofit2:converter-gson:2.8.1'
def retrofit_ver = "2.8.1"
implementation "com.squareup.retrofit2:retrofit:$retrofit_ver"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_ver"
// Shared prefs
implementation "androidx.preference:preference-ktx:1.1.1"
def prefs_ver = "1.1.1"
implementation "androidx.preference:preference-ktx:$prefs_ver"
//Kodein Dependency Injection
def kodein_version = "6.2.1"