Search Gradle plugins

Version 4.1 (latest)

Created 24 November 2020.

Some basic configuration for Kotlin projects

Using the plugins DSL:

plugins {
  id "ca.stellardrift.opinionated.kotlin" version "4.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "ca.stellardrift:gradle-plugin-opinionated-kotlin:4.1"
  }
}

apply plugin: "ca.stellardrift.opinionated.kotlin"

Using the plugins DSL:

plugins {
  id("ca.stellardrift.opinionated.kotlin") version "4.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("ca.stellardrift:gradle-plugin-opinionated-kotlin:4.1")
  }
}

apply(plugin = "ca.stellardrift.opinionated.kotlin")

Learn how to apply plugins to subprojects