mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
60 lines
1.8 KiB
Groovy
60 lines
1.8 KiB
Groovy
plugins {
|
|
alias(libs.plugins.com.android.library)
|
|
id 'com.google.dagger.hilt.android'
|
|
}
|
|
|
|
android {
|
|
namespace 'one.nem.lacerta.vcs'
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
minSdk 26
|
|
|
|
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
|
|
|
|
// Hilt (DI)
|
|
implementation libs.com.google.dagger.hilt.android
|
|
annotationProcessor libs.com.google.dagger.hilt.compiler
|
|
|
|
implementation project(':model')
|
|
implementation project(':source')
|
|
implementation project(':utils')
|
|
|
|
// Jackson
|
|
// TODO-rca: バージョンカタログにうつす
|
|
|
|
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core
|
|
implementation 'com.fasterxml.jackson.core:jackson-core:2.16.1'
|
|
|
|
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
|
|
implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
|
|
|
|
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations
|
|
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.16.1'
|
|
|
|
// Room
|
|
implementation libs.androidx.room.runtime
|
|
annotationProcessor libs.androidx.room.compiler
|
|
} |