ntfy-android/app/build.gradle

72 lines
2 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
2021-10-30 14:13:58 +13:00
apply plugin: 'kotlin-kapt'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 30
defaultConfig {
2021-10-26 09:16:23 +13:00
applicationId "io.heckel.ntfy"
minSdkVersion 21
targetSdkVersion 30
versionCode 2
versionName "1.0.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
2021-11-02 07:28:57 +13:00
minifyEnabled true
debuggable false
}
debug {
minifyEnabled false
2021-11-02 07:28:57 +13:00
debuggable true
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "androidx.appcompat:appcompat:$rootProject.appCompatVersion"
implementation "androidx.core:core-ktx:$rootProject.coreKtxVersion"
implementation "androidx.constraintlayout:constraintlayout:$rootProject.constraintLayoutVersion"
implementation "androidx.activity:activity-ktx:$rootProject.activityVersion"
2021-10-26 09:16:23 +13:00
implementation 'com.google.code.gson:gson:2.8.8'
2021-11-02 02:57:05 +13:00
// Room (SQLite)
2021-10-30 14:13:58 +13:00
def roomVersion = "2.3.0"
implementation "androidx.room:room-ktx:$roomVersion"
kapt "androidx.room:room-compiler:$roomVersion"
2021-11-02 02:57:05 +13:00
// Volley (HTTP library)
implementation 'com.android.volley:volley:1.2.1'
2021-10-30 14:13:58 +13:00
// Firebase, sigh ...
implementation 'com.google.firebase:firebase-messaging:22.0.0'
// RecyclerView
implementation "androidx.recyclerview:recyclerview:$rootProject.recyclerViewVersion"
// Material design
implementation "com.google.android.material:material:$rootProject.materialVersion"
// LiveData
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$rootProject.liveDataVersion"
2021-10-28 15:25:02 +13:00
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
}