-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from ShivamNagpal/release-candidate
Release candidate version Code 9
- Loading branch information
Showing
100 changed files
with
2,708 additions
and
2,105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,89 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
apply plugin: 'kotlin-kapt' | ||
apply plugin: 'com.google.firebase.crashlytics' | ||
apply plugin: 'androidx.navigation.safeargs' | ||
|
||
android { | ||
compileSdkVersion 33 | ||
defaultConfig { | ||
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 { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
|
||
kotlin { | ||
jvmToolchain(11) | ||
} | ||
|
||
android { | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_11 | ||
targetCompatibility JavaVersion.VERSION_11 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = 11 | ||
} | ||
} | ||
buildFeatures { | ||
dataBinding true | ||
viewBinding true | ||
} | ||
namespace 'com.nagpal.shivam.vtucslab' | ||
} | ||
|
||
dependencies { | ||
implementation platform("com.google.firebase:firebase-bom:$versions.firebase_bom") | ||
implementation fileTree(include: ['*.jar'], dir: 'libs') | ||
|
||
implementation 'androidx.appcompat:appcompat:1.6.1' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' | ||
implementation 'com.google.android.material:material:1.8.0' | ||
implementation "androidx.multidex:multidex:2.0.1" | ||
implementation "androidx.core:core-ktx:$versions.core_ktx" | ||
implementation "androidx.appcompat:appcompat:$versions.appcompat" | ||
implementation "androidx.constraintlayout:constraintlayout:$versions.constraintlayout" | ||
implementation "com.google.android.material:material:$versions.material" | ||
implementation "androidx.multidex:multidex:$versions.multidex" | ||
|
||
// GSON | ||
implementation 'com.google.code.gson:gson:2.8.9' | ||
// Navigation | ||
implementation "androidx.navigation:navigation-fragment-ktx:$versions.navigation" | ||
implementation "androidx.navigation:navigation-ui-ktx:$versions.navigation" | ||
|
||
// Firebase SDK | ||
implementation('com.google.firebase:firebase-core:21.1.1') { | ||
exclude module: 'support-v4' | ||
} | ||
implementation('com.google.firebase:firebase-messaging:23.1.2') { | ||
exclude module: 'support-v4' | ||
} | ||
implementation 'com.google.firebase:firebase-crashlytics:18.3.5' | ||
implementation "androidx.room:room-runtime:$versions.room" | ||
kapt "androidx.room:room-compiler:$versions.room" | ||
|
||
// https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-kotlin | ||
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:$versions.jackson_module_kotlin" | ||
|
||
// https://mvnrepository.com/artifact/androidx.swiperefreshlayout/swiperefreshlayout | ||
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$versions.swipe_refresh_layout" | ||
|
||
// Firebase SDK | ||
implementation 'com.google.firebase:firebase-messaging-ktx' | ||
implementation 'com.google.firebase:firebase-crashlytics-ktx' | ||
|
||
// Retrofit | ||
implementation "com.squareup.retrofit2:retrofit:$versions.retrofit" | ||
implementation "com.squareup.retrofit2:converter-jackson:$versions.retrofit" | ||
implementation "com.squareup.retrofit2:converter-scalars:$versions.retrofit" | ||
|
||
testImplementation 'junit:junit:4.13.2' | ||
androidTestImplementation 'androidx.test:runner:1.5.2' | ||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' | ||
testImplementation "junit:junit:$versions.junit" | ||
androidTestImplementation "androidx.test:runner:$versions.test_runner" | ||
androidTestImplementation "androidx.test.espresso:espresso-core:$versions.espresso_core" | ||
} | ||
|
||
apply plugin: 'com.google.gms.google-services' | ||
apply plugin: 'org.jetbrains.kotlin.android' |
52 changes: 52 additions & 0 deletions
52
app/schemas/com.nagpal.shivam.vtucslab.data.local.AppDatabase/1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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')" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.