|
|
@ -17,7 +17,6 @@ import org.jetbrains.compose.desktop.application.internal.* |
|
|
|
import org.jetbrains.compose.desktop.application.internal.ComposeProperties |
|
|
|
import org.jetbrains.compose.desktop.application.internal.ComposeProperties |
|
|
|
import org.jetbrains.compose.desktop.application.internal.normalizedPath |
|
|
|
import org.jetbrains.compose.desktop.application.internal.normalizedPath |
|
|
|
import org.jetbrains.compose.desktop.tasks.AbstractComposeDesktopTask |
|
|
|
import org.jetbrains.compose.desktop.tasks.AbstractComposeDesktopTask |
|
|
|
import org.jetbrains.kotlin.konan.file.File |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
abstract class AbstractSuggestModulesTask : AbstractComposeDesktopTask() { |
|
|
|
abstract class AbstractSuggestModulesTask : AbstractComposeDesktopTask() { |
|
|
|
@get:Input |
|
|
|
@get:Input |
|
|
@ -53,7 +52,7 @@ abstract class AbstractSuggestModulesTask : AbstractComposeDesktopTask() { |
|
|
|
add("--multi-release") |
|
|
|
add("--multi-release") |
|
|
|
add(jvmTarget.get()) |
|
|
|
add(jvmTarget.get()) |
|
|
|
add("--class-path") |
|
|
|
add("--class-path") |
|
|
|
add(files.joinToString(File.pathSeparator) { it.normalizedPath() }) |
|
|
|
add(files.joinToString(java.io.File.pathSeparator) { it.normalizedPath() }) |
|
|
|
add(launcherMainJar.ioFile.normalizedPath()) |
|
|
|
add(launcherMainJar.ioFile.normalizedPath()) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -79,4 +78,4 @@ abstract class AbstractSuggestModulesTask : AbstractComposeDesktopTask() { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|