@@ -10,17 +10,17 @@ buildscript {
1010 classpath(
1111 group : " net.minecraftforge.gradle" ,
1212 name : " ForgeGradle" ,
13- version : forgeGradleVersion ,
13+ version : forge_gradle_version ,
1414 changing : true
1515 )
1616 classpath(
17- " org.jetbrains.kotlin:kotlin-gradle-plugin:$k otlinVersion "
17+ " org.jetbrains.kotlin:kotlin-gradle-plugin:$k otlin_version "
1818 )
1919 classpath(
20- " org.jetbrains.kotlin:kotlin-serialization:$k otlinVersion "
20+ " org.jetbrains.kotlin:kotlin-serialization:$k otlin_version "
2121 )
2222 classpath(
23- " org.jetbrains.dokka:dokka-gradle-plugin:$d okkaVersion "
23+ " org.jetbrains.dokka:dokka-gradle-plugin:$d okka_version "
2424 )
2525 }
2626}
@@ -30,19 +30,19 @@ apply(plugin: "net.minecraftforge.gradle")
3030apply(plugin : " kotlin" )
3131apply(plugin : " kotlinx-serialization" )
3232
33- version = projectEssentialsVersion
34- group = " com.mairwunnx.$p rojectEssentialsId "
35- archivesBaseName = projectEssentialsName
33+ version = module_version
34+ group = " com.mairwunnx.$m odule_id "
35+ archivesBaseName = module_name
3636
3737minecraft {
3838 mappings(
39- channel : mappingsChannelType ,
40- version : mappingsChannelVersion
39+ channel : forge_mappings_channel_type ,
40+ version : forge_mappings_channel_version
4141 )
4242
4343 runs {
4444 client {
45- workingDirectory(project. file(devRunClientPath ))
45+ workingDirectory(project. file(dev_run_client_path ))
4646 property(" forge.logging.markers" , " SCAN,REGISTRIES,REGISTRYDUMP" )
4747 property(" forge.logging.console.level" , " debug" )
4848 mods {
@@ -53,7 +53,7 @@ minecraft {
5353 }
5454
5555 server {
56- workingDirectory(project. file(devRunServerPath ))
56+ workingDirectory(project. file(dev_run_server_path ))
5757 property(" forge.logging.markers" , " SCAN,REGISTRIES,REGISTRYDUMP" )
5858 property(" forge.logging.console.level" , " debug" )
5959 mods {
@@ -74,27 +74,27 @@ repositories {
7474}
7575
7676dependencies {
77- minecraft(group : " net.minecraftforge" , name : " forge" , version : forgeBaseVersion )
78- compile(group : " com.mojang" , name : " brigadier" , version : brigadierBaseVersion )
77+ minecraft(group : " net.minecraftforge" , name : " forge" , version : forge_version )
78+ compile(group : " com.mojang" , name : " brigadier" , version : brigadier_version )
7979 compile(
8080 group : " org.jetbrains.kotlinx" ,
8181 name : " kotlinx-serialization-runtime" ,
82- version : kotlinxSerializationVersion
82+ version : kotlinx_serialization_version
8383 )
8484 compile(
8585 group : " org.jetbrains.kotlin" ,
86- name : " kotlin-stdlib-$k otlinJdkVersionTarget " ,
87- version : kotlinVersion
86+ name : " kotlin-stdlib-$k otlin_jdk_version_target " ,
87+ version : kotlin_version
8888 )
8989 compile(
9090 group : " com.github.projectessentials" ,
9191 name : " ProjectEssentials-Core" ,
92- version : " v1.14.4-1.+ "
92+ version : ess_core_version
9393 )
9494 compile(
9595 group : " com.github.projectessentials" ,
9696 name : " ProjectEssentials-Permissions" ,
97- version : " v1.14.4-1.+ "
97+ version : ess_permissions_version
9898 )
9999}
100100
@@ -108,23 +108,23 @@ project.tasks["jar"].dependsOn(project.tasks["dokka"])
108108jar {
109109 manifest {
110110 attributes([
111- " Specification-Title" : projectEssentialsName ,
112- " Specification-Vendor" : projectEssentialsVendor ,
113- " Specification-Version" : projectEssentialsVersion ,
114- " Implementation-Title" : projectEssentialsName ,
115- " Implementation-Version" : projectEssentialsVersion ,
116- " Implementation-Vendor" : projectEssentialsVendor ,
111+ " Specification-Title" : module_name ,
112+ " Specification-Vendor" : module_vendor ,
113+ " Specification-Version" : module_version ,
114+ " Implementation-Title" : module_name ,
115+ " Implementation-Version" : module_version ,
116+ " Implementation-Vendor" : module_vendor ,
117117 " Implementation-Timestamp" : new Date (). format(" yyyy-MM-dd'T'HH:mm:ssZ" )
118118 ])
119119 }
120120}
121121
122122sourceCompatibility = targetCompatibility =
123123 compileJava. sourceCompatibility =
124- compileJava. targetCompatibility = jvmVersionTarget
124+ compileJava. targetCompatibility = project_jvm_version_target
125125
126126compileKotlin. kotlinOptions. jvmTarget =
127- compileTestKotlin. kotlinOptions. jvmTarget = jvmVersionTarget
127+ compileTestKotlin. kotlinOptions. jvmTarget = project_jvm_version_target
128128
129129tasks. withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile ). all {
130130 kotlinOptions {
0 commit comments