mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 05:40:31 +05:30
move kotlin,kgp and serialization to libs
This commit is contained in:
parent
a391630e50
commit
23686b4350
@ -1,18 +1,17 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
val kotlinVersion = "1.9.10"
|
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath(libs.gradle)
|
classpath(libs.gradle)
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
classpath(libs.kotlin.gradle.plugin)
|
||||||
classpath("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion")
|
classpath(libs.kotlin.serialization)
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here, they belong
|
// NOTE: Do not place your application dependencies here, they belong
|
||||||
// to the individual module build.gradle files
|
// in the individual module build.gradle.kts files
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
appcompat = "1.6.1"
|
appcompat = "1.6.1"
|
||||||
core = "1.12.0"
|
core = "1.12.0"
|
||||||
gradle = "8.1.1"
|
gradle = "8.1.1"
|
||||||
|
kotlinVersion = "1.9.10"
|
||||||
lifecycle = "2.6.2"
|
lifecycle = "2.6.2"
|
||||||
constraintlayout = "2.1.4"
|
constraintlayout = "2.1.4"
|
||||||
material = "1.9.0"
|
material = "1.9.0"
|
||||||
@ -32,6 +33,8 @@ androidx-core = { group = "androidx.core", name = "core", version.ref = "core" }
|
|||||||
androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
|
androidx-constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
|
||||||
androidx-fragment = { group = "androidx.fragment", name = "fragment-ktx", version.ref = "fragment" }
|
androidx-fragment = { group = "androidx.fragment", name = "fragment-ktx", version.ref = "fragment" }
|
||||||
gradle = { module = "com.android.tools.build:gradle", version.ref = "gradle" }
|
gradle = { module = "com.android.tools.build:gradle", version.ref = "gradle" }
|
||||||
|
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlinVersion" }
|
||||||
|
kotlin-serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlinVersion" }
|
||||||
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
||||||
androidx-navigation-fragment = { group = "androidx.navigation", name = "navigation-fragment-ktx", version.ref = "navigation" }
|
androidx-navigation-fragment = { group = "androidx.navigation", name = "navigation-fragment-ktx", version.ref = "navigation" }
|
||||||
androidx-navigation-ui = { group = "androidx.navigation", name = "navigation-ui-ktx", version.ref = "navigation" }
|
androidx-navigation-ui = { group = "androidx.navigation", name = "navigation-ui-ktx", version.ref = "navigation" }
|
||||||
|
Loading…
Reference in New Issue
Block a user