com.bugsnag.android.gradle.BugsnagFileUploadTask.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bugsnag-android-gradle-plugin Show documentation
Show all versions of bugsnag-android-gradle-plugin Show documentation
Gradle plugin to automatically upload ProGuard mapping files to Bugsnag.
package com.bugsnag.android.gradle
import com.bugsnag.android.gradle.internal.BugsnagHttpClientHelper
import org.gradle.api.Task
import org.gradle.api.provider.Property
import org.gradle.api.provider.Provider
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Internal
interface BugsnagFileUploadTask : Task {
@get:Input
val failOnUploadError: Property
@get:Input
val overwrite: Property
@get:Input
val endpoint: Property
@get:Input
val retryCount: Property
@get:Input
val timeoutMillis: Property
@get:Internal
val httpClientHelper: Property
fun configureWith(
bugsnag: BugsnagPluginExtension,
httpClientHelperProvider: Provider
) {
failOnUploadError.set(bugsnag.failOnUploadError)
overwrite.set(bugsnag.overwrite)
endpoint.set(bugsnag.endpoint)
retryCount.set(bugsnag.retryCount)
timeoutMillis.set(bugsnag.requestTimeoutMs)
httpClientHelper.set(httpClientHelperProvider)
usesService(httpClientHelperProvider)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy