com.avito.test.summary.TestSummaryExtension.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of test-summary Show documentation
Show all versions of test-summary Show documentation
Collection of infrastructure libraries and gradle plugins of Avito Android project
package com.avito.test.summary
import com.avito.report.model.Team
import com.avito.slack.model.SlackChannel
import org.gradle.api.model.ObjectFactory
import org.gradle.kotlin.dsl.mapProperty
import org.gradle.kotlin.dsl.property
import javax.inject.Inject
open class TestSummaryExtension @Inject constructor(objects: ObjectFactory) {
val slackToken = objects.property()
val slackWorkspace = objects.property()
val reportsHost = objects.property()
val summaryChannel = objects.property()
val buildUrl = objects.property()
val currentBranch = objects.property()
val reportViewerUrl = objects.property()
val unitToChannelMapping = objects.mapProperty()
val mentionOnFailures = objects.setProperty(String::class.java)
val reserveSlackChannel = objects.property()
val slackUserName = objects.property()
}