Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemkinator committed Dec 21, 2023
1 parent bf81195 commit 0bc6699
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 8 deletions.
45 changes: 45 additions & 0 deletions .idea/appInsightsSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -112,21 +112,22 @@ dependencies {
implementation("io.github.oneuiproject:icons:1.1.0")

implementation("com.android.volley:volley:1.2.1")
implementation("org.jsoup:jsoup:1.16.2")
implementation("org.jsoup:jsoup:1.17.1")
implementation("com.airbnb.android:lottie:6.2.0")

implementation("androidx.core:core-splashscreen:1.0.1")
implementation("androidx.core:core-animation:1.0.0-rc01")
implementation("com.google.android.play:core:1.10.3")
implementation("com.google.android.play:core-ktx:1.8.1")
//noinspection GradleDependency
implementation("androidx.work:work-runtime-ktx:2.8.1")
//noinspection GradleDependency
implementation("androidx.hilt:hilt-work:1.0.0")
//noinspection GradleDependency
kapt("androidx.hilt:hilt-compiler:1.0.0")

implementation("androidx.datastore:datastore-preferences:1.0.0")
val roomVersion = "2.6.0"
val roomVersion = "2.6.1"
implementation("androidx.room:room-runtime:$roomVersion")
implementation("androidx.room:room-ktx:$roomVersion")
//noinspection KaptUsageInsteadOfKsp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ abstract class AppDatabase : RoomDatabase() {
}

val MIGRATION_1_2 = object : Migration(1, 2) {
override fun migrate(database: SupportSQLiteDatabase) {
override fun migrate(db: SupportSQLiteDatabase) {
//delete column id and set new primary key to examNumber + semester
//Drop column isn't supported by SQLite, so the data must manually be moved
with(database) {
with(db) {
execSQL("""CREATE TABLE exam_backup (
|examNumber TEXT NOT NULL,
|name TEXT NOT NULL,
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath("com.android.tools.build:gradle:8.1.4")
classpath("com.android.tools.build:gradle:8.2.0")
//classpath("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.9.0-1.0.11")
}
}
Expand All @@ -20,8 +20,8 @@ allprojects {
}

plugins {
id("com.android.application") version "8.1.4" apply false
id("com.android.library") version "8.1.4" apply false
id("com.android.application") version "8.2.0" apply false
id("com.android.library") version "8.2.0" apply false
id("org.jetbrains.kotlin.android") version "1.7.20" apply false
id("com.google.dagger.hilt.android") version "2.42" apply false
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Nov 04 12:00:04 CET 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

0 comments on commit 0bc6699

Please sign in to comment.