commonMain.com.mikepenz.aboutlibraries.entity.Funding.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aboutlibraries-core Show documentation
Show all versions of aboutlibraries-core Show documentation
AboutLibraries automatically detects all dependencies of a project and collects their information including the license. Optionally visualising it via the provided ui components.
The newest version!
package com.mikepenz.aboutlibraries.entity
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
/**
* Describes the [Funding] as defined by the dependency.
* This is only supported for projects hosted for dependencies hosted on: https://github.com/mikepenz/AboutLibraries#special-repository-support
* Or can be manually supplied.
*
* @param platform name of the platform allowing to fund the project
* @param url url pointing towards the location to fund the project
*/
@Serializable
data class Funding(
@SerialName("platform") val platform: String,
@SerialName("url") val url: String
)