app: add roomigrant dependencies

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-11-02 01:45:35 +05:30
parent f367c79e8e
commit 4b5c1e6d15
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 12 additions and 0 deletions

View file

@ -21,5 +21,10 @@
<option name="name" value="Google" /> <option name="name" value="Google" />
<option name="url" value="https://dl.google.com/dl/android/maven2/" /> <option name="url" value="https://dl.google.com/dl/android/maven2/" />
</remote-repository> </remote-repository>
<remote-repository>
<option name="id" value="maven" />
<option name="name" value="maven" />
<option name="url" value="https://jitpack.io" />
</remote-repository>
</component> </component>
</project> </project>

View file

@ -3,6 +3,10 @@ plugins {
id "dagger.hilt.android.plugin" id "dagger.hilt.android.plugin"
} }
repositories {
maven { url 'https://jitpack.io' }
}
final def keystorePropertiesFile = rootProject.file("keystore.properties") final def keystorePropertiesFile = rootProject.file("keystore.properties")
android { android {
adbOptions { adbOptions {
@ -65,6 +69,7 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
dependencies { dependencies {
kapt "com.github.MatrixDev.Roomigrant:RoomigrantCompiler:$roomigrant_version"
kapt "com.google.dagger:hilt-compiler:$hilt_dagger_version" kapt "com.google.dagger:hilt-compiler:$hilt_dagger_version"
kapt "androidx.hilt:hilt-compiler:$hilt_androidx_version" kapt "androidx.hilt:hilt-compiler:$hilt_androidx_version"
kapt "androidx.room:room-compiler:$room_version" kapt "androidx.room:room-compiler:$room_version"
@ -91,6 +96,7 @@ dependencies {
implementation "androidx.room:room-runtime:$room_version" implementation "androidx.room:room-runtime:$room_version"
implementation "androidx.room:room-ktx:$room_version" implementation "androidx.room:room-ktx:$room_version"
implementation "androidx.ui:ui-tooling:$compose_version" implementation "androidx.ui:ui-tooling:$compose_version"
implementation "com.github.MatrixDev.Roomigrant:RoomigrantLib:$roomigrant_version"
implementation "com.google.android.material:material:$material_version" implementation "com.google.android.material:material:$material_version"
implementation "com.google.dagger:hilt-android:$hilt_dagger_version" implementation "com.google.dagger:hilt-android:$hilt_dagger_version"
implementation "com.squareup.moshi:moshi:$moshi_version" implementation "com.squareup.moshi:moshi:$moshi_version"

View file

@ -23,6 +23,7 @@ buildscript {
okhttp_version = "4.10.0-RC1" okhttp_version = "4.10.0-RC1"
retrofit_version = "2.9.0" retrofit_version = "2.9.0"
room_version = "2.3.0-alpha03" room_version = "2.3.0-alpha03"
roomigrant_version = "0.2.0"
} }
repositories { repositories {
google() google()