Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
6
600SeriesAndroidUploader
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cgm
uploader
600SeriesAndroidUploader
Commits
9e6ac76c
Commit
9e6ac76c
authored
7 years ago
by
Lennart Goedhart
Browse files
Options
Downloads
Patches
Plain Diff
- Make signing optional
- Enable smaller builds on release
parent
a89be295
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/build.gradle
+4
-12
4 additions, 12 deletions
app/build.gradle
app/proguard-rules.txt
+12
-0
12 additions, 0 deletions
app/proguard-rules.txt
app/signing.gradle
+20
-0
20 additions, 0 deletions
app/signing.gradle
with
36 additions
and
12 deletions
app/build.gradle
+
4
−
12
View file @
9e6ac76c
...
...
@@ -74,21 +74,11 @@ android {
buildConfigField
"String"
,
"BUGFENDER_API_KEY"
,
getBugfenderApiKey
()
}
signingConfigs
{
release
{
storeFile
file
(
RELEASE_STORE_FILE
)
storePassword
RELEASE_STORE_PASSWORD
keyAlias
RELEASE_KEY_ALIAS
keyPassword
RELEASE_KEY_PASSWORD
}
}
buildTypes
{
release
{
minifyEnabled
fals
e
minifyEnabled
tru
e
zipAlignEnabled
true
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.txt'
signingConfig
signingConfigs
.
release
}
}
...
...
@@ -138,4 +128,6 @@ dependencies {
transitive
=
true
}
compile
'com.github.javiersantos:AppUpdater:2.6.1'
}
\ No newline at end of file
}
apply
from:
"signing.gradle"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app/proguard-rules.txt
0 → 100644
+
12
−
0
View file @
9e6ac76c
-dontobfuscate
-verbose
-dump class_files.txt
-printseeds seeds.txt
-printusage unused.txt
-keepattributes *Annotation*
-keepattributes SourceFile,LineNumberTable
-dontwarn okio.**
-dontwarn org.slf4j.**
-dontwarn retrofit2.Platform$Java8
This diff is collapsed.
Click to expand it.
app/signing.gradle
0 → 100644
+
20
−
0
View file @
9e6ac76c
if
(
project
.
hasProperty
(
"RELEASE_KEY_ALIAS"
)
&&
project
.
hasProperty
(
"RELEASE_KEY_PASSWORD"
)
&&
project
.
hasProperty
(
"RELEASE_STORE_PASSWORD"
)
&&
file
(
RELEASE_STORE_FILE
).
exists
())
{
android
{
signingConfigs
{
releaseSigningConfig
{
storeFile
file
(
RELEASE_STORE_FILE
)
storePassword
RELEASE_STORE_PASSWORD
keyAlias
RELEASE_KEY_ALIAS
keyPassword
RELEASE_KEY_PASSWORD
}
}
buildTypes
{
release
{
signingConfig
signingConfigs
.
releaseSigningConfig
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment