Changing the target folder for downloaded library using the DownloadableLibraryType

I am creating a library and downloading it using the DownloadableLibraryType in my plugin. While that works as expected, I want to change the default target location of the download from <Project Root>/lib to some other folder. Looking at the source code for IntelliJ, I have found that the DownloadableLibraryPropertiesEditor.edit() method populates the target location for the files to be downloaded, which happens to be /lib in the project directory.

Is there any way to change this default location?  

Please sign in to leave a comment.