build: [BREAKING] bump the versions of libraries and plugins

This commit is contained in:
Han Yin 2025-08-30 21:44:06 -07:00
parent cf306db855
commit b92c6dc2f6
4 changed files with 37 additions and 29 deletions

View File

@ -9,7 +9,7 @@ plugins {
android {
namespace = "com.example.llama"
compileSdk = 35
compileSdk = 36
defaultConfig {
applicationId = "com.example.llama"
@ -36,11 +36,15 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "1.8"
kotlin {
jvmToolchain(17)
compileOptions {
targetCompatibility = JavaVersion.VERSION_17
}
}
buildFeatures {
compose = true

View File

@ -1,39 +1,39 @@
[versions]
# Plugins
agp = "8.9.1"
ksp = "2.1.20-2.0.0"
kotlin = "2.1.20"
dagger-hilt = "2.56.1"
agp = "8.12.2"
ksp = "2.2.10-2.0.2"
kotlin = "2.2.10"
dagger-hilt = "2.57.1"
# AndroidX
activity = "1.10.1"
core-ktx = "1.15.0"
datastore-preferences = "1.0.0"
lifecycle = "2.8.7"
navigation = "2.8.9"
room = "2.7.0"
core-ktx = "1.17.0"
datastore-preferences = "1.1.7"
lifecycle = "2.9.3"
navigation = "2.9.3"
room = "2.7.2"
hilt = "1.2.0"
retrofit2 = "2.11.0"
okhttp3 = "4.12.0"
retrofit2 = "3.0.0"
okhttp3 = "5.1.0"
# Kotlin Extensions
coroutines = "1.10.2"
serialization = "1.8.1"
serialization = "1.9.0"
# Compose
compose-bom = "2025.03.01"
compose-foundation = "1.7.8"
compose-bom = "2025.08.01"
compose-foundation = "1.9.0"
compose-material-icons = "1.7.8"
compose-material3 = "1.4.0-alpha12"
compose-ui = "1.7.8"
compose-material3 = "1.4.0-beta03"
compose-ui = "1.9.0"
# Accompanist
accompanist = "0.36.0"
# Testing
espresso-core = "3.5.0"
androidx-junit = "1.1.5"
espresso-core = "3.7.0"
androidx-junit = "1.3.0"
junit = "4.13.2"

View File

@ -1,6 +1,6 @@
#Tue Apr 01 11:15:06 PDT 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -6,7 +6,7 @@ plugins {
android {
namespace = "android.llama.cpp"
compileSdk = 35
compileSdk = 36
ndkVersion = "29.0.13113456 rc1"
@ -47,11 +47,15 @@ android {
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "1.8"
kotlin {
jvmToolchain(17)
compileOptions {
targetCompatibility = JavaVersion.VERSION_17
}
}
packaging {