File tree Expand file tree Collapse file tree 5 files changed +20
-11
lines changed
kotlin/com/mairwunnx/projectessentialscore Expand file tree Collapse file tree 5 files changed +20
-11
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,9 @@ dokka {
110
110
111
111
project. tasks[" jar" ]. dependsOn(project. tasks[" dokka" ])
112
112
113
- task fatJar (type : Jar ) {
113
+ task modJar (type : Jar ) {
114
+ with tasks. jar
115
+ from configurations. embed. collect { it. isDirectory() ? it : zipTree(it) }
114
116
manifest {
115
117
attributes([
116
118
" Specification-Title" : projectEssentialsName,
@@ -122,12 +124,11 @@ task fatJar(type: Jar) {
122
124
" Implementation-Timestamp" : new Date (). format(" yyyy-MM-dd'T'HH:mm:ssZ" )
123
125
])
124
126
}
127
+ // noinspection GrDeprecatedAPIUsage
125
128
baseName = project. name + ' -MOD'
126
- from configurations. embed. collect { it. isDirectory() ? it : zipTree(it) }
127
- with jar
128
129
}
129
130
130
- project. tasks[" jar " ]. dependsOn(project. tasks[" fatJar " ])
131
+ project. tasks[" modJar " ]. dependsOn(project. tasks[" jar " ])
131
132
132
133
jar {
133
134
manifest {
@@ -141,9 +142,17 @@ jar {
141
142
" Implementation-Timestamp" : new Date (). format(" yyyy-MM-dd'T'HH:mm:ssZ" )
142
143
])
143
144
}
145
+ // noinspection GrDeprecatedAPIUsage
144
146
baseName = project. name + ' -API'
145
147
}
146
148
149
+ reobf {
150
+ modJar {
151
+ dependsOn jar
152
+ mappings = createMcpToSrg. outputs. files. singleFile
153
+ }
154
+ }
155
+
147
156
sourceCompatibility = targetCompatibility =
148
157
compileJava. sourceCompatibility =
149
158
compileJava. targetCompatibility = jvmVersionTarget
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ mappingsChannelVersion=20190719-1.14.3
14
14
kotlinJdkVersionTarget =jdk8
15
15
kotlinxSerializationVersion =0.12.0
16
16
kotlinVersion =1.3.50
17
- projectEssentialsVersion =1.14.4-1.0.1 .0
17
+ projectEssentialsVersion =1.14.4-1.0.2 .0
18
18
projectEssentialsName =Project Essentials Core
19
19
projectEssentialsId =project_essentials_core
20
20
projectEssentialsVendor =MairwunNx (Pavel Erokhin)
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import net.minecraftforge.fml.common.Mod
7
7
internal class EntryPoint : EssBase () {
8
8
init {
9
9
modInstance = this
10
- modVersion = " 1.14.4-1.0.1 .0"
10
+ modVersion = " 1.14.4-1.0.2 .0"
11
11
logBaseInfo()
12
12
validateForgeVersion()
13
13
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ issueTrackerURL="https://github.com/ProjectEssentials/ProjectEssentials-Core/iss
4
4
5
5
[[mods ]]
6
6
modId =" project_essentials_core"
7
- version =" 1.14.4-1.0.1 .0"
7
+ version =" 1.14.4-1.0.2 .0"
8
8
displayName =" Project Essentials Core"
9
9
updateJSONURL =" https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Core/MC-1.14.X/update.json"
10
10
displayURL =" https://github.com/ProjectEssentials/ProjectEssentials-Core"
Original file line number Diff line number Diff line change 1
1
{
2
- "homepage" : " https://github.com/ProjectEssentials/ProjectEssentials-Core/releases/tag/v1.14.4-1.0.1 .0" ,
2
+ "homepage" : " https://github.com/ProjectEssentials/ProjectEssentials-Core/releases/tag/v1.14.4-1.0.2 .0" ,
3
3
"1.14.4" : {
4
- "1.14.4-1.0.1 .0" : " - Added playerName extension in CommandContext ."
4
+ "1.14.4-1.0.2 .0" : " - Fixed crash while dependency using CoreAPI ."
5
5
},
6
6
"promos" : {
7
- "1.14.4-latest" : " 1.14.4-1.0.1 .0" ,
8
- "1.14.4-recommended" : " 1.14.4-1.0.1 .0"
7
+ "1.14.4-latest" : " 1.14.4-1.0.2 .0" ,
8
+ "1.14.4-recommended" : " 1.14.4-1.0.2 .0"
9
9
}
10
10
}
You can’t perform that action at this time.
0 commit comments