Skip to content

Commit

Permalink
updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rafi0101 committed Aug 15, 2023
1 parent fb18da2 commit d4b7d07
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 29 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,4 @@ lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/
1.json
25 changes: 11 additions & 14 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id('com.android.application')
id('kotlin-android')
id('kotlin-kapt')
id("com.google.devtools.ksp")
}

android {
Expand All @@ -21,13 +21,10 @@ android {
versionName "1.0.3"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
arguments += [
"room.schemaLocation" : "$projectDir/schemas".toString(),
"room.incremental" : "true",
"room.expandProjection": "true"]
}
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
arg("room.incremental", "true")
arg("room.expandProjection", "true")
}
}

Expand All @@ -50,7 +47,7 @@ android {

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation project(path: ':core')
Expand All @@ -60,10 +57,10 @@ dependencies {
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

//ROOM SQLite
def room_version = "2.5.0"
def room_version = "2.5.2"

implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version"
ksp "androidx.room:room-compiler:$room_version"

// optional - Kotlin Extensions and Coroutines support for Room
implementation "androidx.room:room-ktx:$room_version"
Expand All @@ -72,7 +69,7 @@ dependencies {
implementation "androidx.room:room-rxjava2:$room_version"

implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1"

// optional - Guava support for Room, including Optional and ListenableFuture
implementation "androidx.room:room-guava:$room_version"
Expand All @@ -81,9 +78,9 @@ dependencies {
testImplementation "androidx.room:room-testing:$room_version"

//Recyclerview Implementation
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.recyclerview:recyclerview:1.3.1'

//Material Design Implementation
implementation 'com.google.android.material:material:1.8.0'
implementation 'com.google.android.material:material:1.9.0'

}
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ buildscript {
}

plugins {
id('io.github.gradle-nexus.publish-plugin') version "1.1.0"
id("org.jetbrains.dokka") version "1.7.10"
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
id('io.github.gradle-nexus.publish-plugin') version "1.3.0"
id("org.jetbrains.dokka") version "1.8.20"
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
id("com.google.devtools.ksp") version "1.8.10-1.0.9" apply false
}

apply from: "${rootDir}/scripts/publish-root.gradle"
Expand Down
14 changes: 7 additions & 7 deletions core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id('com.android.library')
id('kotlin-android')
id('kotlin-kapt')
id("com.google.devtools.ksp")
id('maven-publish')
id('org.jetbrains.dokka')
}
Expand Down Expand Up @@ -59,17 +59,17 @@ apply from: "${rootProject.projectDir}/scripts/publish-module.gradle"

dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.core:core-ktx:1.10.1'
implementation 'androidx.appcompat:appcompat:1.6.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'

//ROOM SQLite
def room_version = "2.5.0"
def room_version = "2.5.2"

implementation "androidx.room:room-runtime:$room_version"
kapt "androidx.room:room-compiler:$room_version"
ksp "androidx.room:room-compiler:$room_version"

// optional - Kotlin Extensions and Coroutines support for Room
implementation "androidx.room:room-ktx:$room_version"
Expand All @@ -84,17 +84,17 @@ dependencies {
testImplementation "androidx.room:room-testing:$room_version"

//Material Design Implementation
implementation 'com.google.android.material:material:1.8.0'
implementation 'com.google.android.material:material:1.9.0'

//Androidx Security
implementation "androidx.security:security-crypto:1.1.0-alpha05"
implementation "androidx.security:security-crypto:1.1.0-alpha06"

//Google Guava
implementation 'com.google.guava:guava:31.0.1-jre'

//Apache commons io
//https://mvnrepository.com/artifact/commons-io/commons-io
//noinspection GradleDependency
implementation 'commons-io:commons-io:2.11.0'
implementation 'commons-io:commons-io:2.13.0'

}
5 changes: 0 additions & 5 deletions jitpack.yml

This file was deleted.

0 comments on commit d4b7d07

Please sign in to comment.