Search Gradle plugins

Version 0.5.1 (latest)

0.5.1

Created 15 March 2024.

Kotlin/JVM common conventions

Using the plugins DSL:

plugins {
  id("com.huanshankeji.kotlin-jvm-common-conventions") version "0.5.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.huanshankeji:kotlin-common-gradle-plugins:0.5.1")
  }
}

apply(plugin = "com.huanshankeji.kotlin-jvm-common-conventions")

Using the plugins DSL:

plugins {
  id "com.huanshankeji.kotlin-jvm-common-conventions" version "0.5.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.huanshankeji:kotlin-common-gradle-plugins:0.5.1"
  }
}

apply plugin: "com.huanshankeji.kotlin-jvm-common-conventions"

Learn how to apply plugins to subprojects