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
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
12 deletions
+35
-12
build.gradle
app/build.gradle
+19
-10
lint.xml
app/lint.xml
+5
-0
build.gradle
build.gradle
+10
-1
gradle.properties
gradle.properties
+1
-1
No files found.
app/build.gradle
View file @
157d8d2c
plugins
{
alias
(
libs
.
plugins
.
androidApplication
)
alias
(
libs
.
plugins
.
jetbrainsKotlinAndroid
)
id
(
"com.google.gms.google-services"
)
id
(
"com.google.firebase.crashlytics"
)
}
android
{
...
...
@@ -34,9 +36,9 @@ android {
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
signingConfig
signingConfigs
.
realse
// 设置是否要自动上传
//
firebaseCrashlytics {
//
mappingFileUploadEnabled true
//
}
firebaseCrashlytics
{
mappingFileUploadEnabled
true
}
}
}
compileOptions
{
...
...
@@ -51,15 +53,22 @@ android {
buildConfig
true
aidl
true
}
lintOptions
{
// 配置lint规则文件的路径
lintConfig
file
(
"lint.xml"
)
// 忽略lint错误
checkReleaseBuilds
false
}
}
//gradle.taskGraph.whenReady {
// tasks.each { task ->
// if (task.name.contains("uploadCrashlyticsMappingFile")) {
// task.enabled = false
// }
// }
//}
gradle
.
taskGraph
.
whenReady
{
tasks
.
each
{
task
->
if
(
task
.
name
.
contains
(
"uploadCrashlyticsMappingFile"
))
{
task
.
enabled
=
false
}
}
}
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.
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
{
alias
(
libs
.
plugins
.
androidApplication
)
apply
false
alias
(
libs
.
plugins
.
androidApplication
)
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
gradle.properties
View file @
157d8d2c
...
...
@@ -20,4 +20,4 @@ kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass
=
true
\ No newline at end of file
android.nonTransitiveRClass
=
true
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