-
-
Notifications
You must be signed in to change notification settings - Fork 326
/
build.gradle
88 lines (72 loc) · 2.51 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "org.torproject.android"
minSdkVersion 16
targetSdkVersion 27
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
buildTypes {
release {
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
aaptOptions {
cruncherEnabled = false
}
flavorDimensions "free"
productFlavors {
/**
minimalperm {
dimension "free"
minSdkVersion 16
applicationId 'org.torproject.android'
targetSdkVersion 23
maxSdkVersion 23
versionCode 16000010
versionName '16.0.0-RC-2-multi-SDK16'
}**/
fullperm {
dimension "free"
minSdkVersion 16
applicationId 'org.torproject.android'
targetSdkVersion 27
versionCode 16020041
versionName '16.0.2-RC-1'
archivesBaseName = "Orbot-$versionName"
}
}
splits {
// Configures multiple APKs based on ABI. This helps keep the size down, since PT binaries can be large.
abi {
// Enables building multiple APKs per ABI.
enable true
// By default all ABIs are included, so use reset() and include to specify that we only
// want APKs for x86 and x86_64.
// Resets the list of ABIs that Gradle should create APKs for to none.
reset()
// Specifies a list of ABIs that Gradle should create APKs for.
include "x86", "armeabi", "armeabi-v7a"
// Specifies that we do not want to also generate a universal APK that includes all ABIs.
universalApk true
}
}
}
dependencies {
implementation 'com.github.delight-im:Android-Languages:v1.0.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation project(':orbotservice')
implementation 'com.android.support:design:27.1.1'
implementation 'pl.bclogic:pulsator4droid:1.0.3'
implementation 'com.github.apl-devs:appintro:v4.2.2'
implementation 'com.github.javiersantos:AppUpdater:2.6.4'
}