![JAR search and dependency download from the Maven repository](/logo.png)
kotlin.com.datadog.gradle.plugin.RepositoryDetector.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dd-sdk-android-gradle-plugin Show documentation
Show all versions of dd-sdk-android-gradle-plugin Show documentation
Plugin to upload Proguard/R8 mapping files to Datadog.
package com.datadog.gradle.plugin
import java.io.File
import org.gradle.api.Project
/**
* Describes a class which can detect information about the version control
* repository associated with a Gradle [Project].
*/
interface RepositoryDetector {
/**
* Perform a local analysis of the repository.
* @param sourceSetRoots the list of relevant sourceSet root folders
* @param extensionProvidedRemoteUrl the remote repository url provided in the plugin extension. If this
* value is empty (not provided) we will automatically extract the default URL from GIT
* configuration.
* @return a list of [RepositoryInfo] describing the underlying Gradle [Project]
*/
fun detectRepositories(
sourceSetRoots: List,
extensionProvidedRemoteUrl: String = ""
): List
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy