File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,12 +32,14 @@ const ICON_ADVANCED_OPTION = "Generate Unique Mod Icon";
3232const KOTLIN_ADVANCED_OPTION = "Kotlin Programming Language" ;
3333const DATAGEN_ADVANCED_OPTION = "Data Generation" ;
3434const SPLIT_ADVANCED_OPTION = "Split client and common sources" ;
35+ const KOTLIN_DSL_ADVANCED_OPTION = "Gradle Kotlin DSL" ;
3536
3637const ADVANCED_OPTIONS : Map < string , string > = new Map ( [
3738 [ "kotlin" , KOTLIN_ADVANCED_OPTION ] ,
3839 [ "datagen" , DATAGEN_ADVANCED_OPTION ] ,
3940 [ "splitSources" , SPLIT_ADVANCED_OPTION ] ,
4041 [ "mojangMappings" , MOJMAP_ADVANCED_OPTION ] ,
42+ [ "gradleKotlin" , KOTLIN_DSL_ADVANCED_OPTION ] ,
4143] ) ;
4244
4345interface CliOptions {
@@ -286,6 +288,7 @@ async function promptUser(
286288 splitSources : advancedOptions . includes ( SPLIT_ADVANCED_OPTION ) ,
287289 uniqueModIcon : advancedOptions . includes ( ICON_ADVANCED_OPTION ) &&
288290 ENABLE_ICON_GENERATION ,
291+ gradleKotlin : advancedOptions . includes ( KOTLIN_DSL_ADVANCED_OPTION ) ,
289292 } ;
290293}
291294
You can’t perform that action at this time.
0 commit comments