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

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

Go to download

Library for parsing JetBrains Ktor features. Can be used to verify that feature complies with the JetBrains Marketplace requirements.

There is a newer version: 3.219
Show newest version
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