Commit 53d3003803c48686969078403d509254276954ac
1 parent
188bc4cf8d
Exists in
master
接口增加参数用于统计
Showing 5 changed files with 1 additions and 1 deletions Inline Diff
GameSDK-release4.3.3.aar
No preview for this file type
GameSDK-release4.3.4.aar
No preview for this file type
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 | flatDir { | 29 | flatDir { |
| 30 | dirs 'libs' | 30 | dirs 'libs' |
| 31 | } | 31 | } |
| 32 | } | 32 | } |
| 33 | 33 | ||
| 34 | android { | 34 | android { |
| 35 | compileSdkVersion 22 | 35 | compileSdkVersion 22 |
| 36 | buildToolsVersion "26.0.2" | 36 | buildToolsVersion "26.0.2" |
| 37 | 37 | ||
| 38 | signingConfigs { | 38 | signingConfigs { |
| 39 | release { | 39 | release { |
| 40 | storeFile keyfile | 40 | storeFile keyfile |
| 41 | storePassword keystorePSW | 41 | storePassword keystorePSW |
| 42 | keyPassword keystoreAliasPSW | 42 | keyPassword keystoreAliasPSW |
| 43 | keyAlias keystoreAlias | 43 | keyAlias keystoreAlias |
| 44 | } | 44 | } |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | defaultConfig { | 47 | defaultConfig { |
| 48 | minSdkVersion 9 | 48 | minSdkVersion 9 |
| 49 | targetSdkVersion 22 | 49 | targetSdkVersion 22 |
| 50 | versionCode 5 | 50 | versionCode 5 |
| 51 | versionName "1.3" | 51 | versionName "1.3" |
| 52 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | 52 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| 53 | signingConfig signingConfigs.release | 53 | signingConfig signingConfigs.release |
| 54 | } | 54 | } |
| 55 | buildTypes { | 55 | buildTypes { |
| 56 | release { | 56 | release { |
| 57 | minifyEnabled false | 57 | minifyEnabled false |
| 58 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | 58 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| 59 | zipAlignEnabled true | 59 | zipAlignEnabled true |
| 60 | } | 60 | } |
| 61 | debug { | 61 | debug { |
| 62 | signingConfig signingConfigs.release | 62 | signingConfig signingConfigs.release |
| 63 | } | 63 | } |
| 64 | } | 64 | } |
| 65 | lintOptions { | 65 | lintOptions { |
| 66 | abortOnError false | 66 | abortOnError false |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | dependencies { | 71 | dependencies { |
| 72 | compile fileTree(include: ['*.jar'], dir: 'libs') | 72 | compile fileTree(include: ['*.jar'], dir: 'libs') |
| 73 | testCompile 'junit:junit:4.12' | 73 | testCompile 'junit:junit:4.12' |
| 74 | compile 'com.android.support:appcompat-v7:22.2.0' | 74 | compile 'com.android.support:appcompat-v7:22.2.0' |
| 75 | //微信 | 75 | //微信 |
| 76 | compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+' | 76 | compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+' |
| 77 | // compile project(':GameSDK') | 77 | // compile project(':GameSDK') |
| 78 | compile(name: 'GameSDK-release4.3.3', ext: 'aar') | 78 | compile(name: 'GameSDK-release4.3.4', ext: 'aar') |
| 79 | } | 79 | } |
| 80 | 80 |
GameSDKDemo/libs/GameSDK-release4.3.3.aar
No preview for this file type
GameSDKDemo/libs/GameSDK-release4.3.4.aar
No preview for this file type