Blame view
GameSDKDemo/build.gradle
2.98 KB
|
d6bc71fcb
|
1 |
apply plugin: 'com.android.application' |
|
f97711df6
|
2 3 4 |
/*The config for internal testing,you could ignore it * gump内部测试使用,你可以自行配置,或者直接删除这部分内容 * --start-- |
|
188bc4cf8
|
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
|
24 25 26 |
* The config for internal testing,you could ignore it * gump内部测试使用,你可以自行配置,或者直接删除这部分内容 * --end-- |
|
188bc4cf8
|
27 |
*/ |
|
43932caac
|
28 |
repositories {
|
|
f97711df6
|
29 |
maven {
|
|
c4a5d1b80
|
30 |
url "http://117.50.8.198:8081/nexus/content/repositories/sdk" |
|
d6bc71fcb
|
31 |
} |
|
c4a5d1b80
|
32 33 |
jcenter()
google()
|
|
d6bc71fcb
|
34 35 36 |
}
android {
|
|
d495d19f8
|
37 |
compileSdkVersion 30 |
|
f97711df6
|
38 |
buildToolsVersion '28.0.3' |
|
d6bc71fcb
|
39 |
|
|
188bc4cf8
|
40 41 42 43 44 45 46 47 |
signingConfigs {
release {
storeFile keyfile
storePassword keystorePSW
keyPassword keystoreAliasPSW
keyAlias keystoreAlias
}
}
|
|
d6bc71fcb
|
48 |
defaultConfig {
|
|
c4a5d1b80
|
49 |
minSdkVersion 14 |
|
d495d19f8
|
50 |
targetSdkVersion 30 |
|
db6adf699
|
51 |
applicationId "com.ecgaaa.uuac" |
|
d495d19f8
|
52 53 |
versionCode 38
versionName "1.0.3"
|
|
7a5aadf06
|
54 |
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
|
188bc4cf8
|
55 |
signingConfig signingConfigs.release |
|
d6bc71fcb
|
56 |
} |
|
d6bc71fcb
|
57 58 59 60 |
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
188bc4cf8
|
61 62 63 64 |
zipAlignEnabled true
}
debug {
signingConfig signingConfigs.release
|
|
d6bc71fcb
|
65 66 |
}
}
|
|
43932caac
|
67 |
lintOptions {
|
|
d6bc71fcb
|
68 69 |
abortOnError false
}
|
|
7b52014d1
|
70 |
compileOptions {
|
|
e877dd7d0
|
71 72 |
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
|
|
7b52014d1
|
73 |
} |
|
4a6edc661
|
74 75 76 77 |
applicationVariants.all {
variant ->
variant.outputs.all {
outputFileName = "GameSDKDemo-" + variant.name + defaultConfig.versionName + ".apk"
|
|
f97711df6
|
78 79 |
}
}
|
|
d6bc71fcb
|
80 81 82 |
}
dependencies {
|
|
c4a5d1b80
|
83 |
implementation fileTree(include: ['*.jar'], dir: 'libs') |
|
e877dd7d0
|
84 |
// implementation 'com.android.support:support-v4:27.1.1' |
|
d495d19f8
|
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
|
88 |
testImplementation 'junit:junit:4.12' |
|
e877dd7d0
|
89 90 |
// implementation 'com.android.support:appcompat-v7:27.1.1' // implementation 'com.android.support:design:27.1.1' |
|
442dd9372
|
91 |
// implementation project(':GameSDK')
|
|
4a6edc661
|
92 |
// implementation project(':IAP5Helper')
|
|
baa539183
|
93 |
implementation 'com.gumptech.sdk:GameSDK:4.9.0' |
|
e877dd7d0
|
94 |
// implementation 'com.gump.game.sdk:SamsungIAP:5.1.1' |
|
d6bc71fcb
|
95 |
} |