Search Gradle plugins

io.github.luiqn2007.gradle_plugins.build_tasks

Owner: lq2007

Running some tasks before building, you can create tasks in your projects with java and run before compileJava task, or execute "runSourceTask" task. To use this plugin, you need add compileOnly dependency "com.github.luiqn2007:UselessPluginLib", and create task class in `lq2007.plugins.gradle_plugin` package in your source, implement lq2007.plugins.gradle_plugin.support.ISourcePlugin interface. You can create or edit source by javaparser.

https://github.com/luiqn2007/UselessGradlePlugin

Sources: https://github.com/luiqn2007/UselessGradlePlugin

Version 1.2.6 (latest)

1.2.6

Created 27 February 2022.

Running some tasks before building, you can create tasks in your projects with java and run before compileJava task, or execute "runSourceTask" task. To use this plugin, you need add compileOnly dependency "com.github.luiqn2007:UselessPluginLib", and create task class implement lq2007.plugins.gradle_plugin.support.ISourcePlugin interface. You can create or edit source by javaparser. More detail please see github. Because of network, I often publish failed. So please ignore the fourth version.

Using the plugins DSL:

plugins {
  id("io.github.luiqn2007.gradle_plugins.build_tasks") version "1.2.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.luiqn2007.gradle_plugins:UselessGradlePlugin:1.2.6")
  }
}

apply(plugin = "io.github.luiqn2007.gradle_plugins.build_tasks")

Using the plugins DSL:

plugins {
  id "io.github.luiqn2007.gradle_plugins.build_tasks" version "1.2.6"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.luiqn2007.gradle_plugins:UselessGradlePlugin:1.2.6"
  }
}

apply plugin: "io.github.luiqn2007.gradle_plugins.build_tasks"

Learn how to apply plugins to subprojects