Support for Gradle Tasks?
SupinePandora43 opened this issue ยท 9 comments
?
can you provide some more info. do gradle files have particualr extension? Are they script files or do they contin targets like ant files do? Can you send a very basic gradle file? Id rather work off of the info you can provide rather than get it off the net since I have 0 experience with gradle
extension: .gradle, usually named build.gradle
gradle is java (not only) builder/packager tool such as Maven.
.gradle files are Groovy/(sometimes Kotlin) script files
completed initial support, it is in 1.15, it is unreleased but ill release it this weekend sometime after I have some time to do more testing
@spmeesseman thanks your extension is cool!
๐ This issue has been resolved in version 1.15.0 ๐
The release is available on GitHub release
Your semantic-release bot ๐ฆ๐
@spmeesseman pls remove "/samples/" from exculding
@spmeesseman extension show only defined in gradle file tasks, but not show tasks from installed in .gradle file plugins, can be fixed with option "taskExplorer.gradle.showAllTasks": "true"
Only user defined tasks are shown. Gradle also have plugins, which add more tasks. In the example file only the 'fatJar' task is shown, but there are a number of tasks, like build, jar, check, eclipse, javadoc etc.
You can check all those tasks running 'gradle -b test.gradle tasks --all' (there's no need to specify the file with the '-b' switch if this file was named build.gradle). Task is a task that show the available tasks. The build, check, jar and javadoc tasks are included with the java plugin and the eclipse task is included with the eclipse plugin.
Also, the user does not need to use an installed gradle. Gradle can generate a wrapper to be delivered along the code. Thus, the person with the code doesn't need to install gradle. He can use the gradlew script.
@francilioaraujo i dont know why peoples using gradlew, i'm just install gradle-all from site with examples.
and yes this extension dont show tasks from plugins(
@spmeesseman extension show only defined in gradle file tasks, but not show tasks from installed in .gradle file plugins