diff --git a/build.gradle.kts b/build.gradle.kts index 2155e22..0d786be 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,7 @@ import java.io.StringWriter import java.util.Properties group = "com.github.cs125-illinois" -version = "2021.6.6" +version = "2021.6.7" plugins { kotlin("jvm") version "1.5.20" diff --git a/src/main/kotlin/Solution.kt b/src/main/kotlin/Solution.kt index 998a257..4daf8b1 100644 --- a/src/main/kotlin/Solution.kt +++ b/src/main/kotlin/Solution.kt @@ -355,12 +355,16 @@ fun Executable.fullName(isKotlin: Boolean = false): String { } }.let { if (it.isNotBlank()) { - "$it " + if (isKotlin) { + " $it" + } else { + "$it " + } } else { it } } - return if (isKotlin) { + return if (!isKotlin) { "${visibilityModifier ?: ""}${ if (isStatic()) { "static " diff --git a/src/main/resources/edu.illinois.cs.cs125.jenisol.core.version b/src/main/resources/edu.illinois.cs.cs125.jenisol.core.version index 98ffd21..19a0960 100644 --- a/src/main/resources/edu.illinois.cs.cs125.jenisol.core.version +++ b/src/main/resources/edu.illinois.cs.cs125.jenisol.core.version @@ -1 +1 @@ -version=2021.6.6 \ No newline at end of file +version=2021.6.7 \ No newline at end of file