- Will autodetect your scripts folder and move compiled jars into it
- Will add all required dependencies to your scripts for you
-
To add a script go to your settings.gradle.kts file and add the following line of code
include("scripts:{your script name}")
-
then make a directory for your new script under the scripts folder make sure your script has the following stucture
scripts/{name of your script}/src/main/java/Main.java
- click on this icon in intelij
- go to the scripts dropdown and search for the build run that and your ready to run your script
- got to file -> Project from version control
- when on this dialogue copy this url into the URL box and click clone
- thats it now use the template as described above