51 lines
1.2 KiB
Kotlin
51 lines
1.2 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.androidApplication)
|
|
}
|
|
|
|
android {
|
|
namespace = "com.hyperling.apps.games"
|
|
compileSdk = 37
|
|
|
|
defaultConfig {
|
|
applicationId = "apps.hyperling.com.platformer"
|
|
minSdk = 14
|
|
targetSdk = 37
|
|
versionCode = 13
|
|
versionName = "0.1.0"
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
isShrinkResources = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
ndk {
|
|
abiFilters += listOf("arm64-v8a")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.androidx.appcompat)
|
|
|
|
testImplementation(libs.junit)
|
|
androidTestImplementation(libs.junit.ext)
|
|
androidTestImplementation(libs.espresso.core)
|
|
}
|