Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
briar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Julian Dehm
briar
Commits
73c67e2e
Unverified
Commit
73c67e2e
authored
9 years ago
by
Ernir Erlingsson
Browse files
Options
Downloads
Patches
Plain Diff
tweaked proguard
parent
d340d697
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
briar-android/build.gradle
+2
-3
2 additions, 3 deletions
briar-android/build.gradle
briar-android/proguard-rules.txt
+14
-5
14 additions, 5 deletions
briar-android/proguard-rules.txt
briar-android/project.properties
+14
-0
14 additions, 0 deletions
briar-android/project.properties
with
30 additions
and
8 deletions
briar-android/build.gradle
+
2
−
3
View file @
73c67e2e
...
...
@@ -6,12 +6,11 @@ repositories {
}
dependencies
{
def
supportVersion
=
'23.1.1'
def
supportVersion
=
'23.1.1'
compile
project
(
':briar-api'
)
compile
project
(
':briar-core'
)
compile
fileTree
(
dir:
'libs'
,
include:
'*.jar'
)
compile
fileTree
(
dir:
'libs'
,
include:
'*.jar'
)
compile
"com.android.support:support-v4:$supportVersion"
compile
(
"com.android.support:appcompat-v7:$supportVersion"
)
{
exclude
module:
'support-v4'
...
...
@@ -24,7 +23,6 @@ dependencies {
exclude
module:
'preference-v7'
exclude
module:
'recyclerview-v7'
}
compile
(
"com.android.support:design:$supportVersion"
)
{
exclude
module:
'support-v4'
exclude
module:
'recyclerview-v7'
...
...
@@ -80,6 +78,7 @@ android {
buildTypes
{
debug
{
// Set this to true to run proguard in debug
minifyEnabled
true
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.txt'
}
...
...
This diff is collapsed.
Click to expand it.
briar-android/proguard-rules.txt
+
14
−
5
View file @
73c67e2e
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-dontobfuscate
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-ignorewarnings
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable,*Annotation*,Signature
# For comfortability in case we do obfuscate
#
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable,*Annotation*,Signature
, InnerClasses, EnclosingMethod
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
...
...
@@ -40,8 +40,17 @@
void *(**On*Event);
}
-keep class org.h2.** { *; }
-keep class org.briarproject.** { *; }
-keep class com.google.inject.** { *; }
-keep class javax.inject.** { *; }
-keep class javax.annotation.** { *; }
-keep class roboguice.** { *; }
\ No newline at end of file
-keep class roboguice.** { *; }
-dontwarn org.h2.**
-dontnote org.h2.**
-dontwarn net.sf.cglib.**
-dontwarn org.briarproject.plugins.tcp.**
-dontwarn roboguice.**
-dontwarn net.sourceforge.jsocks.**
-dontnote android.support.**
\ No newline at end of file
This diff is collapsed.
Click to expand it.
briar-android/project.properties
0 → 100644
+
14
−
0
View file @
73c67e2e
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-rules.txt
# Project target.
target
=
android-22
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