diff --git a/src/main/java/Dependencies.kt b/src/main/java/Dependencies.kt index 7fadda8..a6d29f5 100644 --- a/src/main/java/Dependencies.kt +++ b/src/main/java/Dependencies.kt @@ -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/) * diff --git a/src/main/java/DependencyHandlerExtensions.kt b/src/main/java/DependencyHandlerExtensions.kt index 88da570..12065c1 100644 --- a/src/main/java/DependencyHandlerExtensions.kt +++ b/src/main/java/DependencyHandlerExtensions.kt @@ -25,6 +25,7 @@ fun DependencyHandler.ksp(dependency: Dependency) { } fun DependencyHandler.defaultLibrary() { + api(Dependencies.AndroidX.core) api(Dependencies.AndroidX.appcompat) api(Dependencies.AndroidX.materialDesign) } diff --git a/src/main/java/Version.kt b/src/main/java/Version.kt index 04cad49..1662cbf 100644 --- a/src/main/java/Version.kt +++ b/src/main/java/Version.kt @@ -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 {