File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ tasks {
5959 props[" name" ] = rootProject.name
6060 props[" version" ] = " ${rootProject.version} "
6161 props[" api_version" ] = mcApiVersionRegex.find(libs.versions.paper.get())?.value
62+ props[" main_class" ] = " ${rootProject.group} .${rootProject.name.lowercase()} .${props[" main_class" ]} "
6263
6364 filesMatching(" plugin.yml" ) {
6465 expand(props.map { " plugin_${it.key} " to it.value }.toMap())
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ tasks {
5959 props[" name" ] = rootProject.name
6060 props[" version" ] = " ${rootProject.version} "
6161 props[" api_version" ] = mcApiVersionRegex.find(libs.versions.paper.get())?.value
62+ props[" main_class" ] = " ${rootProject.group} .${rootProject.name.lowercase()} .${props[" main_class" ]} "
6263
6364 filesMatching(" plugin.yml" ) {
6465 expand(props.map { " plugin_${it.key} " to it.value }.toMap())
You can’t perform that action at this time.
0 commit comments