-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
72 lines (60 loc) · 1.45 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'me.tatarka:gradle-retrolambda:3.6.1'
}
}
allprojects {
repositories {
jcenter()
}
}
apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'
dependencies {
provided 'com.github.mishiranu:dashchan.library:+'
compile 'com.github.mishiranu:dashchan.static:+'
}
android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
sourceSets.main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
if (file('keystore.properties').exists()) {
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(file('keystore.properties')))
signingConfigs {
general {
storeFile file(keystoreProperties['store.file'])
storePassword keystoreProperties['store.password']
keyAlias keystoreProperties['key.alias']
keyPassword keystoreProperties['key.password']
}
}
buildTypes.debug.signingConfig signingConfigs.general
buildTypes.release.signingConfig signingConfigs.general
}
buildTypes {
release {
minifyEnabled false
}
}
lintOptions {
abortOnError false
disable 'MissingTranslation'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}