Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
B
Browser White
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
Browser White
Commits
41a0a354
Commit
41a0a354
authored
Aug 16, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
76cbefae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
0 deletions
+51
-0
build.gradle.kts
app/build.gradle.kts
+20
-0
google-services.json
app/google-services.json
+29
-0
build.gradle.kts
build.gradle.kts
+2
-0
No files found.
app/build.gradle.kts
View file @
41a0a354
plugins
{
plugins
{
alias
(
libs
.
plugins
.
androidApplication
)
alias
(
libs
.
plugins
.
androidApplication
)
alias
(
libs
.
plugins
.
jetbrainsKotlinAndroid
)
alias
(
libs
.
plugins
.
jetbrainsKotlinAndroid
)
id
(
"com.google.gms.google-services"
)
id
(
"com.google.firebase.crashlytics"
)
}
}
android
{
android
{
...
@@ -33,6 +35,11 @@ android {
...
@@ -33,6 +35,11 @@ android {
isMinifyEnabled
=
true
isMinifyEnabled
=
true
isShrinkResources
=
true
isShrinkResources
=
true
proguardFiles
(
getDefaultProguardFile
(
"proguard-android-optimize.txt"
),
"proguard-rules.pro"
)
proguardFiles
(
getDefaultProguardFile
(
"proguard-android-optimize.txt"
),
"proguard-rules.pro"
)
// 设置是否要自动上传
firebaseCrashlytics
{
mappingFileUploadEnabled
=
true
}
}
}
}
}
compileOptions
{
compileOptions
{
...
@@ -47,6 +54,14 @@ android {
...
@@ -47,6 +54,14 @@ android {
buildConfig
=
true
buildConfig
=
true
}
}
}
}
gradle
.
taskGraph
.
whenReady
{
tasks
.
findByName
(
"uploadCrashlyticsMappingFile"
)
?.
enabled
=
false
// tasks.each { task ->
// if (task.name.contains("uploadCrashlyticsMappingFile")) {
// task.enabled = false
// }
// }
}
dependencies
{
dependencies
{
...
@@ -90,4 +105,9 @@ dependencies {
...
@@ -90,4 +105,9 @@ dependencies {
//facebook
//facebook
implementation
(
"com.facebook.android:facebook-android-sdk:[8,9)"
)
implementation
(
"com.facebook.android:facebook-android-sdk:[8,9)"
)
//firebase
implementation
(
platform
(
"com.google.firebase:firebase-bom:32.3.1"
))
implementation
(
"com.google.firebase:firebase-analytics"
)
implementation
(
"com.google.firebase:firebase-crashlytics"
)
}
}
\ No newline at end of file
app/google-services.json
0 → 100644
View file @
41a0a354
{
"project_info"
:
{
"project_number"
:
"658253136135"
,
"project_id"
:
"mi-broer-ivacy-34fe0"
,
"storage_bucket"
:
"gi-owser-ivacy-34fe0.appspot.com"
},
"client"
:
[
{
"client_info"
:
{
"mobilesdk_app_id"
:
"1:958255155135:android:497c4ecf6112282ae12722"
,
"android_client_info"
:
{
"package_name"
:
"com.base.browserwhite"
}
},
"oauth_client"
:
[],
"api_key"
:
[
{
"current_key"
:
"AIzaSyCgmUTWPllAZbbOrxLcw1uIpiCLkU3JfmE"
}
],
"services"
:
{
"appinvite_service"
:
{
"other_platform_oauth_client"
:
[]
}
}
}
],
"configuration_version"
:
"1"
}
\ No newline at end of file
build.gradle.kts
View file @
41a0a354
...
@@ -2,4 +2,6 @@
...
@@ -2,4 +2,6 @@
plugins
{
plugins
{
alias
(
libs
.
plugins
.
androidApplication
)
apply
false
alias
(
libs
.
plugins
.
androidApplication
)
apply
false
alias
(
libs
.
plugins
.
jetbrainsKotlinAndroid
)
apply
false
alias
(
libs
.
plugins
.
jetbrainsKotlinAndroid
)
apply
false
id
(
"com.google.gms.google-services"
)
version
"4.4.1"
apply
false
id
(
"com.google.firebase.crashlytics"
)
version
"3.0.2"
apply
false
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment