grim/android/app/build.gradle

60 lines
1.5 KiB
Groovy
Raw Normal View History

2023-04-10 16:02:53 +03:00
plugins {
id 'com.android.application'
}
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
2023-04-10 16:02:53 +03:00
android {
compileSdk 34
2023-10-04 16:17:00 +03:00
ndkVersion '26.0.10792818'
2023-04-10 16:02:53 +03:00
defaultConfig {
applicationId "mw.gri.android"
minSdk 24
targetSdk 34
2023-04-10 16:02:53 +03:00
versionCode 1
versionName "0.1.0"
2023-04-10 16:02:53 +03:00
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
2023-04-10 16:02:53 +03:00
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
2023-04-10 16:02:53 +03:00
}
debug {
minifyEnabled false
2023-04-18 16:19:43 +03:00
debuggable true
2023-04-10 16:02:53 +03:00
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
namespace 'mw.gri.android'
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
2023-04-10 16:02:53 +03:00
// To use the Games Activity library
implementation "androidx.games:games-activity:2.0.2"
2023-04-10 16:02:53 +03:00
// Android Camera
implementation 'androidx.camera:camera-core:1.2.3'
implementation 'androidx.camera:camera-camera2:1.2.3'
implementation 'androidx.camera:camera-lifecycle:1.2.3'
2023-04-10 16:02:53 +03:00
}