add core lib for kotlin
This commit is contained in:
parent
e0cd40f8a1
commit
deb24ec7ef
@ -32,6 +32,13 @@ object Dependencies {
|
|||||||
* [Releases](https://developer.android.com/jetpack/androidx/versions).
|
* [Releases](https://developer.android.com/jetpack/androidx/versions).
|
||||||
*/
|
*/
|
||||||
object AndroidX {
|
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/)
|
* [androidx.tech](https://androidx.tech/artifacts/appcompat/appcompat/)
|
||||||
*
|
*
|
||||||
|
@ -25,6 +25,7 @@ fun DependencyHandler.ksp(dependency: Dependency) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun DependencyHandler.defaultLibrary() {
|
fun DependencyHandler.defaultLibrary() {
|
||||||
|
api(Dependencies.AndroidX.core)
|
||||||
api(Dependencies.AndroidX.appcompat)
|
api(Dependencies.AndroidX.appcompat)
|
||||||
api(Dependencies.AndroidX.materialDesign)
|
api(Dependencies.AndroidX.materialDesign)
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,7 @@ object Version {
|
|||||||
const val language = "1.9.10"
|
const val language = "1.9.10"
|
||||||
|
|
||||||
val javaSource = JavaVersion.VERSION_1_8
|
val javaSource = JavaVersion.VERSION_1_8
|
||||||
|
const val jvmTarget = "1.8"
|
||||||
}
|
}
|
||||||
|
|
||||||
object Android {
|
object Android {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user