Skip to content

Commit

Permalink
chore: Update versions (#29)
Browse files Browse the repository at this point in the history
* chore: Update the Dependencies versions

* chore: Update the Gradle version

* chore: Update the Android Application version

* chore: Include the DB schemas export annotation and add the exported schema to the version tracking
  • Loading branch information
ShivamNagpal authored Jun 24, 2023
1 parent 15da0b9 commit bbae390
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 7 deletions.
10 changes: 8 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ android {
applicationId "com.nagpal.shivam.vtucslab"
minSdkVersion 19
targetSdkVersion 33
versionCode 8
versionName "6.2"
versionCode 9
versionName "7.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true

javaCompileOptions {
annotationProcessorOptions {
arguments += ["room.schemaLocation": "$projectDir/schemas".toString()]
}
}
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "f78e881b1af6632ac37cd5f3188a2360",
"entities": [
{
"tableName": "lab_response",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`url` TEXT NOT NULL, `response` TEXT NOT NULL, `response_type` TEXT NOT NULL, `fetched_at` INTEGER NOT NULL, PRIMARY KEY(`url`))",
"fields": [
{
"fieldPath": "url",
"columnName": "url",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "response",
"columnName": "response",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "responseType",
"columnName": "response_type",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "fetchedAt",
"columnName": "fetched_at",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"url"
]
},
"indices": [],
"foreignKeys": []
}
],
"views": [],
"setupQueries": [
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'f78e881b1af6632ac37cd5f3188a2360')"
]
}
}
10 changes: 5 additions & 5 deletions versions.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
def versions = [:]
versions.appcompat = "1.6.1"
versions.constraintlayout = "2.1.4"
versions.core_ktx = "1.10.0"
versions.core_ktx = "1.10.1"
versions.espresso_core = "3.5.1"
versions.firebase_bom = "31.2.3"
versions.firebase_crashlytics_gradle = "2.9.4"
versions.google_services = "4.3.15"
versions.gradle = "8.0.0"
versions.gradle = '8.0.2'
versions.jackson_module_kotlin = "2.14.2"
versions.junit = "4.13.2"
versions.kotlin_gradle_plugin = "1.8.0"
versions.material = "1.8.0"
versions.material = "1.9.0"
versions.multidex = "2.0.1"
versions.navigation = "2.5.3"
versions.navigation = "2.6.0"
versions.retrofit = "2.9.0"
versions.room = "2.5.1"
versions.room = "2.5.2"
versions.swipe_refresh_layout = "1.1.0"
versions.test_runner = "1.5.2"
ext.versions = versions

0 comments on commit bbae390

Please sign in to comment.