twigs-android/android/build.gradle

75 lines
3.2 KiB
Groovy
Raw Normal View History

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
2020-05-31 01:19:41 +00:00
apply plugin: 'kotlin-kapt'
2018-08-22 03:25:00 +00:00
android {
2020-12-21 13:22:35 +00:00
compileSdkVersion 30
2018-08-22 03:25:00 +00:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
defaultConfig {
2018-08-24 03:32:29 +00:00
applicationId "com.wbrawner.budget"
2021-08-16 21:38:38 +00:00
minSdkVersion 26
2020-12-21 13:22:35 +00:00
targetSdkVersion 30
versionCode 1
versionName "1.0"
vectorDrawables {
useSupportLibrary = true
}
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField "String", "API_URL", "\"https://budget-api.intra.wbrawner.com/\""
}
}
2018-09-17 00:57:47 +00:00
sourceSets {
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
}
}
dependencies {
implementation project(':common')
implementation project(':budgetlib')
2019-10-31 15:40:54 +00:00
implementation project(':storage')
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
2020-12-21 13:22:35 +00:00
implementation 'androidx.appcompat:appcompat:1.2.0'
2021-01-27 04:43:33 +00:00
implementation 'androidx.core:core-ktx:1.3.2'
2020-12-21 13:22:35 +00:00
implementation 'androidx.media:media:1.2.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.emoji:emoji-bundled:1.1.0'
implementation 'com.github.BlacKCaT27:CurrencyEditText:2.0.2'
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
// Dagger
2020-05-31 01:19:41 +00:00
implementation "com.google.dagger:dagger:$dagger"
kapt "com.google.dagger:dagger-compiler:$dagger"
kapt "com.squareup.moshi:moshi-kotlin-codegen:$moshi"
testImplementation 'junit:junit:4.12'
2020-12-21 13:22:35 +00:00
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
2020-05-31 01:19:41 +00:00
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0'
2020-12-21 13:22:35 +00:00
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.2'
implementation 'androidx.navigation:navigation-ui-ktx:2.3.2'
2018-08-22 03:25:00 +00:00
2020-05-31 01:19:41 +00:00
debugImplementation "com.willowtreeapps.hyperion:hyperion-core:$hyperion"
debugImplementation "com.willowtreeapps.hyperion:hyperion-attr:$hyperion"
debugImplementation "com.willowtreeapps.hyperion:hyperion-build-config:$hyperion"
debugImplementation "com.willowtreeapps.hyperion:hyperion-crash:$hyperion"
debugImplementation "com.willowtreeapps.hyperion:hyperion-disk:$hyperion"
debugImplementation "com.willowtreeapps.hyperion:hyperion-geiger-counter:$hyperion"
debugImplementation "com.willowtreeapps.hyperion:hyperion-measurement:$hyperion"
debugImplementation "com.willowtreeapps.hyperion:hyperion-phoenix:$hyperion"
debugImplementation "com.willowtreeapps.hyperion:hyperion-recorder:$hyperion"
debugImplementation "com.willowtreeapps.hyperion:hyperion-shared-preferences:$hyperion"
}