@@ -10,14 +10,14 @@ buildscript {
10
10
classpath(
11
11
group : " net.minecraftforge.gradle" ,
12
12
name : " ForgeGradle" ,
13
- version : forgeGradleVersion ,
13
+ version : forge_gradle_version ,
14
14
changing : true
15
15
)
16
16
classpath(
17
- " org.jetbrains.kotlin:kotlin-gradle-plugin:$k otlinVersion "
17
+ " org.jetbrains.kotlin:kotlin-gradle-plugin:$k otlin_version "
18
18
)
19
19
classpath(
20
- " org.jetbrains.dokka:dokka-gradle-plugin:$d okkaVersion "
20
+ " org.jetbrains.dokka:dokka-gradle-plugin:$d okka_version "
21
21
)
22
22
}
23
23
}
@@ -27,9 +27,9 @@ apply(plugin: "net.minecraftforge.gradle")
27
27
apply(plugin : " kotlin" )
28
28
apply(plugin : " java" )
29
29
30
- version = projectEssentialsVersion
31
- group = " com.mairwunnx.$p rojectEssentialsId "
32
- archivesBaseName = projectEssentialsName
30
+ version = module_version
31
+ group = " com.mairwunnx.$m odule_id "
32
+ archivesBaseName = module_name
33
33
34
34
configurations {
35
35
embed
@@ -38,14 +38,14 @@ configurations {
38
38
39
39
minecraft {
40
40
mappings(
41
- channel : mappingsChannelType ,
42
- version : mappingsChannelVersion
41
+ channel : forge_mappings_channel_type ,
42
+ version : forge_mappings_channel_version
43
43
)
44
44
45
45
runs {
46
46
client {
47
47
// noinspection GroovyAssignabilityCheck
48
- workingDirectory(project. file(devRunClientPath ))
48
+ workingDirectory(project. file(dev_run_client_path ))
49
49
property(" forge.logging.markers" , " SCAN,REGISTRIES,REGISTRYDUMP" )
50
50
property(" forge.logging.console.level" , " debug" )
51
51
mods {
@@ -58,7 +58,7 @@ minecraft {
58
58
59
59
server {
60
60
// noinspection GroovyAssignabilityCheck
61
- workingDirectory(project. file(devRunServerPath ))
61
+ workingDirectory(project. file(dev_run_server_path ))
62
62
property(" forge.logging.markers" , " SCAN,REGISTRIES,REGISTRYDUMP" )
63
63
property(" forge.logging.console.level" , " debug" )
64
64
mods {
@@ -79,27 +79,27 @@ repositories {
79
79
}
80
80
81
81
dependencies {
82
- minecraft(group : " net.minecraftforge" , name : " forge" , version : forgeBaseVersion )
83
- compile(group : " com.mojang" , name : " brigadier" , version : brigadierBaseVersion )
82
+ minecraft(group : " net.minecraftforge" , name : " forge" , version : forge_version )
83
+ compile(group : " com.mojang" , name : " brigadier" , version : brigadier_version )
84
84
compile(
85
85
group : " org.jetbrains.kotlinx" ,
86
86
name : " kotlinx-serialization-runtime" ,
87
- version : kotlinxSerializationVersion
87
+ version : kotlinx_serialization_version
88
88
)
89
89
embed(
90
90
group : " org.jetbrains.kotlinx" ,
91
91
name : " kotlinx-serialization-runtime" ,
92
- version : kotlinxSerializationVersion
92
+ version : kotlinx_serialization_version
93
93
)
94
94
compile(
95
95
group : " org.jetbrains.kotlin" ,
96
- name : " kotlin-stdlib-$k otlinJdkVersionTarget " ,
97
- version : kotlinVersion
96
+ name : " kotlin-stdlib-$k otlin_jdk_version_target " ,
97
+ version : kotlin_version
98
98
)
99
99
embed(
100
100
group : " org.jetbrains.kotlin" ,
101
- name : " kotlin-stdlib-$k otlinJdkVersionTarget " ,
102
- version : kotlinVersion
101
+ name : " kotlin-stdlib-$k otlin_jdk_version_target " ,
102
+ version : kotlin_version
103
103
)
104
104
}
105
105
@@ -115,12 +115,12 @@ task modJar(type: Jar) {
115
115
from configurations. embed. collect { it. isDirectory() ? it : zipTree(it) }
116
116
manifest {
117
117
attributes([
118
- " Specification-Title" : projectEssentialsName ,
119
- " Specification-Vendor" : projectEssentialsVendor ,
120
- " Specification-Version" : projectEssentialsVersion ,
121
- " Implementation-Title" : projectEssentialsName ,
122
- " Implementation-Version" : projectEssentialsVersion ,
123
- " Implementation-Vendor" : projectEssentialsVendor ,
118
+ " Specification-Title" : module_name ,
119
+ " Specification-Vendor" : module_version ,
120
+ " Specification-Version" : module_vendor ,
121
+ " Implementation-Title" : module_name ,
122
+ " Implementation-Version" : module_version ,
123
+ " Implementation-Vendor" : module_vendor ,
124
124
" Implementation-Timestamp" : new Date (). format(" yyyy-MM-dd'T'HH:mm:ssZ" )
125
125
])
126
126
}
@@ -133,12 +133,12 @@ project.tasks["modJar"].dependsOn(project.tasks["jar"])
133
133
jar {
134
134
manifest {
135
135
attributes([
136
- " Specification-Title" : projectEssentialsName ,
137
- " Specification-Vendor" : projectEssentialsVendor ,
138
- " Specification-Version" : projectEssentialsVersion ,
139
- " Implementation-Title" : projectEssentialsName ,
140
- " Implementation-Version" : projectEssentialsVersion ,
141
- " Implementation-Vendor" : projectEssentialsVendor ,
136
+ " Specification-Title" : module_name ,
137
+ " Specification-Vendor" : module_vendor ,
138
+ " Specification-Version" : module_version ,
139
+ " Implementation-Title" : module_name ,
140
+ " Implementation-Version" : module_version ,
141
+ " Implementation-Vendor" : module_vendor ,
142
142
" Implementation-Timestamp" : new Date (). format(" yyyy-MM-dd'T'HH:mm:ssZ" )
143
143
])
144
144
}
@@ -155,7 +155,7 @@ reobf {
155
155
156
156
sourceCompatibility = targetCompatibility =
157
157
compileJava. sourceCompatibility =
158
- compileJava. targetCompatibility = jvmVersionTarget
158
+ compileJava. targetCompatibility = project_jvm_version_target
159
159
160
160
compileKotlin. kotlinOptions. jvmTarget =
161
- compileTestKotlin. kotlinOptions. jvmTarget = jvmVersionTarget
161
+ compileTestKotlin. kotlinOptions. jvmTarget = project_jvm_version_target
0 commit comments