forked from REBOOTERS/AndroidAnimationExercise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
105 lines (96 loc) · 3.41 KB
/
build.gradle
File metadata and controls
105 lines (96 loc) · 3.41 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
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
99
100
101
102
103
104
105
apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.hugo'
android {
signingConfigs {
debug {
keyAlias 'animation'
keyPassword '123456'
storeFile file("$rootDir/animationkey")
storePassword '123456'
}
}
compileSdkVersion 26
buildToolsVersion '26.0.2'
defaultConfig {
applicationId "home.smart.fly.animations"
minSdkVersion 15
targetSdkVersion 26
versionCode 2
versionName "2.0"
flavorDimensions "versionCode"
//blur
renderscriptTargetApi 19
renderscriptSupportModeEnabled true
//
vectorDrawables.useSupportLibrary true
//65536
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
jniLibs.srcDirs = ['libs']
}
}
productFlavors {
// Define separate dev and prod product flavors.
dev {
// dev utilizes minSDKVersion = 21 to allow the Android gradle plugin
// to pre-dex each module and produce an APK that can be tested on
// Android Lollipop without time consuming dex merging processes.
minSdkVersion 19
}
prod {
// The actual minSdkVersion for the application.
minSdkVersion 15
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.google.code.gson:gson:2.8.0'
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support:design:26.1.0'
compile 'com.orhanobut:logger:2.1.1'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'de.hdodenhof:circleimageview:2.1.0'
compile 'com.android.support:support-v4:26.1.0'
compile 'com.android.support:cardview-v7:26.1.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.squareup.okhttp3:okhttp:3.8.1'
compile 'com.squareup.okio:okio:1.13.0'
compile 'com.android.support:multidex:1.0.2'
compile 'com.android.support:support-vector-drawable:26.1.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'cn.bingoogolapple:bga-refreshlayout:1.1.7@aar'
compile 'cn.bingoogolapple:bga-banner:2.1.7@aar'
compile 'cn.bingoogolapple:bga-adapter:1.1.8@aar'
compile 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
compile 'com.lzy.widget:view-core:0.2.2'
compile 'com.github.chrisbanes:PhotoView:2.1.3'
compile 'com.zhihu.android:matisse:0.5.0-alpha4'
compile 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.4@aar'
compile 'io.reactivex.rxjava2:rxjava:2.1.7'
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.github.yalantis:ucrop:2.2.1'
compile 'com.bm.photoview:library:1.4.1'
compile 'com.gongwen:swipeback:1.0.1'
compile "me.leolin:ShortcutBadger:1.1.19@aar"
compile 'com.xw.repo:bubbleseekbar:3.10-lite'
testCompile 'junit:junit:4.12'
debugCompile 'com.facebook.stetho:stetho:1.5.0'
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
repositories {
mavenCentral()
}