forked from anysoft/xposed-rimet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
114 lines (108 loc) · 3.97 KB
/
Copy pathbuild.gradle
File metadata and controls
114 lines (108 loc) · 3.97 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
106
107
108
109
110
111
112
113
114
/*
* Copyright (c) 2019 The sky Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.sky.xposed.rimet"
minSdkVersion 21
targetSdkVersion 27
versionCode 30
versionName "1.4.4.3"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi-v7a"//, "arm64-v8a", "x86","arm64-v8a","x86_64"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
signingConfigs {
release {
storeFile file("${rootDir}/keyStore/testkey.jks")
storePassword "android"
keyAlias "android"
keyPassword "android"
}
debug {
storeFile file("${rootDir}/keyStore/testkey.jks")
storePassword "android"
keyAlias "android"
keyPassword "android"
}
}
buildTypes {
release {
applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "${project.name}_${variant.flavorName}_v${variant.versionName}.apk"
}
}
minifyEnabled true // 已开源
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "${project.name}_${variant.flavorName}_v${variant.versionName}.apk"
}
}
minifyEnabled false
}
}
flavorDimensions "default"
productFlavors {
all { flavor ->
resValue 'string', 'flavor', flavor.name
}
demo {
// 测试渠道
}
plugin {
// 正式发布渠道
dimension "default"
}
}
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
implementation 'com.github.sky-wei:xposed-javax:1.2.0'
implementation 'com.github.sky-wei:xposed-common:1.2.0'
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.github.sky-wei.xposed-frame:annotations:1.1.1'
implementation 'com.github.sky-wei.xposed-frame:core:1.1.1'
implementation 'com.github.sky-wei.xposed-frame:ui:1.1.1'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.tencent.bugly:crashreport:3.1.0'
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'io.reactivex.rxjava2:rxjava:2.2.12'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
implementation 'com.jakewharton:disklrucache:2.0.2'
compileOnly 'de.robv.android.xposed:api:82'
compileOnly 'com.rover12421.AndroidHideApi:android:1.17'
demoImplementation 'org.apache.commons:commons-lang3:3.7'
annotationProcessor 'com.github.sky-wei.xposed-frame:compiler:1.1.1'
// implementation 'com.google.android.gms:play-services-maps:12.0.1'
// implementation 'com.google.maps.android:android-maps-utils:2.2.0'// 地图操作工具类,添加标记等
}