All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.appmetrica.gradle.aarcheck.agp.AarCheckGradleMethods.kt Maven / Gradle / Ivy

The newest version!
package io.appmetrica.gradle.aarcheck.agp

import com.android.build.api.dsl.LibraryBuildType
import com.android.build.api.dsl.LibraryProductFlavor
import io.appmetrica.gradle.aarcheck.AarCheckBuildTypeExtension
import io.appmetrica.gradle.aarcheck.AarCheckFlavorExtension
import org.gradle.kotlin.dsl.configure
import org.gradle.kotlin.dsl.getByType

val LibraryBuildType.aarCheck: AarCheckBuildTypeExtension
    get() = extensions.getByType()

fun LibraryBuildType.aarCheck(configuration: AarCheckBuildTypeExtension.() -> Unit) {
    configure(configuration)
}

val LibraryProductFlavor.aarCheck: AarCheckFlavorExtension
    get() = extensions.getByType()

fun LibraryProductFlavor.aarCheck(configuration: AarCheckFlavorExtension.() -> Unit) {
    configure(configuration)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy