Lacerta/data/build.gradle

40 lines
1.0 KiB
Groovy
Raw Normal View History

2023-12-10 09:02:53 +00:00
plugins {
alias(libs.plugins.com.android.library)
2023-12-10 09:05:41 +00:00
id 'com.google.dagger.hilt.android'
2023-12-10 09:02:53 +00:00
}
android {
namespace 'one.nem.lacerta.data'
2023-12-10 09:02:53 +00:00
compileSdk 34
defaultConfig {
minSdk 24
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation libs.androidx.appcompat
implementation libs.com.google.android.material
testImplementation libs.junit
androidTestImplementation libs.androidx.test.ext.junit
androidTestImplementation libs.androidx.test.espresso.core
2023-12-10 09:05:41 +00:00
// Hilt (DI)
implementation libs.com.google.dagger.hilt.android
annotationProcessor libs.com.google.dagger.hilt.compiler
2023-12-10 09:02:53 +00:00
}