LiteCommands Help

Parameters compile flag

Add -parameters flag to your compiler to use all features of LiteCommands: Depending on the build system you are using, add the following code to your project:

Add the following line to your build.gradle.kts file:

tasks.withType<JavaCompile> { options.compilerArgs.add("-parameters") }

Add the following line to your build.gradle file:

tasks.withType(JavaCompile) { options.compilerArgs << "-parameters" }

Add the following lines to your pom.xml file in the plugins section:

<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.11.0</version> <configuration> <compilerArgs> <arg>-parameters</arg> </compilerArgs> </configuration> </plugin>
Last modified: 15 January 2024