1
0

add core lib for kotlin

This commit is contained in:
Владимир Шперлинг 2024-09-09 02:40:55 +07:00
parent e0cd40f8a1
commit deb24ec7ef
3 changed files with 9 additions and 0 deletions

View File

@ -32,6 +32,13 @@ object Dependencies {
* [Releases](https://developer.android.com/jetpack/androidx/versions).
*/
object AndroidX {
/**
* [androidx.tech](https://androidx.tech/artifacts/core/core-ktx/)
*
* [Changelog](https://developer.android.com/jetpack/androidx/releases/core)
*/
val core = Dependency("androidx.core:core-ktx", "1.13.1")
/**
* [androidx.tech](https://androidx.tech/artifacts/appcompat/appcompat/)
*

View File

@ -25,6 +25,7 @@ fun DependencyHandler.ksp(dependency: Dependency) {
}
fun DependencyHandler.defaultLibrary() {
api(Dependencies.AndroidX.core)
api(Dependencies.AndroidX.appcompat)
api(Dependencies.AndroidX.materialDesign)
}

View File

@ -29,6 +29,7 @@ object Version {
const val language = "1.9.10"
val javaSource = JavaVersion.VERSION_1_8
const val jvmTarget = "1.8"
}
object Android {