aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle66
1 files changed, 45 insertions, 21 deletions
diff --git a/app/build.gradle b/app/build.gradle
index ecfb534..37f338e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -26,35 +26,59 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
+ dataBinding {
+ enabled = true
+ }
}
+
dependencies {
- implementation "androidx.fragment:fragment:1.3.3"
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'com.google.android.material:material:1.3.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation files('libs/jsoup-1.13.1.jar')
- implementation 'com.android.support:cardview-v7:28.0.0'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
dependencies {
- def room_version = "2.3.0"
+ dependencies {
+ def lifecycle_version = "2.3.1"
+ def arch_version = "2.1.0"
- implementation "androidx.room:room-runtime:$room_version"
- annotationProcessor "androidx.room:room-compiler:$room_version"
+ // ViewModel
+ implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
+ // LiveData
+ implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version"
+ }
+ def lifecycle_version = "2.3.1"
+ def arch_version = "2.1.0"
- // optional - RxJava2 support for Room
- implementation "androidx.room:room-rxjava2:$room_version"
+ // ViewModel
+ implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
+ // LiveData
+ implementation "androidx.lifecycle:lifecycle-livedata:$lifecycle_version"
- // optional - RxJava3 support for Room
- implementation "androidx.room:room-rxjava3:$room_version"
+ implementation "androidx.fragment:fragment:1.3.3"
+ implementation 'androidx.appcompat:appcompat:1.2.0'
+ implementation 'com.google.android.material:material:1.3.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
+ implementation files('libs/jsoup-1.13.1.jar')
+ implementation 'com.android.support:cardview-v7:28.0.0'
+ testImplementation 'junit:junit:4.+'
+ implementation "androidx.drawerlayout:drawerlayout:1.1.1"
+ androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
+ dependencies {
+ def room_version = "2.3.0"
- // optional - Guava support for Room, including Optional and ListenableFuture
- implementation "androidx.room:room-guava:$room_version"
+ implementation "androidx.room:room-runtime:$room_version"
+ annotationProcessor "androidx.room:room-compiler:$room_version"
- // optional - Test helpers
- testImplementation "androidx.room:room-testing:$room_version"
- }
+ // optional - RxJava2 support for Room
+ implementation "androidx.room:room-rxjava2:$room_version"
+
+ // optional - RxJava3 support for Room
+ implementation "androidx.room:room-rxjava3:$room_version"
+ // optional - Guava support for Room, including Optional and ListenableFuture
+ implementation "androidx.room:room-guava:$room_version"
+
+ // optional - Test helpers
+ testImplementation "androidx.room:room-testing:$room_version"
+ }
+
+ }
} \ No newline at end of file