70 lines
No EOL
2.1 KiB
Groovy
70 lines
No EOL
2.1 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'kotlin-kapt'
|
|
}
|
|
|
|
android {
|
|
namespace 'xyz.nuark.pomslab1'
|
|
compileSdk 33
|
|
|
|
defaultConfig {
|
|
applicationId "xyz.nuark.pomslab1"
|
|
minSdk 24
|
|
targetSdk 33
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
def props = new Properties()
|
|
file("signing.properties").withInputStream { props.load(it) }
|
|
|
|
storeFile file(props.RELEASE_STORE_FILE)
|
|
storePassword props.RELEASE_STORE_PASSWORD
|
|
keyAlias props.RELEASE_KEY_ALIAS
|
|
keyPassword props.RELEASE_KEY_PASSWORD
|
|
|
|
v1SigningEnabled true
|
|
v2SigningEnabled true
|
|
}
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
dataBinding true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.core:core-ktx:1.9.0'
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'com.google.android.material:material:1.8.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation "androidx.activity:activity-ktx:1.6.1"
|
|
implementation "androidx.fragment:fragment-ktx:1.5.5"
|
|
implementation "androidx.room:room-runtime:2.5.0"
|
|
annotationProcessor "androidx.room:room-compiler:2.5.0"
|
|
kapt "androidx.room:room-compiler:2.5.0"
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
|
|
} |