Skip to content

Commit

Permalink
Create new events subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
Sychic committed Nov 8, 2023
1 parent 8f78163 commit 91d8ee5
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
7 changes: 5 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ loom {
property("legacy.debugClassLoadingFiner", "true")
programArgs("--tweakClass", "gg.skytils.skytilsmod.tweaker.SkytilsTweaker")
programArgs("--mixin", "mixins.skytils.json")
programArgs("--mixin", "mixins.skytils-events.json")
}
remove(getByName("server"))
}
forge {
mixinConfig("mixins.skytils.json")
mixinConfig("mixins.skytils.json", "mixins.skytils-events.json")
}
mixin {
defaultRefmapName = "mixins.skytils.refmap.json"
Expand Down Expand Up @@ -130,6 +131,8 @@ dependencies {
shadowMe(ktorServer("host-common"))
shadowMe(ktorServer("auth"))

shadowMe(project(":events"))




Expand Down Expand Up @@ -163,7 +166,7 @@ tasks {
"FMLCorePlugin" to "gg.skytils.skytilsmod.tweaker.SkytilsLoadingPlugin",
"FMLCorePluginContainsFMLMod" to true,
"ForceLoadAsMod" to true,
"MixinConfigs" to "mixins.skytils.json",
"MixinConfigs" to "mixins.skytils.json,mixins.skytils-events.json",
"ModSide" to "CLIENT",
"ModType" to "FML",
"TweakClass" to "gg.skytils.skytilsmod.tweaker.SkytilsTweaker",
Expand Down
32 changes: 32 additions & 0 deletions events/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* Skytils - Hypixel Skyblock Quality of Life Mod
* Copyright (C) 2020-2023 Skytils
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
plugins {
kotlin("jvm") version "1.8.22"
id("gg.essential.loom") version "1.3.12"
id("gg.essential.defaults") version "0.3.0"
}

dependencies {
annotationProcessor("com.github.LlamaLad7:MixinExtras:0.1.1")
annotationProcessor("org.spongepowered:mixin:0.8.5:processor")
compileOnly("org.spongepowered:mixin:0.8.5")
}

java.toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
3 changes: 2 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ pluginManagement {
}
}

rootProject.name = "SkytilsMod"
rootProject.name = "SkytilsMod"
include("events")

0 comments on commit 91d8ee5

Please sign in to comment.