Search Gradle plugins

Using the plugins DSL:

plugins {
  id("name.remal.kotlin-java8-default-methods") version "1.0.107"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("name.remal:gradle-plugins:1.0.107")
  }
}

apply(plugin = "name.remal.kotlin-java8-default-methods")

Using the plugins DSL:

plugins {
  id "name.remal.kotlin-java8-default-methods" version "1.0.107"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "name.remal:gradle-plugins:1.0.107"
  }
}

apply plugin: "name.remal.kotlin-java8-default-methods"

Learn how to apply plugins to subprojects