Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,41 @@
.externalNativeBuild
.cxx
local.properties

# build files
*.apk
*.ap_
*.aab
*.aar
*.dex
*.class

# 日志文件
*.log

# 虚拟机崩溃日志
hs_err_pid*

# Android Studio
/.idea/jarRepositories.xml
/.idea/inspectionProfiles
/.idea/dictionaries
/.idea/.name
/.idea/vcs.xml
/.idea/shelf
/.idea/tasks.xml
/.idea/usage.statistics.xml
/.idea/jsLibraryMappings.xml
/.idea/misc.xml

# Gradle
.gradle/
build/
**/build/
**/outputs/

# local
.gradletasknamecache

# system
Thumbs.db
6 changes: 6 additions & 0 deletions .idea/AndroidProjectSystem.xml

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

263 changes: 0 additions & 263 deletions .idea/other.xml

This file was deleted.

17 changes: 17 additions & 0 deletions .idea/runConfigurations.xml

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

15 changes: 11 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ plugins {
}

kotlin {
jvmToolchain(17)
jvmToolchain(21)
}

secrets {
Expand Down Expand Up @@ -55,15 +55,21 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
kotlinOptions {
jvmTarget = "17"
jvmTarget = "21"
freeCompilerArgs = listOf("-Xcontext-receivers")
freeCompilerArgs += listOf(
"-Xmetadata-version=2.0.0",
"-P",
"plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
)
}
buildFeatures {
compose = true
buildConfig = true
}
composeOptions {
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
Expand All @@ -80,6 +86,7 @@ dependencies {
implementation(libs.camera.extensions)
implementation(libs.profileinstaller)


implementation(libs.glance.appwidget)
implementation(libs.glance.material)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import com.google.android.samples.socialite.widget.model.WidgetModelDao
],
views = [ChatWithLastMessage::class],
version = 1,
exportSchema = false,
)
abstract class AppDatabase : RoomDatabase() {
abstract fun contactDao(): ContactDao
Expand Down
Loading