Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
E
Easy File Manager
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
Easy File Manager
Commits
157d8d2c
Commit
157d8d2c
authored
Jun 17, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...
parent
7cebf40b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
11 deletions
+34
-11
build.gradle
app/build.gradle
+19
-10
lint.xml
app/lint.xml
+5
-0
build.gradle
build.gradle
+10
-1
No files found.
app/build.gradle
View file @
157d8d2c
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
{
...
@@ -34,9 +36,9 @@ android {
...
@@ -34,9 +36,9 @@ android {
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
signingConfig
signingConfigs
.
realse
signingConfig
signingConfigs
.
realse
// 设置是否要自动上传
// 设置是否要自动上传
//
firebaseCrashlytics {
firebaseCrashlytics
{
//
mappingFileUploadEnabled true
mappingFileUploadEnabled
true
//
}
}
}
}
}
}
compileOptions
{
compileOptions
{
...
@@ -51,15 +53,22 @@ android {
...
@@ -51,15 +53,22 @@ android {
buildConfig
true
buildConfig
true
aidl
true
aidl
true
}
}
lintOptions
{
// 配置lint规则文件的路径
lintConfig
file
(
"lint.xml"
)
// 忽略lint错误
checkReleaseBuilds
false
}
}
}
//gradle.taskGraph.whenReady {
// tasks.each { task ->
gradle
.
taskGraph
.
whenReady
{
// if (task.name.contains("uploadCrashlyticsMappingFile")) {
tasks
.
each
{
task
->
// task.enabled = false
if
(
task
.
name
.
contains
(
"uploadCrashlyticsMappingFile"
))
{
// }
task
.
enabled
=
false
// }
}
//}
}
}
dependencies
{
dependencies
{
...
...
app/lint.xml
0 → 100644
View file @
157d8d2c
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<!-- 配置需要忽略的lint规则 -->
<issue
id=
"KotlinApiVersion"
severity=
"ignore"
/>
</lint>
\ No newline at end of file
build.gradle
View file @
157d8d2c
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript
{
dependencies
{
// Add the dependency for the Crashlytics Gradle plugin
// classpath 'com.google.gms:google-services:4.3.15'
classpath
'com.google.firebase:firebase-crashlytics-gradle:2.9.5'
}
}
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.3.15"
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