mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-15 05:41:51 +08:00
Define fabric refmap json file
This prevents conflicts with other plugins that use mixins and define default refmap file. Affects issues: - Fixed #3106
This commit is contained in:
parent
89ebbb3203
commit
2bab8f7744
@ -30,6 +30,11 @@ dependencies {
|
|||||||
testImplementation project(path: ":common", configuration: 'testArtifacts')
|
testImplementation project(path: ":common", configuration: 'testArtifacts')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
loom {
|
||||||
|
// Defining separate refmap file prevents conflicts with plugin mixins
|
||||||
|
mixin.defaultRefmapName.set("plan-fabric-refmap.json")
|
||||||
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile).configureEach {
|
tasks.withType(JavaCompile).configureEach {
|
||||||
options.release.set(17)
|
options.release.set(17)
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
"minVersion": "0.8",
|
"minVersion": "0.8",
|
||||||
"package": "net.playeranalytics.plan.gathering.listeners.events.mixin",
|
"package": "net.playeranalytics.plan.gathering.listeners.events.mixin",
|
||||||
"compatibilityLevel": "JAVA_17",
|
"compatibilityLevel": "JAVA_17",
|
||||||
|
"refmap": "plan-fabric-refmap.json",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
"ClientToServerHandshakePacketMixin",
|
"ClientToServerHandshakePacketMixin",
|
||||||
"KickCommandMixin",
|
"KickCommandMixin",
|
||||||
|
Loading…
Reference in New Issue
Block a user