-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
72 lines (63 loc) · 3.26 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
id 'dagger.hilt.android.plugin'
}
android {
compileSdk rootProject.compile_sdk_version
namespace 'dev.guillem.githubbrowserlab'
defaultConfig {
applicationId "dev.guillem.githubbrowserlab"
minSdk rootProject.min_sdk_version
targetSdk rootProject.target_sdk_version
versionCode 1
versionName "1.0"
resourceConfigurations += ['en', 'ca', 'es']
testInstrumentationRunner "dev.guillem.githubbrowserlab.CustomTestRunner"
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
buildFeatures.viewBinding true
lint {
disable 'JvmStaticProvidesInObjectDetector', 'FieldSiteTargetOnQualifierAnnotation', 'ModuleCompanionObjects', 'ModuleCompanionObjectsNotInModuleParent'
}
}
dependencies {
implementation "androidx.core:core-ktx:$androidx_core_version"
implementation "androidx.fragment:fragment-ktx:$androidx_fragment_version"
implementation "androidx.appcompat:appcompat:$androidx_appcompat_version"
implementation "com.google.android.material:material:$google_material_version"
implementation "androidx.constraintlayout:constraintlayout:$androidx_constrait_layout_version"
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$androidx_swipe_refresh_layout_version"
implementation "androidx.recyclerview:recyclerview:$recyclerview_version"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$androidx_livedata_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$androidx_viewmodel_version"
implementation "androidx.browser:browser:$androidx_browser_version"
implementation "com.github.bumptech.glide:glide:$glide_version"
kapt "com.github.bumptech.glide:compiler:$glide_version"
implementation "io.reactivex.rxjava2:rxandroid:$rxandroid_version"
implementation "io.reactivex.rxjava2:rxjava:$rxjava_version"
implementation "com.squareup.retrofit2:retrofit:$retrofit_version"
implementation "com.squareup.retrofit2:converter-gson:$retrofit_version"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofit_version"
testImplementation "junit:junit:$junit_version"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_junit"
testImplementation "org.mockito.kotlin:mockito-kotlin:$mockito_kotlin"
testImplementation "androidx.arch.core:core-testing:$androidx_core_testing_version"
androidTestImplementation "androidx.test.ext:junit:$androidx_junit_version"
androidTestImplementation "androidx.test.espresso:espresso-core:$androidx_expresso_version"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$androidx_expresso_version"
implementation "com.google.dagger:hilt-android:$hilt_version"
kapt "com.google.dagger:hilt-android-compiler:$hilt_version"
androidTestImplementation "com.google.dagger:hilt-android-testing:$hilt_version"
kaptAndroidTest "com.google.dagger:hilt-android-compiler:$hilt_version"
}