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

View File

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

View File

@ -1,6 +1,6 @@
#Tue Apr 01 11:15:06 PDT 2025 #Tue Apr 01 11:15:06 PDT 2025
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists 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 zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View File

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