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

com.likethesalad.android.templates.provider.locator.TemplateResourcesProviderEntryPoint.kt Maven / Gradle / Ivy

Go to download

This is a Gradle plugin for Android applications which resolves XML string references in other XML strings.

The newest version!
package com.likethesalad.android.templates.provider.locator

import com.likethesalad.tools.resource.collector.android.data.variant.VariantTree
import com.likethesalad.tools.resource.locator.android.extension.configuration.ResourceLocatorEntryPoint
import com.likethesalad.tools.resource.locator.android.extension.configuration.source.ResourceSourceConfiguration
import com.likethesalad.tools.resource.locator.android.extension.configuration.source.utils.CommonSourceConfigurationCreator

class TemplateResourcesProviderEntryPoint(
    private val commonSourceConfigurationCreator: CommonSourceConfigurationCreator,
) : ResourceLocatorEntryPoint {

    override fun getResourceSourceConfigurations(variantTree: VariantTree): List {
        val rawConfiguration = commonSourceConfigurationCreator.createAndroidRawConfiguration(variantTree)

        return listOf(rawConfiguration)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy