Get rid of libs.versions.toml
This commit is contained in:
parent
19db7b579f
commit
aadac8551e
2 changed files with 20 additions and 58 deletions
|
@ -1,6 +1,7 @@
|
|||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import java.io.FileInputStream
|
||||
import java.util.Properties
|
||||
import org.gradle.kotlin.dsl.android
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
|
||||
|
||||
|
@ -8,10 +9,10 @@ val keystoreProperties = Properties ()
|
|||
keystoreProperties . load ( FileInputStream ( rootProject . file ("keystore.properties") ) )
|
||||
|
||||
plugins {
|
||||
alias ( libs . plugins . android . application )
|
||||
alias ( libs . plugins . kotlin . android )
|
||||
alias ( libs . plugins . kotlin . compose )
|
||||
alias ( libs . plugins . kotlin . serialization )
|
||||
id ("com.android.application") . version ("8.7.2")
|
||||
id ("org.jetbrains.kotlin.android") . version ("2.0.0")
|
||||
id ("org.jetbrains.kotlin.plugin.compose") . version ("2.0.0")
|
||||
id ("org.jetbrains.kotlin.plugin.serialization") . version ("2.0.0")
|
||||
}
|
||||
|
||||
android {
|
||||
|
@ -57,21 +58,21 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
// Runtime libraries
|
||||
implementation ( libs . android . material )
|
||||
implementation ( libs . androidx . activity . compose )
|
||||
implementation ( libs . androidx . core . ktx )
|
||||
implementation ( libs . androidx . compose . material3 )
|
||||
implementation ( libs . androidx . compose . ui )
|
||||
implementation ( libs . androidx . compose . ui . graphics )
|
||||
debugImplementation ( libs . androidx . compose . ui . tooling )
|
||||
implementation ( libs . androidx . datastore . preferences )
|
||||
implementation ( libs . androidx . lifecycle . runtime . ktx )
|
||||
implementation ( libs . kotlinx . coroutines . android )
|
||||
implementation ( libs . kotlinx . serialization . json )
|
||||
// Android runtime libraries
|
||||
implementation ( "com.google.android.material" , "material" , "1.12.0" )
|
||||
implementation ( "androidx.activity" , "activity-compose" , "1.9.3" )
|
||||
implementation ( "androidx.core" , "core-ktx" , "1.13.1" )
|
||||
implementation ( "androidx.compose.material3" , "material3" , "1.3.1" )
|
||||
implementation ( "androidx.compose.ui" , "ui" , "1.7.5" )
|
||||
implementation ( "androidx.compose.ui" , "ui-graphics" , "1.7.5" )
|
||||
debugImplementation ( "androidx.compose.ui" , "ui-tooling" , "1.7.5" )
|
||||
implementation ( "androidx.datastore" , "datastore-preferences" , "1.1.1" )
|
||||
implementation ( "androidx.lifecycle" , "lifecycle-runtime-ktx" , "2.8.7" )
|
||||
implementation ( "org.jetbrains.kotlinx" , "kotlinx-coroutines-android" , "1.9.0" )
|
||||
implementation ( "org.jetbrains.kotlinx" , "kotlinx-serialization-json" , "1.7.3" )
|
||||
// Other libraries
|
||||
implementation ( libs . kmqtt . common )
|
||||
implementation ( libs . kmqtt . client )
|
||||
implementation ( "io.github.davidepianca98" , "kmqtt-common" , "0.4.8" )
|
||||
implementation ( "io.github.davidepianca98" , "kmqtt-client" , "0.4.8" )
|
||||
}
|
||||
|
||||
tasks . withType ( KotlinCompile :: class ) . all {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue