Search Gradle plugins

Version 3.0

3.0

Created 01 June 2020.

Some basic configuration for Kotlin projects

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects