forked from dwi336/Eleven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
98 lines (87 loc) · 2.52 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
89
90
91
92
93
94
95
96
97
98
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.0'
}
}
apply plugin: 'com.android.application'
repositories {
jcenter()
google()
}
android {
compileSdkVersion 27
buildToolsVersion "27.0.3"
defaultConfig {
applicationId "org.lineageos.eleven"
targetSdkVersion 27
renderscriptTargetApi 27
renderscriptSupportModeEnabled true
versionCode 3
versionName "3.0"
vectorDrawables.useSupportLibrary = true
}
signingConfigs {
release {
storeFile file("/home/didi/eclipse/DevStore")
storePassword "test123"
keyAlias "TestKey"
keyPassword "1234567890"
}
}
compileOptions {
sourceCompatibility "1.8"
targetCompatibility "1.8"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
signingConfig signingConfigs.release
}
}
lintOptions {
// Android Support Libraries has different Versions because of use of RenderScript
disable 'GradleCompatible'
disable 'ExtraTranslation', 'MissingTranslation', 'MissingQuantity'
disable 'ProtectedPermissions'
disable 'AppLinkUrlError', 'StringFormatInvalid'
}
sourceSets {
main {
manifest {
srcFile 'AndroidManifest.xml'
}
java {
srcDir 'src'
}
res {
srcDir 'res'
}
assets {
srcDir 'assets'
}
resources {
srcDir 'src'
}
aidl {
srcDir 'src'
}
}
}
dependencies {
implementation "com.android.support:appcompat-v7:27.1.0"
implementation "com.android.support:palette-v7:27.1.0"
implementation "com.android.support:recyclerview-v7:27.1.0"
implementation "com.android.support:support-v4:27.1.0"
implementation "com.android.support:cardview-v7:27.1.0"
implementation "com.android.support:preference-v7:27.1.0"
implementation "com.android.support:gridlayout-v7:27.1.0"
implementation "com.android.support:support-vector-drawable:27.1.0"
implementation "com.google.guava:guava:20.0"
implementation fileTree(include: ['*.jar'], dir: 'libs')
}
}