Search Gradle plugins

Version 0.3.2 (latest)

0.3.2

Created 29 September 2022.

Java conventions with Javadoc, sources, and 1.8 compatibility for publish

Using the plugins DSL:

plugins {
  id("com.huanshankeji.java-1-8-compatibility-publish-conventions") version "0.3.2"
}

Using legacy plugin application:

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

apply(plugin = "com.huanshankeji.java-1-8-compatibility-publish-conventions")

Using the plugins DSL:

plugins {
  id "com.huanshankeji.java-1-8-compatibility-publish-conventions" version "0.3.2"
}

Using legacy plugin application:

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

apply plugin: "com.huanshankeji.java-1-8-compatibility-publish-conventions"

Learn how to apply plugins to subprojects