1/** 2 * This file was created using the `create_project.py` script located in the 3 * `<AndroidX root>/development/project-creator` directory. 4 * 5 * Please use that script when creating a new project, rather than copying an existing project and 6 * modifying its settings. 7 */ 8import androidx.build.SoftwareType 9 10plugins { 11 id("AndroidXPlugin") 12 id("com.android.library") 13 id("org.jetbrains.kotlin.android") 14} 15 16dependencies { 17 // Atomically versioned. 18 constraints { 19 implementation(project(":core:core")) 20 } 21 22 api(libs.kotlinStdlib) 23 api("androidx.annotation:annotation:1.8.1") 24 api(project(":core:core")) 25 26 androidTestImplementation(libs.junit) 27 androidTestImplementation(libs.testExtJunit) 28 androidTestImplementation(libs.testCore) 29 androidTestImplementation(libs.testRunner) 30 androidTestImplementation(libs.testRules) 31 androidTestImplementation(libs.truth) 32 androidTestImplementation(project(":internal-testutils-truth")) 33} 34 35androidx { 36 name = "Core Kotlin Extensions" 37 type = SoftwareType.PUBLISHED_LIBRARY_ONLY_USED_BY_KOTLIN_CONSUMERS 38 mavenVersion = LibraryVersions.CORE 39 inceptionYear = "2018" 40 description = "Kotlin extensions for 'core' artifact" 41 legacyDisableKotlinStrictApiMode = true 42} 43 44android { 45 compileSdk = 36 46 namespace = "androidx.core.ktx" 47} 48