Blame view

GameSDKDemo/build.gradle 2.33 KB
d6bc71fcb   赵康   add the project o...
1
  apply plugin: 'com.android.application'
188bc4cf8   赵康   v4.3.3:增加微信登录
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   赵康   update for UI,add...
26
  repositories {
c4a5d1b80   赵康   update to version...
27
28
      maven{
          url "http://117.50.8.198:8081/nexus/content/repositories/sdk"
d6bc71fcb   赵康   add the project o...
29
      }
c4a5d1b80   赵康   update to version...
30
31
      jcenter()
      google()
d6bc71fcb   赵康   add the project o...
32
33
34
  }
  
  android {
6a217e5ca   赵康   version4.5.0
35
      compileSdkVersion 26
c4a5d1b80   赵康   update to version...
36
      buildToolsVersion "27.0.3"
d6bc71fcb   赵康   add the project o...
37

188bc4cf8   赵康   v4.3.3:增加微信登录
38
39
40
41
42
43
44
45
      signingConfigs {
          release {
              storeFile keyfile
              storePassword keystorePSW
              keyPassword keystoreAliasPSW
              keyAlias keystoreAlias
          }
      }
d6bc71fcb   赵康   add the project o...
46
      defaultConfig {
c4a5d1b80   赵康   update to version...
47
          minSdkVersion 14
6a217e5ca   赵康   version4.5.0
48
          targetSdkVersion 26
adab52895   赵康   version:4.2.0:增加G...
49
50
          versionCode 5
          versionName "1.3"
7a5aadf06   赵康   v4.1.5:新增运营接口
51
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
188bc4cf8   赵康   v4.3.3:增加微信登录
52
          signingConfig signingConfigs.release
d6bc71fcb   赵康   add the project o...
53
      }
d6bc71fcb   赵康   add the project o...
54
55
56
57
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
188bc4cf8   赵康   v4.3.3:增加微信登录
58
59
60
61
              zipAlignEnabled true
          }
          debug {
              signingConfig signingConfigs.release
d6bc71fcb   赵康   add the project o...
62
63
          }
      }
43932caac   赵康   update for UI,add...
64
      lintOptions {
d6bc71fcb   赵康   add the project o...
65
66
          abortOnError false
      }
188bc4cf8   赵康   v4.3.3:增加微信登录
67

d6bc71fcb   赵康   add the project o...
68
69
70
  }
  
  dependencies {
c4a5d1b80   赵康   update to version...
71
72
      implementation fileTree(include: ['*.jar'], dir: 'libs')
      testImplementation 'junit:junit:4.12'
6a217e5ca   赵康   version4.5.0
73
      implementation 'com.android.support:appcompat-v7:26.1.0'
43932caac   赵康   update for UI,add...
74
      //微信
c4a5d1b80   赵康   update to version...
75
76
          implementation 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:5.1.4'
      //VK
6a217e5ca   赵康   version4.5.0
77
      implementation 'com.gumptech:VKsdk:1.5.4'
42754d18a   赵康   修改gradle引用的库
78
79
  //        implementation project(':GameSDK')
      implementation 'com.gumptech.sdk:GameSDK:4.5.5'
d6bc71fcb   赵康   add the project o...
80
  }