mirror of
https://github.com/mueller-ma/PrepaidBalance.git
synced 2024-09-20 00:12:15 +02:00
3021e051f5
* Bump kotlin idea-plugin to match updated kotlin. * Migrate Room annotation processing to faster Kotlin-Symbol-Processing per IDE suggestion, see also: https://developer.android.com/build/migrate-to-ksp
85 lines
2.5 KiB
Groovy
85 lines
2.5 KiB
Groovy
plugins {
|
|
id "com.android.application"
|
|
id "kotlin-android"
|
|
id "com.google.devtools.ksp"
|
|
id "com.mikepenz.aboutlibraries.plugin"
|
|
}
|
|
|
|
android {
|
|
namespace 'com.github.muellerma.prepaidbalance'
|
|
|
|
buildToolsVersion "34.0.0"
|
|
|
|
repositories {
|
|
maven { url "https://jitpack.io" }
|
|
}
|
|
|
|
defaultConfig {
|
|
applicationId "com.github.muellerma.prepaidbalance"
|
|
minSdkVersion 26
|
|
compileSdk 34
|
|
targetSdkVersion 34
|
|
versionCode 34
|
|
versionName "2.5"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
ksp {
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
|
}
|
|
|
|
debug {
|
|
applicationIdSuffix ".debug"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_17.toString()
|
|
allWarningsAsErrors = true
|
|
}
|
|
buildFeatures {
|
|
viewBinding true
|
|
buildConfig true
|
|
}
|
|
testOptions {
|
|
unitTests.returnDefaultValues = true
|
|
}
|
|
lint {
|
|
abortOnError false
|
|
}
|
|
androidResources {
|
|
generateLocaleConfig true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation "androidx.core:core-ktx:1.12.0"
|
|
implementation "androidx.fragment:fragment-ktx:1.6.2"
|
|
implementation "androidx.appcompat:appcompat:1.6.1"
|
|
implementation "androidx.preference:preference-ktx:1.2.1"
|
|
implementation "androidx.constraintlayout:constraintlayout:2.1.4"
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
|
|
implementation "com.google.android.material:material:1.11.0"
|
|
implementation "androidx.work:work-runtime-ktx:$workmanager_version"
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
implementation "androidx.room:room-ktx:$room_version"
|
|
ksp "androidx.room:room-compiler:$room_version"
|
|
implementation "com.mikepenz:aboutlibraries:$about_libraries_version"
|
|
implementation "androidx.core:core-splashscreen:1.0.1"
|
|
|
|
testImplementation "junit:junit:4.13.2"
|
|
androidTestImplementation "androidx.test.ext:junit:1.1.5"
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:3.5.1"
|
|
} |