Blame view
GameSDKDemo/build.gradle
2.33 KB
|
d6bc71fcb
|
1 |
apply plugin: 'com.android.application' |
|
188bc4cf8
|
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
/*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打包测试使用,你可以自行配置,或者直接删除这部分内容
*/
|
|
43932caac
|
26 |
repositories {
|
|
c4a5d1b80
|
27 28 |
maven{
url "http://117.50.8.198:8081/nexus/content/repositories/sdk"
|
|
d6bc71fcb
|
29 |
} |
|
c4a5d1b80
|
30 31 |
jcenter()
google()
|
|
d6bc71fcb
|
32 33 34 |
}
android {
|
|
6a217e5ca
|
35 |
compileSdkVersion 26 |
|
c4a5d1b80
|
36 |
buildToolsVersion "27.0.3" |
|
d6bc71fcb
|
37 |
|
|
188bc4cf8
|
38 39 40 41 42 43 44 45 |
signingConfigs {
release {
storeFile keyfile
storePassword keystorePSW
keyPassword keystoreAliasPSW
keyAlias keystoreAlias
}
}
|
|
d6bc71fcb
|
46 |
defaultConfig {
|
|
c4a5d1b80
|
47 |
minSdkVersion 14 |
|
6a217e5ca
|
48 |
targetSdkVersion 26 |
|
adab52895
|
49 50 |
versionCode 5
versionName "1.3"
|
|
7a5aadf06
|
51 |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
|
188bc4cf8
|
52 |
signingConfig signingConfigs.release |
|
d6bc71fcb
|
53 |
} |
|
d6bc71fcb
|
54 55 56 57 |
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
188bc4cf8
|
58 59 60 61 |
zipAlignEnabled true
}
debug {
signingConfig signingConfigs.release
|
|
d6bc71fcb
|
62 63 |
}
}
|
|
43932caac
|
64 |
lintOptions {
|
|
d6bc71fcb
|
65 66 |
abortOnError false
}
|
|
188bc4cf8
|
67 |
|
|
d6bc71fcb
|
68 69 70 |
}
dependencies {
|
|
c4a5d1b80
|
71 72 |
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
|
|
6a217e5ca
|
73 |
implementation 'com.android.support:appcompat-v7:26.1.0' |
|
43932caac
|
74 |
//微信 |
|
c4a5d1b80
|
75 76 |
implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.4'
//VK
|
|
6a217e5ca
|
77 |
implementation 'com.gumptech:VKsdk:1.5.4' |
|
42754d18a
|
78 |
// implementation project(':GameSDK')
|
|
c51ca89ca
|
79 |
implementation 'com.gumptech.sdk:GameSDK:4.5.6' |
|
d6bc71fcb
|
80 |
} |