forked from riul88/call-recorder-for-android
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathbuild.gradle
More file actions
55 lines (49 loc) · 1.02 KB
/
Copy pathbuild.gradle
File metadata and controls
55 lines (49 loc) · 1.02 KB
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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:2.1.2"
}
}
apply plugin: "com.android.application"
dependencies {
compile 'com.android.support:support-v4:24.1.1'
}
android {
compileSdkVersion 24
buildToolsVersion "24.0.1"
defaultConfig {
versionCode 26
versionName "3.0.0"
minSdkVersion 7
targetSdkVersion 24
jackOptions {
enabled true
}
}
lintOptions {
disable "OldTargetApi", "UnusedAttribute", "GoogleAppIndexingWarning"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
Properties props = new Properties()
props.load(new FileInputStream(file("local.properties")))
if (props.getProperty("keystore") != null) {
signingConfigs {
release {
storeFile file(props["keystore"])
storePassword props["keystore.password"]
keyAlias props["key"]
keyPassword props["key.password"]
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}
}