Blame view

GameSDKDemo/build.gradle 2.98 KB
d6bc71fcb   赵康   add the project o...
1
  apply plugin: 'com.android.application'
f97711df6   赵康   the demo for sdk ...
2
3
4
  /*The config for internal testing,you could ignore it
  * gump内部测试使用,你可以自行配置,或者直接删除这部分内容
  * --start--
188bc4cf8   赵康   v4.3.3:增加微信登录
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  */
  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)
  }
  /*
f97711df6   赵康   the demo for sdk ...
24
25
26
   * The config for internal testing,you could ignore it
   * gump内部测试使用,你可以自行配置,或者直接删除这部分内容
   * --end--
188bc4cf8   赵康   v4.3.3:增加微信登录
27
   */
43932caac   赵康   update for UI,add...
28
  repositories {
f97711df6   赵康   the demo for sdk ...
29
      maven {
c4a5d1b80   赵康   update to version...
30
          url "http://117.50.8.198:8081/nexus/content/repositories/sdk"
d6bc71fcb   赵康   add the project o...
31
      }
c4a5d1b80   赵康   update to version...
32
33
      jcenter()
      google()
d6bc71fcb   赵康   add the project o...
34
35
36
  }
  
  android {
d495d19f8   赵康   upgrade to 4.9.0
37
      compileSdkVersion 30
f97711df6   赵康   the demo for sdk ...
38
      buildToolsVersion '28.0.3'
d6bc71fcb   赵康   add the project o...
39

188bc4cf8   赵康   v4.3.3:增加微信登录
40
41
42
43
44
45
46
47
      signingConfigs {
          release {
              storeFile keyfile
              storePassword keystorePSW
              keyPassword keystoreAliasPSW
              keyAlias keystoreAlias
          }
      }
d6bc71fcb   赵康   add the project o...
48
      defaultConfig {
c4a5d1b80   赵康   update to version...
49
          minSdkVersion 14
d495d19f8   赵康   upgrade to 4.9.0
50
          targetSdkVersion 30
db6adf699   赵康   temp
51
          applicationId "com.ecgaaa.uuac"
d495d19f8   赵康   upgrade to 4.9.0
52
53
          versionCode 38
          versionName "1.0.3"
7a5aadf06   赵康   v4.1.5:新增运营接口
54
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
188bc4cf8   赵康   v4.3.3:增加微信登录
55
          signingConfig signingConfigs.release
d6bc71fcb   赵康   add the project o...
56
      }
d6bc71fcb   赵康   add the project o...
57
58
59
60
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
188bc4cf8   赵康   v4.3.3:增加微信登录
61
62
63
64
              zipAlignEnabled true
          }
          debug {
              signingConfig signingConfigs.release
d6bc71fcb   赵康   add the project o...
65
66
          }
      }
43932caac   赵康   update for UI,add...
67
      lintOptions {
d6bc71fcb   赵康   add the project o...
68
69
          abortOnError false
      }
7b52014d1   赵康   version4.7.1
70
      compileOptions {
e877dd7d0   赵康   重构版本4.8.0\
71
72
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
7b52014d1   赵康   version4.7.1
73
      }
4a6edc661   赵康   SDK v4.7.0:增加支付弹窗...
74
75
76
77
      applicationVariants.all {
          variant ->
              variant.outputs.all {
                  outputFileName = "GameSDKDemo-" + variant.name + defaultConfig.versionName + ".apk"
f97711df6   赵康   the demo for sdk ...
78
79
              }
      }
d6bc71fcb   赵康   add the project o...
80
81
82
  }
  
  dependencies {
c4a5d1b80   赵康   update to version...
83
      implementation fileTree(include: ['*.jar'], dir: 'libs')
e877dd7d0   赵康   重构版本4.8.0\
84
  //    implementation 'com.android.support:support-v4:27.1.1'
d495d19f8   赵康   upgrade to 4.9.0
85
86
87
      implementation 'androidx.appcompat:appcompat:1.2.0'
      implementation 'androidx.fragment:fragment:1.2.5'
      implementation 'com.google.android.material:material:1.2.1'
c4a5d1b80   赵康   update to version...
88
      testImplementation 'junit:junit:4.12'
e877dd7d0   赵康   重构版本4.8.0\
89
90
  //    implementation 'com.android.support:appcompat-v7:27.1.1'
  //    implementation 'com.android.support:design:27.1.1'
d495d19f8   赵康   upgrade to 4.9.0
91
      implementation project(':GameSDK')
4a6edc661   赵康   SDK v4.7.0:增加支付弹窗...
92
  //    implementation project(':IAP5Helper')
d495d19f8   赵康   upgrade to 4.9.0
93
  //    implementation 'com.gumptech.sdk:GameSDK:4.8.0'
e877dd7d0   赵康   重构版本4.8.0\
94
  //    implementation 'com.gump.game.sdk:SamsungIAP:5.1.1'
d6bc71fcb   赵康   add the project o...
95
  }