Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spotbugs tasks aren't included in tasks #467

Closed
xenoterracide opened this issue Mar 31, 2021 · 2 comments
Closed

spotbugs tasks aren't included in tasks #467

xenoterracide opened this issue Mar 31, 2021 · 2 comments

Comments

@xenoterracide
Copy link

it does show up with --all but I find it questionable that I would have to use all to see it. It also doesn't have a description string. However, this could be a mistake in my understanding of gradle and how these are generated/categorized.

 ./gradlew tasks
> Task :tasks

------------------------------------------------------------
Tasks runnable from root project 'brix'
------------------------------------------------------------

Application tasks
-----------------
run - Runs this project as a JVM application

Build tasks
-----------
assemble - Assembles the outputs of this project.
build - Assembles and tests this project.
buildDependents - Assembles and tests this project and all projects that depend on it.
buildNeeded - Assembles and tests this project and all projects it depends on.
classes - Assembles main classes.
clean - Deletes the build directory.
deb
dmg
jar - Assembles a jar archive containing the main classes.
msi
rpm
testClasses - Assembles test classes.
testFixturesClasses - Assembles test fixtures classes.
testFixturesJar - Assembles a jar archive containing the classes of the 'testFixtures'.

Build Setup tasks
-----------------
init - Initializes a new Gradle build.
wrapper - Generates Gradle wrapper files.

Distribution tasks
------------------
assembleDist - Assembles the main distributions
distTar - Bundles the project as a distribution.
distZip - Bundles the project as a distribution.
installDist - Installs the project as a distribution as-is.

Documentation tasks
-------------------
javadoc - Generates Javadoc API documentation for the main source code.
testFixturesJavadoc - Generates Javadoc API documentation for the 'testFixtures' feature.

Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in root project 'brix'.
dependencies - Displays all dependencies declared in root project 'brix'.
dependencyInsight - Displays the insight into a specific dependency in root project 'brix'.
help - Displays a help message.
javaToolchains - Displays the detected java toolchains. [incubating]
kotlinDslAccessorsReport - Prints the Kotlin code for accessing the currently available project extensions and conventions.
outgoingVariants - Displays the outgoing variants of root project 'brix'.
projects - Displays the sub-projects of root project 'brix'.
properties - Displays the properties of root project 'brix'.
tasks - Displays the tasks runnable from root project 'brix'.

Verification tasks
------------------
check - Runs all checks.
spotlessApply - Applies code formatting steps to sourcecode in-place.
spotlessCheck - Checks that sourcecode satisfies formatting steps.
spotlessDiagnose
test - Runs the unit tests.

Rules
-----
Pattern: clean<TaskName>: Cleans the output files of a task.
Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.
Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a configuration.

To see all tasks and more detail, run gradlew tasks --all

To see more detail about a task, run gradlew help --task <task>

BUILD SUCCESSFUL in 591ms
1 actionable task: 1 executed
@KengoTODA
Copy link
Member

Probably we need to call Task#setDescription() and Task#setGroup() to set these metadata for tasks.

@github-actions
Copy link

🎉 This issue has been resolved in version 4.7.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants