2021-12-05 01:47:50 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'kotlin-android'
|
2021-12-12 01:31:35 +01:00
|
|
|
id 'kotlin-kapt'
|
2023-04-12 19:56:16 +02:00
|
|
|
id 'androidx.navigation.safeargs.kotlin'
|
2021-12-05 01:47:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2024-08-20 20:17:47 +02:00
|
|
|
compileSdk 35
|
2021-12-05 01:47:50 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "dev.lowrespalmtree.comet"
|
|
|
|
minSdk 24
|
2024-08-20 20:17:47 +02:00
|
|
|
targetSdk 35
|
2021-12-05 01:47:50 +01:00
|
|
|
versionCode 1
|
|
|
|
versionName "0.1.0"
|
|
|
|
|
2022-01-16 14:24:32 +01:00
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
arguments += ["room.schemaLocation": "$projectDir/schemas".toString()]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-05 01:47:50 +01:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
buildFeatures {
|
|
|
|
viewBinding true
|
|
|
|
}
|
2021-12-09 01:44:52 +01:00
|
|
|
testOptions {
|
|
|
|
unitTests.returnDefaultValues = true
|
|
|
|
}
|
2021-12-05 01:47:50 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
2021-12-10 23:50:18 +01:00
|
|
|
signingConfig signingConfigs.debug
|
2021-12-05 01:47:50 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
2024-08-20 20:17:47 +02:00
|
|
|
namespace 'dev.lowrespalmtree.comet'
|
2021-12-05 01:47:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2024-08-20 20:17:47 +02:00
|
|
|
def nav_version = '2.7.7'
|
|
|
|
def room_version = '2.6.1'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.7.0'
|
2022-01-28 13:41:00 +01:00
|
|
|
implementation "androidx.cardview:cardview:1.0.0"
|
2023-01-04 18:25:12 +01:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
2024-08-20 20:17:47 +02:00
|
|
|
implementation 'androidx.core:core-ktx:1.13.1'
|
|
|
|
implementation 'androidx.fragment:fragment-ktx:1.8.2'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.4'
|
2021-12-10 23:50:18 +01:00
|
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
2022-01-10 12:53:11 +01:00
|
|
|
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version"
|
|
|
|
implementation "androidx.navigation:navigation-ui-ktx:$nav_version"
|
2024-08-20 20:17:47 +02:00
|
|
|
implementation 'androidx.preference:preference-ktx:1.2.1'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.3.2'
|
2022-01-10 15:53:53 +01:00
|
|
|
implementation "androidx.room:room-runtime:$room_version"
|
|
|
|
implementation "androidx.room:room-ktx:$room_version"
|
2024-08-20 20:17:47 +02:00
|
|
|
implementation 'com.google.android.material:material:1.12.0'
|
2022-01-10 12:53:11 +01:00
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
2021-12-05 01:47:50 +01:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
2024-08-20 20:17:47 +02:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
|
2021-12-05 01:47:50 +01:00
|
|
|
}
|