All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jetbrains.plugin.structure.ktor.GradleInstallRecipe.kt Maven / Gradle / Ivy

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 - 2024 Weber Informatics LLC | Privacy Policy