Skip to content

Releases: kelemen/netbeans-gradle-project

Version 1.3.9.1

11 Oct 18:28
Compare
Choose a tag to compare
  • Fixes regression: Test single class for tests in the root project executes all tests.
  • Fixes regression: Enabling compile on save will cause NetBeans to report errors for non-Gradle projects.
  • Fixes regression: Extensions using the old (now deprecated) API (such as the EE plugin) are broken.

Version 1.3.9

05 Oct 17:07
Compare
Choose a tag to compare
  • New task variable: ${selected-file} for tasks associated with a file (e.g.: run/test single)
  • New task variable: ${project-path} which is the fully qualified name of the project (i.e.: org.gradle.api.Project.getPath).
  • run/debug tasks are no longer executed on subprojects by default.
  • It is now possible to detect project dependencies based on the name of the jar file. That is, if a project generates a jar file with this name, the dependency is replaced with a project dependency.
  • settings.gradle on the editor tab is now annotated with the name of its containing directory.
  • gradle.properties on the editor tab is now annotated with the name of its containing directory. Only works if "multi-row tabs" are enabled in the global settings.
  • Directories containing a -build.gradle are now also recognized as Gradle projects.
  • Project display name format can now be customized on a (multi-)project level.
  • The organization of source nodes can now be customized on a (multi-)project level.
  • It is now possible to define custom task variables.
  • It is now possible to set a global default for every project property (from the project properties dialog, select the global profile).
  • New API: Better way to define a settings editor page for profile aware project properties. The old API is now deprecated.
  • New API: Custom model loading now has new interfaces to implement not referencing org.gradle.api.Project as they are no longer in the Tooling API. The old interfaces are deprecated and will be removed (really) in the future to allow upgrading to a new Tooling API version.
  • Fixed some rare NullPointerException: Issue 289.
  • The license header selection page in the project properties is now more user friendly.
  • The default run/debug tasks now configure the cmdLineArgs property with the task variable: ${cmd-line-args} for the projects. The init script applied by NetBeans will try to configure the run and debug tasks using this property. This with the ability of custom task variable definition now allows for a reasonable command line argument definition.
  • When it is not possible to load the project due to a script error, the project's context menu will contain a "Resolve project problems" menu which opens a dialog where you can see more details on the problem.
  • When there is a dependency resolution issue, the plugin does a best effort to gather as many dependencies as it can (it is only a best effort, there is no guarantee that it will only omit the one which it failed to resolve).
  • The default init script, this plugin applies, will try to cooperate with the application Gradle plugin as much as it possibly can.
  • Run/Debug/Build/Test/Clean/Reload project in the context menu now all have a shortcut key.
  • Should fix Bug 267789.
  • Removed the refresh project node action from the project's context menu because it lacked usefulness and was misleading.

Version 1.3.8.1

09 Jan 22:34
Compare
Choose a tag to compare

