Commit 42754d18a33722d0bc995e8569e98c4600d68066

Authored by 赵康
1 parent 057d4c203d
Exists in master

修改gradle引用的库

Showing 1 changed file with 2 additions and 2 deletions Inline Diff

GameSDKDemo/build.gradle
1 apply plugin: 'com.android.application' 1 apply plugin: 'com.android.application'
2 2
3 /*gump test config,you could ignore it 3 /*gump test config,you could ignore it
4 * gump打包测试使用,你可以自行配置,或者直接删除这部分内容 4 * gump打包测试使用,你可以自行配置,或者直接删除这部分内容
5 */ 5 */
6 def keystorePSW = '' 6 def keystorePSW = ''
7 def keystoreAlias = '' 7 def keystoreAlias = ''
8 def keystoreAliasPSW = '' 8 def keystoreAliasPSW = ''
9 // default keystore file, PLZ config file path in local.properties 9 // default keystore file, PLZ config file path in local.properties
10 def keyfile = file('s.keystore.temp') 10 def keyfile = file('s.keystore.temp')
11 11
12 Properties properties = new Properties() 12 Properties properties = new Properties()
13 // local.properties file in the root director 13 // local.properties file in the root director
14 properties.load(project.file('local.properties').newDataInputStream()) 14 properties.load(project.file('local.properties').newDataInputStream())
15 def keystoreFilepath = properties.getProperty("keystore.path") 15 def keystoreFilepath = properties.getProperty("keystore.path")
16 16
17 if (keystoreFilepath) { 17 if (keystoreFilepath) {
18 keystorePSW = properties.getProperty("keystore.password") 18 keystorePSW = properties.getProperty("keystore.password")
19 keystoreAlias = properties.getProperty("keystore.alias") 19 keystoreAlias = properties.getProperty("keystore.alias")
20 keystoreAliasPSW = properties.getProperty("keystore.key_passwd") 20 keystoreAliasPSW = properties.getProperty("keystore.key_passwd")
21 keyfile = file(keystoreFilepath) 21 keyfile = file(keystoreFilepath)
22 } 22 }
23 /* 23 /*
24 * gump test config,you could ignore it 24 * gump test config,you could ignore it
25 * gump打包测试使用,你可以自行配置,或者直接删除这部分内容 25 * gump打包测试使用,你可以自行配置,或者直接删除这部分内容
26 */ 26 */
27 27
28 repositories { 28 repositories {
29 maven{ 29 maven{
30 url "http://117.50.8.198:8081/nexus/content/repositories/sdk" 30 url "http://117.50.8.198:8081/nexus/content/repositories/sdk"
31 } 31 }
32 jcenter() 32 jcenter()
33 google() 33 google()
34 } 34 }
35 35
36 android { 36 android {
37 compileSdkVersion 26 37 compileSdkVersion 26
38 buildToolsVersion "27.0.3" 38 buildToolsVersion "27.0.3"
39 39
40 signingConfigs { 40 signingConfigs {
41 release { 41 release {
42 storeFile keyfile 42 storeFile keyfile
43 storePassword keystorePSW 43 storePassword keystorePSW
44 keyPassword keystoreAliasPSW 44 keyPassword keystoreAliasPSW
45 keyAlias keystoreAlias 45 keyAlias keystoreAlias
46 } 46 }
47 } 47 }
48 48
49 defaultConfig { 49 defaultConfig {
50 minSdkVersion 14 50 minSdkVersion 14
51 targetSdkVersion 26 51 targetSdkVersion 26
52 versionCode 5 52 versionCode 5
53 versionName "1.3" 53 versionName "1.3"
54 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 54 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
55 signingConfig signingConfigs.release 55 signingConfig signingConfigs.release
56 } 56 }
57 buildTypes { 57 buildTypes {
58 release { 58 release {
59 minifyEnabled false 59 minifyEnabled false
60 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 60 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
61 zipAlignEnabled true 61 zipAlignEnabled true
62 } 62 }
63 debug { 63 debug {
64 signingConfig signingConfigs.release 64 signingConfig signingConfigs.release
65 } 65 }
66 } 66 }
67 lintOptions { 67 lintOptions {
68 abortOnError false 68 abortOnError false
69 } 69 }
70 70
71 } 71 }
72 72
73 dependencies { 73 dependencies {
74 implementation fileTree(include: ['*.jar'], dir: 'libs') 74 implementation fileTree(include: ['*.jar'], dir: 'libs')
75 testImplementation 'junit:junit:4.12' 75 testImplementation 'junit:junit:4.12'
76 implementation 'com.android.support:appcompat-v7:26.1.0' 76 implementation 'com.android.support:appcompat-v7:26.1.0'
77 //微信 77 //微信
78 implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.4' 78 implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.4'
79 //VK 79 //VK
80 implementation 'com.gumptech:VKsdk:1.5.4' 80 implementation 'com.gumptech:VKsdk:1.5.4'
81 implementation project(':GameSDK') 81 // implementation project(':GameSDK')
82 // implementation 'com.gumptech.sdk:GameSDK:4.5.3' 82 implementation 'com.gumptech.sdk:GameSDK:4.5.5'
83 } 83 }
84 84