build.gradle
2.32 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
apply plugin: 'com.android.application'
/*gump test config,you could ignore it
* gump打包测试使用,你可以自行配置,或者直接删除这部分内容
*/
def keystorePSW = ''
def keystoreAlias = ''
def keystoreAliasPSW = ''
// default keystore file, PLZ config file path in local.properties
def keyfile = file('s.keystore.temp')
Properties properties = new Properties()
// local.properties file in the root director
properties.load(project.file('local.properties').newDataInputStream())
def keystoreFilepath = properties.getProperty("keystore.path")
if (keystoreFilepath) {
keystorePSW = properties.getProperty("keystore.password")
keystoreAlias = properties.getProperty("keystore.alias")
keystoreAliasPSW = properties.getProperty("keystore.key_passwd")
keyfile = file(keystoreFilepath)
}
/*
* gump test config,you could ignore it
* gump打包测试使用,你可以自行配置,或者直接删除这部分内容
*/
repositories {
maven{
url "http://117.50.8.198:8081/nexus/content/repositories/sdk"
}
jcenter()
google()
}
android {
compileSdkVersion 26
buildToolsVersion "27.0.3"
signingConfigs {
release {
storeFile keyfile
storePassword keystorePSW
keyPassword keystoreAliasPSW
keyAlias keystoreAlias
}
}
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 5
versionName "1.3"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
signingConfig signingConfigs.release
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
zipAlignEnabled true
}
debug {
signingConfig signingConfigs.release
}
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:appcompat-v7:26.1.0'
//微信
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.4'
//VK
implementation 'com.gumptech:VKsdk:1.5.4'
// implementation project(':GameSDK')
implementation 'com.gumptech.sdk:GameSDK:4.5.8'
}