This version only works with NetBeans 8.1 or later.

  • Fixes memory leak caused by too many output windows: issue number 256355 in netbeans.org/bugzilla
  • Code coverage results created by the jacoco plugin are now visualized the same as in other NetBeans project types.
  • Added "Find" action to the project's context menu
  • The "Gradle Home" node under the "Build Scripts" node now lists every .gradle files in <user.home>/.gradle.
  • Init scripts automatically applied for task execution by NetBeans can now be configured to be manually maintained. Manual maintaining should only be used if these scripts interfere with the build (otherwise the scripts won't be updated on the next plugin update).
  • Added support for new debugging mode: Debuggee attaches to NetBeans. In this mode, detaching the debugger immediately kills the debugee. Also, in this new mode you no longer need a separate debug task (run is used instead by default). This is configurable both in the global settings and in the project properties.
  • Fixes #251: Saving task from the custom task execution task dialog no longer removes every other custom tasks.
  • Fixes #241: Projects without a settings.gradle found under a multi-project build with a settings.gradle can now be opened (still, they are not recommended). This feature requires loading of the root project first (which is usually not a problem), if this is undesired, loading of root project first can be disabled in the global settings.
  • Fixed "May rely on source level / target compatibility of Idea plugin" (the global settings page ignored this checkbox).
  • There is only a single "source" tab for .gradle files now
  • The default Gradle version is now 2.10
  • API improvement: NodeFactory.Registration annotation is now supported
  • API improvement: ProjectCustomizer.CompositeCategoryProvider.Registrations annotation is now supported
  • API improvement: Added GradleCommandServiceFactory. This allows running something in the background while a Gradle command is running (stopped after the Gradle command terminates).
  • API improvement: Added ProjectSettingsProvider: Allows extensions to access profile based configuration.
  • API improvement: Added ProfileBasedConfigurations: Allows extensions to easily create a settings page to adjust configuration of an arbitrary profile.

Version 1.3.8

09 Jan 22:33
Compare
Choose a tag to compare

This version does not work with NetBeans 8.1 or later.

  • Fixes memory leak caused by too many output windows: issue number 256355 in netbeans.org/bugzilla
  • Added "Find" action to the project's context menu
  • The "Gradle Home" node under the "Build Scripts" node now lists every .gradle files in <user.home>/.gradle.
  • Init scripts automatically applied for task execution by NetBeans can now be configured to be manually maintained. Manual maintaining should only be used if these scripts interfere with the build (otherwise the scripts won't be updated on the next plugin update).
  • Added support for new debugging mode: Debuggee attaches to NetBeans. In this mode, detaching the debugger immediately kills the debugee. Also, in this new mode you no longer need a separate debug task (run is used instead by default). This is configurable both in the global settings and in the project properties.
  • Fixes #251: Saving task from the custom task execution task dialog no longer removes every other custom tasks.
  • Fixes #241: Projects without a settings.gradle found under a multi-project build with a settings.gradle can now be opened (still, they are not recommended). This feature requires loading of the root project first (which is usually not a problem), if this is undesired, loading of root project first can be disabled in the global settings.
  • Fixed "May rely on source level / target compatibility of Idea plugin" (the global settings page ignored this checkbox).
  • There is only a single "source" tab for .gradle files now
  • The default Gradle version is now 2.10
  • API improvement: NodeFactory.Registration annotation is now supported
  • API improvement: ProjectCustomizer.CompositeCategoryProvider.Registrations annotation is now supported
  • API improvement: Added GradleCommandServiceFactory. This allows running something in the background while a Gradle command is running (stopped after the Gradle command terminates).
  • API improvement: Added ProjectSettingsProvider: Allows extensions to access profile based configuration.
  • API improvement: Added ProfileBasedConfigurations: Allows extensions to easily create a settings page to adjust configuration of an arbitrary profile.

Version 1.3.7.3

18 Aug 17:51
Compare
Choose a tag to compare
  • Fixes a possible crash when NetBeans searches for projects on UNC paths.
  • Fixed an issue where a project loading were unnecessary.

Version 1.3.7

24 May 01:30
Compare
Choose a tag to compare
  • Improved handling of non-default root projects.
  • Project view icons now have an "opened" version.
  • Sources can now be grouped by source sets.
  • Fixes NPE when displaying the global settings using GTK Look and Feel.
  • JavaFX files can now be added in the add new file dialog.
  • Fixes regression: Project wizards will create invalid files when Change Line Endings on Save plugin is not installed.
  • New extension API: Other NetBeans plugins might define additional arguments passed to Gradle.
  • Reduced the number of (unnecessary) class path scanning requests.
  • Improved the detection of test outputs for custom test tasks (Issue #200).
  • Fixed an NPE when opening the stack trace node in the test results window.
  • Fixed input provided to Gradle (via the standard input) when using unicode characters requiring more than one byte in UTF-16.
  • Working around a Gradle bug which prevents forwarding input to standard input (unless you close the input stream) on Windows. The workaround replaces LF characters with CR LF on Windows (can be turned off in the global settings).

Version 1.3.6

24 May 01:33
Compare
Choose a tag to compare
  • Fixes regression: Sometimes the run/debug/generate javadoc commands are disabled for no reason.
  • Fixes regression: Project wizards will create invalid files when the line ending is not LF.
  • Executing debug tasks via Ctrl+F11 no longer cancels the build immediately.
  • Root project in custom locations are now supported. For this feature to work, you have to keep the root project open. (Note: If you have multiple root projects open for a single subproject, NetBeans will pick one at random).
  • New task variable: ${env.MY_ENV_VAR} where "MY_ENV_VAR" can be any environment variable and the task variable will be replaced by the value of the given environment variable.

Version 1.3.5

06 May 18:07
Compare
Choose a tag to compare
  • The default Gradle version is now 2.4.
  • The plugin will now be less eager to close nodes in the project view when reloading the project.
  • New Gradle files can now be added using the new file wizard.
  • Source files outside the project directory are now supported (they are still not recommended).
  • The "Build Scripts" node in the project view should now display a lot more known script files (e.g.: global init scripts, root project) and has a useful context menu.
  • The plugin will now find more tasks of what the project declares (especially with Gradle 2.4).
  • Fixed some automatic link detections in the output window (more precise underlining and now supports file and https URLs).
  • The display name of the project can now be customized in the global settings.
  • Gradle arguments (e.g.: --offline) can now be specified for all Gradle commands and project loading in the global settings.
  • The timeout for the Gradle daemon to die can now be set in the global settings.
  • You can now specify a preference order for the added JDKs. This is useful if you have multiple JDKs with the same major version number (e.g.: 32 bit or 64 bit).
  • It is now possible to specify in the global settings to rely on the Gradle wrapper by default and also specify a Gradle installation to use when there is no wrapper.
  • Reworked the project properties dialog and the global settings panel (including many UI improvements).
  • From this version, settings set by future versions of this plugin will no longer be removed by an older version (at least 1.3.5) of this plugin.
  • Property usage through AuxiliaryConfiguration is now safe for extensions.
  • Completely refactored the internal property handling, so adding new properties will be a lot easier in the future.

Version 1.3.4

07 Mar 16:26
Compare
Choose a tag to compare
  • Fixed a bug in the default "build" task when skip test or skip check is turned on.
  • Added compile on save feature (runs "Apply Code Changes" action).

Version 1.3.3

04 Mar 19:27
Compare
Choose a tag to compare
  • Warning: Using Gradle 2.3 is not fully supported by this plugin (there will be some feature loss) due to a Gradle bug (already fixed in Gradle). Regardless, this version of this plugin will try its best to load the project.
  • Skipped tests are no longer displayed as failures with newer versions of Gradle. (Issue #167)
  • If there are no sources for a dependency but there is a javadoc artifact (and the idea plugin of Gradle is configured to download them), the javadoc artifact is used to display the javadoc (rather than nothing). (Issue #179)
  • Only links are underlined in the output window, not the whole line (consequently, multiple links might appear in a single line). (Issue #164)
  • NetBeans will now be less eager to fully load projects when they are not needed.
  • Exclude and include rules of source directory sets. (Issue #184)
  • NetBeans should now show source files found in directories excluded from VCS. (Issue #132)
  • When a project has many Gradle tasks, they are automatically grouped in the project's context menu. (Issue #104)