
com.jetbrains.plugin.structure.ktor.GradleInstallRecipe.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-ktor Show documentation
Show all versions of structure-ktor Show documentation
Library for parsing JetBrains Ktor features. Can be used to verify that feature complies with the JetBrains Marketplace requirements.
package com.jetbrains.plugin.structure.ktor
data class GradleInstallRecipe(
val repositories: List = emptyList(),
val plugins: List = emptyList()
)
sealed class GradleRepository {
/**
* Gradle repository that can be added by calling a function.
*
* Examples: mavenLocal(), jcenter()
*
* @param functionName is a name of the function to call (ex.: "mavenLocal", "jcenter")
* */
class FunctionDefinedRepository(val functionName: String) : GradleRepository()
/**
* Gradle repository that can be added with a maven { url : "..." } construction
* */
class UrlDefinedRepository(val url: String) : GradleRepository()
}
data class GradlePlugin(
val id: String,
val version: String? = null
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy