File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
build-logic/src/main/kotlin/org/terasology/gradology Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ import org.gradle.api.plugins.JavaApplication
1010import org.gradle.api.provider.Property
1111import org.gradle.api.tasks.Input
1212import org.gradle.api.tasks.JavaExec
13+ import org.gradle.api.tasks.Optional
1314import org.gradle.api.tasks.SourceSetContainer
1415import org.gradle.api.tasks.options.Option
1516import org.gradle.kotlin.dsl.get
16- import org.gradle.kotlin.dsl.property
1717import org.gradle.kotlin.dsl.the
1818
1919const val DEFAULT_MAX_HEAP_SIZE = " 3G"
@@ -46,10 +46,11 @@ fun isMacOS() : Boolean {
4646}
4747
4848
49- open class RunTerasology : JavaExec () {
49+ abstract class RunTerasology : JavaExec () {
5050
51+ @get:Optional
5152 @get:Input
52- val jmxPort: Property <Int > = objectFactory.property()
53+ abstract val jmxPort: Property <Int >
5354
5455 @Option(option= " jmx-port" , description= " Enable JMX connections on this port (jmxremote.port)" )
5556 fun parseJmxPort (value : String? ) {
You can’t perform that action at this time.
0 commit comments