-
Notifications
You must be signed in to change notification settings - Fork 0
Development
To build CARIS from the terminal, navigate to the root folder of the CARIS project. To confirm that the directory is correct, look for the build.gradle file. It must be in the directory you are running Gradle from.
gradle build
To remove any old files that may interfere in the building of the project, run:
gradle clean
To run CARIS during development, it is convenient to start CARIS directly from Gradle. This has the benefit of managing all required dependencies, without undue hassle.
gradle run
By default, Gradle is not configured to pass any arguments to the Java environment. However, it is necessary to provide the Bot Token as the first argument. To pass arguments to CARIS, use the flag:
-PrunArgs="['Arg1','Arg2','Arg3']"
It is possible to include as many arguments as necessary.
The complete command may look like:
gradle run -PrunArgs="['TOKEN']"