<commit_before>package com.bugsnag.android.gradle

import com.bugsnag.android.gradle.internal.BugsnagHttpClientHelper
import org.gradle.api.provider.Property

interface BugsnagFileUploadTask {
    val failOnUploadError: Property<Boolean>
    val overwrite: Property<Boolean>
    val endpoint: Property<String>
    val retryCount: Property<Int>
    val timeoutMillis: Property<Long>
    val httpClientHelper: Property<BugsnagHttpClientHelper>

    fun configureWith(bugsnag: BugsnagPluginExtension) {
        failOnUploadError.set(bugsnag.failOnUploadError)
        overwrite.set(bugsnag.overwrite)
        endpoint.set(bugsnag.endpoint)
        retryCount.set(bugsnag.retryCount)
        timeoutMillis.set(bugsnag.requestTimeoutMs)
    }
}<commit_msg>Make BugsnagFileUploadTask also a Task<commit_after>package com.bugsnag.android.gradle

import com.bugsnag.android.gradle.internal.BugsnagHttpClientHelper
import org.gradle.api.Task
import org.gradle.api.provider.Property

interface BugsnagFileUploadTask : Task {
    val failOnUploadError: Property<Boolean>
    val overwrite: Property<Boolean>
    val endpoint: Property<String>
    val retryCount: Property<Int>
    val timeoutMillis: Property<Long>
    val httpClientHelper: Property<BugsnagHttpClientHelper>

    fun configureWith(bugsnag: BugsnagPluginExtension) {
        failOnUploadError.set(bugsnag.failOnUploadError)
        overwrite.set(bugsnag.overwrite)
        endpoint.set(bugsnag.endpoint)
        retryCount.set(bugsnag.retryCount)
        timeoutMillis.set(bugsnag.requestTimeoutMs)
    }
}
{'fraction_non_alphanumeric': 0.07943625880845612, 'fraction_numerical': 0.0, 'mean_word_length': 4.578571428571428, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5044775', 'n_tokens_mistral': 478, 'n_tokens_neox': 469, 'n_words': 75}