2023-12-07 01:36:00 +00:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
2023-12-07 01:42:14 +00:00
|
|
|
id 'com.google.dagger.hilt.android'
|
2023-12-07 01:36:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace 'one.nem.lacerta'
|
2023-12-07 01:36:18 +00:00
|
|
|
compileSdk 34
|
2023-12-07 01:36:00 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "one.nem.lacerta"
|
|
|
|
minSdk 26
|
|
|
|
targetSdk 33
|
2023-12-19 02:50:32 +00:00
|
|
|
|
|
|
|
// Develop上では次回のリリースバージョンを指定
|
|
|
|
versionCode 1000
|
|
|
|
versionName "1.0.0"
|
2023-12-07 01:36:00 +00:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
2023-12-19 02:01:23 +00:00
|
|
|
debug { // 開発メンバー用
|
|
|
|
debuggable true
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
|
|
|
applicationIdSuffix ".debug"
|
2023-12-19 02:05:16 +00:00
|
|
|
matchingFallbacks = ['release']
|
2023-12-19 02:01:23 +00:00
|
|
|
}
|
2023-12-19 02:44:11 +00:00
|
|
|
internal_release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
|
|
|
applicationIdSuffix ".internal"
|
|
|
|
matchingFallbacks = ['release']
|
|
|
|
}
|
2023-12-19 02:01:23 +00:00
|
|
|
beta_release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
|
|
|
|
applicationIdSuffix ".beta"
|
2023-12-19 02:05:16 +00:00
|
|
|
matchingFallbacks = ['release']
|
2023-12-19 02:01:23 +00:00
|
|
|
}
|
2023-12-07 01:36:00 +00:00
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-12-07 05:56:50 +00:00
|
|
|
implementation libs.androidx.appcompat
|
|
|
|
implementation libs.com.google.android.material
|
|
|
|
implementation libs.androidx.constraintlayout
|
|
|
|
testImplementation libs.junit
|
|
|
|
androidTestImplementation libs.androidx.test.ext.junit
|
|
|
|
androidTestImplementation libs.androidx.test.espresso.core
|
|
|
|
|
2023-12-07 05:58:03 +00:00
|
|
|
// 内部モジュール
|
2023-12-08 09:57:53 +00:00
|
|
|
// Feature
|
2023-12-07 05:58:03 +00:00
|
|
|
implementation project(':feature:home')
|
|
|
|
implementation project(':feature:search')
|
|
|
|
implementation project(':feature:library')
|
|
|
|
implementation project(':feature:scan')
|
2023-12-09 00:56:45 +00:00
|
|
|
implementation project(':feature:debug') // デバッグメニュー
|
2023-12-08 09:57:53 +00:00
|
|
|
|
2023-12-10 08:49:08 +00:00
|
|
|
// // Component
|
|
|
|
// implementation project(':component:common')
|
|
|
|
// implementation project(':component:scanner')
|
|
|
|
// implementation project(':component:viewer')
|
2023-12-08 09:57:53 +00:00
|
|
|
|
2023-12-10 08:49:08 +00:00
|
|
|
// // Data
|
|
|
|
// implementation project(':data:repository')
|
|
|
|
//
|
|
|
|
// // Source
|
|
|
|
// implementation project(':data:source:database')
|
|
|
|
// implementation project(':data:source:preference')
|
|
|
|
//
|
2023-12-10 09:27:14 +00:00
|
|
|
implementation project(':data')
|
2023-12-17 03:16:02 +00:00
|
|
|
|
|
|
|
implementation project(':shared:ui')
|
|
|
|
|
2023-12-17 15:35:33 +00:00
|
|
|
implementation project(':shared:icon')
|
|
|
|
|
2023-12-07 01:42:55 +00:00
|
|
|
// Hilt (DI)
|
2023-12-07 05:56:50 +00:00
|
|
|
implementation libs.com.google.dagger.hilt.android
|
|
|
|
annotationProcessor libs.com.google.dagger.hilt.compiler
|
2023-12-07 01:42:55 +00:00
|
|
|
|
2023-12-07 05:48:48 +00:00
|
|
|
// Navigation
|
|
|
|
implementation libs.navigation.fragment
|
|
|
|
implementation libs.navigation.ui
|
|
|
|
implementation libs.navigation.dynamic.features.fragment
|
2023-12-07 05:27:21 +00:00
|
|
|
|
2023-12-07 01:36:00 +00:00
|
|
|
}
|