Skip to content

Commit

Permalink
chore: fix path on Windows, avoid some warning about logging itself
Browse files Browse the repository at this point in the history
  • Loading branch information
Cervator committed Jul 11, 2020
1 parent 4a9dc64 commit d9e2e18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/groovy/org/terasology/cli/GooeyCLI.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// SPDX-License-Identifier: Apache-2.0
package org.terasology.cli

// Avoid some ugly warnings about logging itself - see http://www.slf4j.org/codes.html#StaticLoggerBinder
@Grab(group = 'org.slf4j', module = 'slf4j-nop', version = '1.6.1')

// Grab the Groovy extensions for PicoCLI - in IntelliJ Alt-ENTER on a `@Grab` to register contents for syntax highlighting
@Grab('info.picocli:picocli-groovy:4.3.2')
// TODO: Actually exists inside the Gradle Wrapper - gradle-6.4.1\lib\groovy-all-1.3-2.5.10.jar\groovyjarjarpicocli\
Expand Down
2 changes: 1 addition & 1 deletion gw.bat
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ set CLASSPATH=%APP_HOME%gradle\wrapper\gradle-wrapper.jar;%APP_HOME%gradle\wrapp


@rem Execute Groovy via the Gradle Wrapper
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -cp "%CLASSPATH%" org.gradle.wrapper.GroovyWrapperMain config/groovy/GooeyCLI.groovy %CMD_LINE_ARGS%
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -cp "%CLASSPATH%" org.gradle.wrapper.GroovyWrapperMain config/groovy/org/terasology/cli/GooeyCLI.groovy %CMD_LINE_ARGS%

:end
@rem End local scope for the variables with windows NT shell
Expand Down

0 comments on commit d9e2e18

Please sign in to comment.