Kotlin command-line examples
To translate a single file named MyKotlin.kt with A.jar as the class path, type:
sourceanalyzer -b MyProject -cp lib/A.jar MyKotlin.kt
To translate all .kt files in the src directory using all JAR files in the lib directory as a class path, type:
sourceanalyzer -b MyProject -cp "lib/**/*.jar" "src/**/*.kt"
To translate a gradle project using gradlew, type:
sourceanalyzer -b MyProject gradlew clean assemble
To translate all files in the src directory using Java dependencies from src/java and all JAR files in the lib directory and subdirectories as a class path, type:
sourceanalyzer –b MyProject –cp "lib/**/*.jar" -sourcepath "src/java" "src"