41 lines
1.2 KiB
Groovy
41 lines
1.2 KiB
Groovy
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:8.11.1'
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
|
|
ext {
|
|
appName = 'Shattered Pixel Dungeon'
|
|
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
|
|
|
appVersionCode = 865
|
|
appVersionName = '3.2.2'
|
|
|
|
appJavaCompatibility = JavaVersion.VERSION_11
|
|
|
|
appAndroidCompileSDK = 35 //Android 15
|
|
appAndroidMinSDK = 21 //Android 5.0
|
|
// TODO currently we've opted-out of edge-to-edge but it will be required for Android 16
|
|
// Need to figure out how the game will handle drawing into notches (and unify with iOS)
|
|
// See: https://developer.android.com/about/versions/15/behavior-changes-15#ux
|
|
appAndroidTargetSDK = 35 //Android 15
|
|
|
|
gdxVersion = '1.13.6-SNAPSHOT' //using snapshot as 1.13.5 has issues with Android R8
|
|
gdxControllersVersion = '2.2.4'
|
|
robovmVersion = '2.3.23'
|
|
}
|
|
version = appVersionName
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
|
|
}
|
|
|
|
} |