Search Gradle plugins

Version 0.0.14 (latest)

Created 12 April 2022.

Plugin for simplify publishing android library to maven center,visit https://github.com/hanlyjiang/android-libraries/blob/master/gradlePlugins/doc/AndroidMavenPubPlugin使用说明.md for how to use.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.github.hanlyjiang.android_maven_pub") version "0.0.14"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.github.hanlyjiang.android_maven_pub:com.github.hanlyjiang.android_maven_pub.gradle.plugin:0.0.14")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.github.hanlyjiang.android_maven_pub")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.github.hanlyjiang.android_maven_pub:com.github.hanlyjiang.android_maven_pub.gradle.plugin:0.0.14")
      }
    }
    
    apply(plugin = "com.github.hanlyjiang.android_maven_pub")
  • Applying plugins to all subprojects .