-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.gradle
74 lines (59 loc) · 2.32 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
globleConfigure()
apply plugin: 'kotlin-kapt'
apply plugin: 'org.greenrobot.greendao'//GreenDao
android {
defaultConfig {
applicationId "com.waitou.towards"
resConfigs 'zh-rCN'
dataBinding {
enabled = true
}
ndk { abiFilters "armeabi", "armeabi-v7a", "x86", "mips" }
applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "towards-${variant.flavorName}${variant.buildType.name}-${variant.versionName}.apk"
}
}
}
buildTypes {
release {
manifestPlaceholders = [appName: "大杂烩"]
}
debug {
manifestPlaceholders = [appName: "大杂烩测试"]
}
}
greendao {
schemaVersion 1//数据库版本号
daoPackage 'com.waitou.towards.greendao'
targetGenDir 'src/main/java'
}
}
task appStart(type: Exec, dependsOn: 'installDebug') {
commandLine 'adb', 'shell', 'am', 'start', '-n', 'com.waitou.towards/com.waitou.towards.model.guide.SplashActivity', '-a',
'android.intent.action.MAIN', '-c', 'android.intent.category.LAUNCHER'
}
kapt { generateStubs = true }
androidExtensions { experimental = true }
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation rootProject.ext.dependencies['cardview-v7']
implementation rootProject.ext.dependencies["smarttablayout"]
implementation rootProject.ext.dependencies["fab"]
implementation rootProject.ext.dependencies["stetho"]
implementation rootProject.ext.dependencies["rxcache"]
implementation rootProject.ext.dependencies["jolyglot_gson"]
implementation rootProject.ext.dependencies["greendao"]
implementation rootProject.ext.dependencies["bubbleseekbar"]
implementation rootProject.ext.dependencies["bottomNavigationViewEx"]
implementation 'github.hellocsl:GalleryLayoutManager:1.0.6'
implementation "com.android.databinding:compiler:3.1.4"
implementation project(':zbar_lib')
api project(':wt_library')
implementation project(':meta_provider_lib')
implementation project(':tinker_lib')
implementation project(':imgloader_lib')
implementation project(':widget_lib')
implementation project(':basic_lib')
}
//apply from: "$rootProject.projectDir/tinkerConfigure.gradle"