com.bugsnag.gradle.android.AndroidOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bugsnag-gradle-plugin Show documentation
Show all versions of bugsnag-gradle-plugin Show documentation
Gradle plugin to automatically upload mapping files to BugSnag.
The newest version!
package com.bugsnag.gradle.android
import com.bugsnag.gradle.BugsnagCliTask
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.tasks.InputFile
import org.gradle.api.tasks.Optional
interface AndroidOptions {
@get:Optional
@get:InputFile
val appManifest: RegularFileProperty
}
internal fun AndroidOptions.addToCli(cliOptions: BugsnagCliTask.BugsnagCliBuilder) {
cliOptions.apply {
"app-manifest" `=` appManifest
}
}
internal fun AndroidOptions.from(variant: AndroidVariant) {
appManifest.set(variant.manifestFile)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy