Search Gradle plugins

Version 2.0 (latest)

2.0

Created 28 June 2023.

Default configuration for Gradle projects used in Kontur

Using the plugins DSL:

plugins {
  id("ru.kontur.kinfra.presets") version "2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ru.kontur.kinfra:kinfra-gradle-presets:2.0")
  }
}

apply(plugin = "ru.kontur.kinfra.presets")

Using the plugins DSL:

plugins {
  id "ru.kontur.kinfra.presets" version "2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ru.kontur.kinfra:kinfra-gradle-presets:2.0"
  }
}

apply plugin: "ru.kontur.kinfra.presets"

Learn how to apply plugins to subprojects