Blame view

GameSDKDemo/build.gradle 2.15 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
27
  repositories {
      flatDir {
d6bc71fcb   赵康   add the project o...
28
29
30
31
32
33
          dirs 'libs'
      }
  }
  
  android {
      compileSdkVersion 22
43932caac   赵康   update for UI,add...
34
      buildToolsVersion "26.0.2"
d6bc71fcb   赵康   add the project o...
35

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

d6bc71fcb   赵康   add the project o...
66
67
68
  }
  
  dependencies {
188bc4cf8   赵康   v4.3.3:增加微信登录
69
      compile fileTree(include: ['*.jar'], dir: 'libs')
d6bc71fcb   赵康   add the project o...
70
71
      testCompile 'junit:junit:4.12'
      compile 'com.android.support:appcompat-v7:22.2.0'
43932caac   赵康   update for UI,add...
72
      //微信
188bc4cf8   赵康   v4.3.3:增加微信登录
73
      compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+'
064eb2054   赵康   分离iap支付方法
74
  //    compile project(':GameSDK')
53d300380   赵康   接口增加参数用于统计
75
      compile(name: 'GameSDK-release4.3.4', ext: 'aar')
d6bc71fcb   赵康   add the project o...
76
  }