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

com.autonomousapps.kit.gradle.PluginManagement.kt Maven / Gradle / Ivy

There is a newer version: 0.17
Show newest version
package com.autonomousapps.kit.gradle

import com.autonomousapps.kit.render.Element
import com.autonomousapps.kit.render.Scribe

public class PluginManagement(
  private val repositories: Repositories,
) : Element.Block {

  override val name: String = "pluginManagement"

  override fun render(scribe: Scribe): String = scribe.block(this) { s ->
    repositories.render(s)
  }

  public companion object {
    @JvmField
    public val DEFAULT: PluginManagement = PluginManagement(
      repositories = Repositories.DEFAULT_PLUGINS
    )
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy