Lacerta/data/build.gradle

43 lines
1.2 KiB
Groovy
Raw Permalink 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-11 01:27:29 +00:00
// libsディレクトリにあるライブラリを追加
implementation fileTree(dir: 'libs', include: ['*.jar'])
2023-12-10 09:02:53 +00:00
}