forked from 00-Evan/shattered-pixel-dungeon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
49 lines (40 loc) · 1.35 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
buildscript {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
dependencies {
//the R8 version bundled with AGP 8.1.0+ causes crashes on very old Android versions
//This affects ICS and Lollipop at least, maybe also KitKat
classpath 'com.android.tools.build:gradle:8.0.2'
// 添加获取调试信息用的Firebase
classpath 'com.google.gms:google-services:4.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
}
}
allprojects {
ext {
appName = 'SPDNet'
appPackageName = 'me.nonamedev.spdnet'
appVersionCode = 768
appVersionName = '2.3.2'
// Net的版本号
appNetVersionName = '0.0.3'
appJavaCompatibility = JavaVersion.VERSION_1_8
appAndroidCompileSDK = 33 //compile SDK is still 33 atm as we're sticking with AGP 8.0.2
// 因为Firebase的需要, 最低版本提高到19
appAndroidMinSDK = 19
appAndroidTargetSDK = 34
gdxVersion = '1.12.1'
gdxControllersVersion = '2.2.4-SNAPSHOT'
robovmVersion = '2.3.20'
}
// 添加Net版本号
version = appVersionName + '}' + appNetVersionName
repositories {
google()
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
}