-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Huawei AppGallery * Huawei AppGallery * Huawei AppGallery * Huawei AppGallery * Huawei AppGallery * Huawei AppGallery * Huawei AppGallery * Huawei AppGallery * Huawei AppGallery * Huawei AppGallery
- Loading branch information
1 parent
124cb23
commit 209ef7f
Showing
98 changed files
with
996 additions
and
474 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import com.google.firebase.appdistribution.gradle.AppDistributionExtension | ||
import java.io.FileInputStream | ||
import org.apache.commons.io.output.ByteArrayOutputStream | ||
import org.jetbrains.kotlin.konan.properties.Properties | ||
|
@@ -7,9 +8,6 @@ plugins { | |
alias(libs.plugins.application) | ||
alias(libs.plugins.kotlin) | ||
alias(libs.plugins.androidx.navigation.safeargs) | ||
alias(libs.plugins.google.services) | ||
alias(libs.plugins.firebase.appdistribution) | ||
alias(libs.plugins.firebase.crashlytics) | ||
alias(libs.plugins.palantir.git) | ||
id("movies-android-hilt") | ||
} | ||
|
@@ -47,6 +45,7 @@ afterEvaluate { | |
|
||
android { | ||
namespace = "org.michaelbel.movies.app" | ||
flavorDimensions += "version" | ||
|
||
defaultConfig { | ||
applicationId = "org.michaelbel.moviemade" | ||
|
@@ -98,14 +97,14 @@ android { | |
"okhttp3.pro", | ||
"coroutines.pro" | ||
) | ||
firebaseAppDistribution { | ||
/*firebaseAppDistribution { | ||
appId = "1:770317857182:android:876190afbc53df31" | ||
artifactType = "APK" | ||
testers = "[email protected]" | ||
groups = "qa" | ||
//releaseNotesFile="$rootProject.rootDir/releaseNotes.txt" | ||
//serviceCredentialsFile = "$rootDir/config/firebase-app-distribution.json" | ||
} | ||
}*/ | ||
} | ||
debug { | ||
isDebuggable = true | ||
|
@@ -130,6 +129,17 @@ android { | |
compose = true | ||
} | ||
|
||
productFlavors { | ||
create("gms") { | ||
dimension = "version" | ||
applicationId = "org.michaelbel.moviemade" | ||
} | ||
create("hms") { | ||
dimension = "version" | ||
applicationId = "org.michaelbel.movies" | ||
} | ||
} | ||
|
||
dynamicFeatures += setOf(":instant") | ||
|
||
composeOptions { | ||
|
@@ -150,12 +160,17 @@ android { | |
} | ||
} | ||
|
||
val gmsImplementation: Configuration by configurations | ||
val hmsImplementation: Configuration by configurations | ||
dependencies { | ||
gmsImplementation(project(":core:platform-services:gms")) | ||
hmsImplementation(project(":core:platform-services:hms")) | ||
|
||
implementation(project(":core:analytics")) | ||
implementation(project(":core:common")) | ||
implementation(project(":core:interactor")) | ||
implementation(project(":core:navigation")) | ||
implementation(project(":core:notifications")) | ||
implementation(project(":core:platform-services:interactor")) | ||
implementation(project(":core:ui")) | ||
implementation(project(":core:work")) | ||
implementation(project(":feature:auth")) | ||
|
@@ -173,4 +188,23 @@ dependencies { | |
androidTestImplementation(libs.androidx.benchmark.junit) | ||
|
||
lintChecks(libs.lint.checks) | ||
} | ||
|
||
val hasGmsDebug: Boolean = gradle.startParameter.taskNames.any { it.contains("GmsDebug", ignoreCase = true) } | ||
val hasGmsRelease: Boolean = gradle.startParameter.taskNames.any { it.contains("GmsRelease", ignoreCase = true) } | ||
val hasGmsBenchmark: Boolean = gradle.startParameter.taskNames.any { it.contains("GmsBenchmark", ignoreCase = true) } | ||
|
||
if (hasGmsDebug || hasGmsRelease || hasGmsBenchmark) { | ||
apply(plugin = libs.plugins.google.services.get().pluginId) | ||
apply(plugin = libs.plugins.firebase.crashlytics.get().pluginId) | ||
apply(plugin = libs.plugins.firebase.appdistribution.get().pluginId) | ||
} | ||
|
||
if (hasGmsRelease) { | ||
configure<AppDistributionExtension> { | ||
appId = "1:770317857182:android:876190afbc53df31" | ||
artifactType = "APK" | ||
testers = "[email protected]" | ||
groups = "qa" | ||
} | ||
} |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "770317857182", | ||
"firebase_url": "https://fir-moviemade.firebaseio.com", | ||
"project_id": "firebase-moviemade", | ||
"storage_bucket": "firebase-moviemade.appspot.com" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:770317857182:android:876190afbc53df31", | ||
"android_client_info": { | ||
"package_name": "org.michaelbel.moviemade" | ||
} | ||
}, | ||
"oauth_client": [ | ||
{ | ||
"client_id": "770317857182-ra2roi7lhsd8vl4mbk8kdbdvdgfnmpfg.apps.googleusercontent.com", | ||
"client_type": 1, | ||
"android_info": { | ||
"package_name": "org.michaelbel.moviemade", | ||
"certificate_hash": "13b59c3892a3fb6ffd9627bd660de5f51f7327c0" | ||
} | ||
}, | ||
{ | ||
"client_id": "770317857182-4jq65b5vb04ocgdo2pveiua7b64lp2mn.apps.googleusercontent.com", | ||
"client_type": 1, | ||
"android_info": { | ||
"package_name": "org.michaelbel.moviemade", | ||
"certificate_hash": "b861ce301449dcac09e522caa68deef9467cc702" | ||
} | ||
}, | ||
{ | ||
"client_id": "770317857182-v9pds8nn803n26p5ta3r4i949vkciqv9.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyC1Th1aOV2nV88wuyzm2GtxItVfTvAIh8U" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [ | ||
{ | ||
"client_id": "770317857182-v9pds8nn803n26p5ta3r4i949vkciqv9.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
] | ||
} | ||
}, | ||
"admob_app_id": "ca-app-pub-3651393080934289~1447245983" | ||
}, | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:770317857182:android:df63120ae349fa2f", | ||
"android_client_info": { | ||
"package_name": "org.michaelbel.moviemade.beta" | ||
} | ||
}, | ||
"oauth_client": [ | ||
{ | ||
"client_id": "770317857182-09e8on7fl9s2phnnulblfg5e0h06gre2.apps.googleusercontent.com", | ||
"client_type": 1, | ||
"android_info": { | ||
"package_name": "org.michaelbel.moviemade.beta", | ||
"certificate_hash": "b861ce301449dcac09e522caa68deef9467cc702" | ||
} | ||
}, | ||
{ | ||
"client_id": "770317857182-v9pds8nn803n26p5ta3r4i949vkciqv9.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyC1Th1aOV2nV88wuyzm2GtxItVfTvAIh8U" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [ | ||
{ | ||
"client_id": "770317857182-v9pds8nn803n26p5ta3r4i949vkciqv9.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"project_info": { | ||
"project_number": "770317857182", | ||
"firebase_url": "https://fir-moviemade.firebaseio.com", | ||
"project_id": "firebase-moviemade", | ||
"storage_bucket": "firebase-moviemade.appspot.com" | ||
}, | ||
"client": [ | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:770317857182:android:876190afbc53df31", | ||
"android_client_info": { | ||
"package_name": "org.michaelbel.moviemade" | ||
} | ||
}, | ||
"oauth_client": [ | ||
{ | ||
"client_id": "770317857182-ra2roi7lhsd8vl4mbk8kdbdvdgfnmpfg.apps.googleusercontent.com", | ||
"client_type": 1, | ||
"android_info": { | ||
"package_name": "org.michaelbel.moviemade", | ||
"certificate_hash": "13b59c3892a3fb6ffd9627bd660de5f51f7327c0" | ||
} | ||
}, | ||
{ | ||
"client_id": "770317857182-4jq65b5vb04ocgdo2pveiua7b64lp2mn.apps.googleusercontent.com", | ||
"client_type": 1, | ||
"android_info": { | ||
"package_name": "org.michaelbel.moviemade", | ||
"certificate_hash": "b861ce301449dcac09e522caa68deef9467cc702" | ||
} | ||
}, | ||
{ | ||
"client_id": "770317857182-v9pds8nn803n26p5ta3r4i949vkciqv9.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyC1Th1aOV2nV88wuyzm2GtxItVfTvAIh8U" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [ | ||
{ | ||
"client_id": "770317857182-v9pds8nn803n26p5ta3r4i949vkciqv9.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
] | ||
} | ||
}, | ||
"admob_app_id": "ca-app-pub-3651393080934289~1447245983" | ||
}, | ||
{ | ||
"client_info": { | ||
"mobilesdk_app_id": "1:770317857182:android:df63120ae349fa2f", | ||
"android_client_info": { | ||
"package_name": "org.michaelbel.moviemade.beta" | ||
} | ||
}, | ||
"oauth_client": [ | ||
{ | ||
"client_id": "770317857182-09e8on7fl9s2phnnulblfg5e0h06gre2.apps.googleusercontent.com", | ||
"client_type": 1, | ||
"android_info": { | ||
"package_name": "org.michaelbel.moviemade.beta", | ||
"certificate_hash": "b861ce301449dcac09e522caa68deef9467cc702" | ||
} | ||
}, | ||
{ | ||
"client_id": "770317857182-v9pds8nn803n26p5ta3r4i949vkciqv9.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
], | ||
"api_key": [ | ||
{ | ||
"current_key": "AIzaSyC1Th1aOV2nV88wuyzm2GtxItVfTvAIh8U" | ||
} | ||
], | ||
"services": { | ||
"appinvite_service": { | ||
"other_platform_oauth_client": [ | ||
{ | ||
"client_id": "770317857182-v9pds8nn803n26p5ta3r4i949vkciqv9.apps.googleusercontent.com", | ||
"client_type": 3 | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
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
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
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
Binary file not shown.
Oops, something went wrong.