Blame view
GameSDKDemo/build.gradle
2.15 KB
d6bc71fcb
![]() |
1 |
apply plugin: 'com.android.application' |
188bc4cf8
![]() |
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
![]() |
26 27 |
repositories { flatDir { |
d6bc71fcb
![]() |
28 29 30 31 32 33 |
dirs 'libs' } } android { compileSdkVersion 22 |
43932caac
![]() |
34 |
buildToolsVersion "26.0.2" |
d6bc71fcb
![]() |
35 |
|
188bc4cf8
![]() |
36 37 38 39 40 41 42 43 |
signingConfigs { release { storeFile keyfile storePassword keystorePSW keyPassword keystoreAliasPSW keyAlias keystoreAlias } } |
d6bc71fcb
![]() |
44 45 46 |
defaultConfig { minSdkVersion 9 targetSdkVersion 22 |
adab52895
![]() |
47 48 |
versionCode 5 versionName "1.3" |
7a5aadf06
![]() |
49 |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
188bc4cf8
![]() |
50 |
signingConfig signingConfigs.release |
d6bc71fcb
![]() |
51 |
} |
d6bc71fcb
![]() |
52 53 54 55 |
buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
188bc4cf8
![]() |
56 57 58 59 |
zipAlignEnabled true } debug { signingConfig signingConfigs.release |
d6bc71fcb
![]() |
60 61 |
} } |
43932caac
![]() |
62 |
lintOptions { |
d6bc71fcb
![]() |
63 64 |
abortOnError false } |
188bc4cf8
![]() |
65 |
|
d6bc71fcb
![]() |
66 67 68 |
} dependencies { |
188bc4cf8
![]() |
69 |
compile fileTree(include: ['*.jar'], dir: 'libs') |
d6bc71fcb
![]() |
70 71 |
testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:22.2.0' |
43932caac
![]() |
72 |
//微信 |
188bc4cf8
![]() |
73 |
compile 'com.tencent.mm.opensdk:wechat-sdk-android-without-mta:+' |
064eb2054
![]() |
74 |
// compile project(':GameSDK') |
53d300380
![]() |
75 |
compile(name: 'GameSDK-release4.3.4', ext: 'aar') |
d6bc71fcb
![]() |
76 |
} |