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

com.avito.plugin.QappsTaskNames.kt Maven / Gradle / Ivy

Go to download

Collection of infrastructure libraries and gradle plugins of Avito Android project

The newest version!
package com.avito.plugin

import com.avito.capitalize
import com.avito.kotlin.dsl.typedNamed
import org.gradle.api.tasks.TaskContainer
import org.gradle.api.tasks.TaskProvider

internal fun qappsUploadUnsignedTaskName(variantName: String): String = "qappsUploadUnsigned${variantName.capitalize()}"

internal fun qappsUploadSignedTaskName(variantName: String): String = "qappsUploadSigned${variantName.capitalize()}"

public fun TaskContainer.qappsUploadUnsignedTaskProvider(variantName: String): TaskProvider =
    typedNamed(qappsUploadUnsignedTaskName(variantName))

public fun TaskContainer.qappsUploadSignedTaskProvider(variantName: String): TaskProvider =
    typedNamed(qappsUploadSignedTaskName(variantName))




© 2015 - 2025 Weber Informatics LLC | Privacy Policy