License

sealed interface License

Inheritors

Types

Link copied to clipboard
data class Apache2(val url: String = "https://www.apache.org/licenses/LICENSE-2.0", var distribution: Distribution = Distribution.Repo) : License
Link copied to clipboard
data class Custom(val name: String, val url: String, var distribution: Distribution = Distribution.Repo, var comments: String? = null) : License
Link copied to clipboard
data class GPLv3(val url: String = "https://www.gnu.org/licenses/gpl-3.0.en.html", var distribution: Distribution = Distribution.Repo) : License
Link copied to clipboard
data class MIT(val url: String = "https://opensource.org/licenses/MIT", var distribution: Distribution = Distribution.Repo) : License
Link copied to clipboard
object None : License

Properties

Link copied to clipboard
abstract val comments: String?
Link copied to clipboard
Link copied to clipboard
abstract val name: String
Link copied to clipboard
abstract val url: String