a01ff27453
# Conflicts: # Common/src/generated/resources/.cache/cache # Common/src/generated/resources/assets/hexcasting/models/block/conjured.json # Common/src/main/java/at/petrak/hexcasting/api/PatternRegistry.kt # Common/src/main/java/at/petrak/hexcasting/api/addldata/ManaHolder.java # Common/src/main/java/at/petrak/hexcasting/api/block/circle/BlockEntityAbstractImpetus.java # Common/src/main/java/at/petrak/hexcasting/api/item/ColorizerItem.java # Common/src/main/java/at/petrak/hexcasting/api/item/DataHolderItem.java # Common/src/main/java/at/petrak/hexcasting/api/item/HexHolderItem.java # Common/src/main/java/at/petrak/hexcasting/api/item/ManaHolderItem.java # Common/src/main/java/at/petrak/hexcasting/api/spell/Action.kt # Common/src/main/java/at/petrak/hexcasting/api/spell/SpellDatum.kt # Common/src/main/java/at/petrak/hexcasting/api/spell/Widget.kt # Common/src/main/java/at/petrak/hexcasting/api/spell/casting/CastingContext.kt # Common/src/main/java/at/petrak/hexcasting/api/spell/casting/CastingHarness.kt # Common/src/main/java/at/petrak/hexcasting/api/spell/mishaps/MishapNoSpellCircle.kt # Common/src/main/java/at/petrak/hexcasting/api/spell/mishaps/MishapNotEnoughArgs.kt # Common/src/main/java/at/petrak/hexcasting/api/utils/ManaHelper.kt # Common/src/main/java/at/petrak/hexcasting/client/RegisterClientStuff.java # Common/src/main/java/at/petrak/hexcasting/client/ShiftScrollListener.java # Common/src/main/java/at/petrak/hexcasting/client/gui/GuiSpellcasting.kt # Common/src/main/java/at/petrak/hexcasting/common/blocks/akashic/BlockAkashicFloodfiller.java # Common/src/main/java/at/petrak/hexcasting/common/blocks/entity/BlockEntityStoredPlayerImpetus.java # Common/src/main/java/at/petrak/hexcasting/common/casting/RegisterPatterns.java # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/OpBlockAxisRaycast.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/OpTheCoolerRead.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/OpTheCoolerReadable.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/OpWrite.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/lists/OpRemove.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/math/OpPowProj.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/math/logic/OpBoolIdentityKindOf.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpBreakBlock.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpConjureBlock.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpCreateWater.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpDestroyWater.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpEdifySapling.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpErase.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpExplode.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpExtinguish.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpIgnite.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpMakeBattery.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpMakePackagedSpell.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpPlaceBlock.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpPotionEffect.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpRecharge.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/OpTheOnlyReasonAnyoneDownloadedPsi.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/great/OpBrainsweep.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/great/OpCreateLava.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/spells/great/OpTeleport.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/stack/OpAlwinfyHasAscendedToABeingOfPureMath.kt # Common/src/main/java/at/petrak/hexcasting/common/casting/operators/stack/OpMask.kt # Common/src/main/java/at/petrak/hexcasting/common/command/ListPatternsCommand.java # Common/src/main/java/at/petrak/hexcasting/common/items/magic/ItemCreativeUnlocker.java # Common/src/main/java/at/petrak/hexcasting/common/items/magic/ItemMediaHolder.java # Common/src/main/java/at/petrak/hexcasting/common/lib/HexBlocks.java # Common/src/main/java/at/petrak/hexcasting/common/lib/HexItems.java # Common/src/main/java/at/petrak/hexcasting/common/misc/AkashicTreeGrower.java # Common/src/main/java/at/petrak/hexcasting/common/network/MsgNewSpellPatternAck.java # Common/src/main/java/at/petrak/hexcasting/common/network/MsgShiftScrollSyn.java # Common/src/main/java/at/petrak/hexcasting/datagen/HexAdvancements.java # Common/src/main/java/at/petrak/hexcasting/datagen/HexItemTagProvider.java # Common/src/main/java/at/petrak/hexcasting/datagen/recipe/HexplatRecipes.kt # Common/src/main/java/at/petrak/hexcasting/mixin/accessor/client/AccessorMouseHandler.java # Common/src/main/java/at/petrak/hexcasting/xplat/IXplatAbstractions.java # Common/src/main/resources/assets/hexcasting/lang/en_us.json # Fabric/gradle.properties # Fabric/src/generated/resources/.cache/cache # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_black.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_blue.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_brown.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_cyan.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_gray.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_green.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_light_blue.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_light_gray.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_lime.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_magenta.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_orange.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_pink.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_purple.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_red.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_white.json # Fabric/src/generated/resources/data/hexcasting/recipes/dye_colorizer_yellow.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_agender.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_aroace.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_aromantic.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_asexual.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_bisexual.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_demiboy.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_demigirl.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_gay.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_genderfluid.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_genderqueer.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_intersex.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_lesbian.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_nonbinary.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_pansexual.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_plural.json # Fabric/src/generated/resources/data/hexcasting/recipes/pride_colorizer_transgender.json # Fabric/src/main/java/at/petrak/hexcasting/fabric/FabricHexClientInitializer.kt # Fabric/src/main/java/at/petrak/hexcasting/fabric/FabricHexConfig.java # Fabric/src/main/java/at/petrak/hexcasting/fabric/FabricHexInitializer.kt # Fabric/src/main/java/at/petrak/hexcasting/fabric/cc/CCDataHolder.java # Fabric/src/main/java/at/petrak/hexcasting/fabric/cc/HexCardinalComponents.java # Fabric/src/main/java/at/petrak/hexcasting/fabric/interop/emi/EmiBrainsweepRecipe.java # Fabric/src/main/java/at/petrak/hexcasting/fabric/interop/emi/HexEMIPlugin.java # Fabric/src/main/java/at/petrak/hexcasting/fabric/interop/rei/BrainsweepRecipeCategory.java # Fabric/src/main/java/at/petrak/hexcasting/fabric/interop/rei/HexREIPlugin.java # Fabric/src/main/java/at/petrak/hexcasting/fabric/interop/rei/PatternRendererREI.java # Fabric/src/main/java/at/petrak/hexcasting/fabric/recipe/FabricUnsealedIngredient.java # Fabric/src/main/java/at/petrak/hexcasting/fabric/storage/FabricImpetusStorage.kt # Fabric/src/main/java/at/petrak/hexcasting/fabric/xplat/FabricXplatImpl.java # Fabric/src/main/resources/fabric.mod.json # Forge/build.gradle # Forge/gradle.properties # Forge/src/generated/resources/.cache/cache # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_black.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_blue.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_brown.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_cyan.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_gray.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_green.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_light_blue.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_light_gray.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_lime.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_magenta.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_orange.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_pink.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_purple.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_red.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_white.json # Forge/src/generated/resources/data/hexcasting/recipes/dye_colorizer_yellow.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_agender.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_aroace.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_aromantic.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_asexual.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_bisexual.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_demiboy.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_demigirl.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_gay.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_genderfluid.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_genderqueer.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_intersex.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_lesbian.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_nonbinary.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_pansexual.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_plural.json # Forge/src/generated/resources/data/hexcasting/recipes/pride_colorizer_transgender.json # Forge/src/main/java/at/petrak/hexcasting/forge/ForgeHexClientInitializer.java # Forge/src/main/java/at/petrak/hexcasting/forge/ForgeHexConfig.java # Forge/src/main/java/at/petrak/hexcasting/forge/ForgeHexInitializer.java # Forge/src/main/java/at/petrak/hexcasting/forge/cap/ForgeCapabilityHandler.java # Forge/src/main/java/at/petrak/hexcasting/forge/cap/ForgeImpetusCapability.java # Forge/src/main/java/at/petrak/hexcasting/forge/datagen/HexForgeDataGenerators.java # Forge/src/main/java/at/petrak/hexcasting/forge/datagen/xplat/HexBlockStatesAndModels.java # Forge/src/main/java/at/petrak/hexcasting/forge/interop/jei/HexJEIPlugin.java # Forge/src/main/java/at/petrak/hexcasting/forge/recipe/ForgeUnsealedIngredient.java # Forge/src/main/java/at/petrak/hexcasting/forge/xplat/ForgeXplatImpl.java # Forge/src/main/resources/META-INF/accesstransformer.cfg # gradle.properties
121 lines
3.7 KiB
Groovy
121 lines
3.7 KiB
Groovy
plugins {
|
|
id 'fabric-loom' // version "1.0-SNAPSHOT"
|
|
}
|
|
|
|
archivesBaseName = getArtifactID("fabric")
|
|
|
|
loom {
|
|
mixin.defaultRefmapName = "hexcasting.mixins.refmap.json"
|
|
|
|
accessWidenerPath = file("src/main/resources/fabricasting.accesswidener")
|
|
|
|
runs {
|
|
client {
|
|
client()
|
|
setConfigName("Fabric Client")
|
|
}
|
|
server {
|
|
server()
|
|
setConfigName("Fabric Server")
|
|
}
|
|
datagen {
|
|
client()
|
|
vmArg "-Dfabric-api.datagen"
|
|
vmArg "-Dfabric-api.datagen.modid=${modID}"
|
|
vmArg "-Dfabric-api.datagen.output-dir=${file("src/generated/resources")}"
|
|
}
|
|
|
|
configureEach {
|
|
runDir "Fabric/run"
|
|
ideConfigGenerated(true)
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url "https://maven.shedaniel.me/" }
|
|
maven {
|
|
url 'https://ladysnake.jfrog.io/artifactory/mods'
|
|
}
|
|
maven {
|
|
name "entity reach"
|
|
url "https://maven.jamieswhiteshirt.com/libs-release/"
|
|
}
|
|
maven { url "https://mvn.devos.one/snapshots/" }
|
|
maven {
|
|
name = "TerraformersMC"
|
|
url = "https://maven.terraformersmc.com/releases/"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
minecraft "com.mojang:minecraft:${minecraftVersion}"
|
|
mappings loom.officialMojangMappings()
|
|
modImplementation("net.fabricmc:fabric-language-kotlin:1.7.4+kotlin.1.6.21")
|
|
modImplementation "net.fabricmc:fabric-loader:${fabricLoaderVersion}"
|
|
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabricVersion}"
|
|
|
|
// Reqs
|
|
compileOnly "org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
|
|
testCompileOnly "org.jetbrains:annotations:$jetbrainsAnnotationsVersion"
|
|
compileOnly "com.demonwav.mcdev:annotations:1.0"
|
|
|
|
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'
|
|
compileOnly project(":Common")
|
|
|
|
modImplementation "at.petra-k.paucal:paucal-fabric-$minecraftVersion:$paucalVersion"
|
|
modImplementation "vazkii.patchouli:Patchouli:$minecraftVersion-$patchouliVersion-FABRIC"
|
|
|
|
modImplementation "me.zeroeightsix:fiber:$fiberVersion"
|
|
include "me.zeroeightsix:fiber:$fiberVersion"
|
|
|
|
modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-api:$cardinalComponentsVersion"
|
|
|
|
modImplementation "com.jamieswhiteshirt:reach-entity-attributes:${entityReachVersion}"
|
|
include "com.jamieswhiteshirt:reach-entity-attributes:${entityReachVersion}"
|
|
|
|
// apparently the 1.18 version Just Works on 1.19
|
|
modImplementation "io.github.tropheusj:serialization-hooks:$serializationHooksVersion"
|
|
include "io.github.tropheusj:serialization-hooks:$serializationHooksVersion"
|
|
|
|
// Optional integrations
|
|
|
|
modApi("me.shedaniel.cloth:cloth-config-fabric:$clothConfigVersion") {
|
|
exclude(group: "net.fabricmc.fabric-api")
|
|
}
|
|
|
|
modImplementation "dev.emi:trinkets:$trinketsVersion"
|
|
modImplementation "dev.emi:emi:${emiVersion}"
|
|
|
|
modImplementation "maven.modrinth:gravity-api:$gravityApiVersion"
|
|
modApi("com.github.Virtuoel:Pehkui:${pehkuiVersion}", {
|
|
exclude group: "net.fabricmc.fabric-api"
|
|
})
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
source(project(":Common").sourceSets.main.allSource)
|
|
}
|
|
compileKotlin {
|
|
source(project(":Common").sourceSets.main.kotlin)
|
|
}
|
|
|
|
sourcesJar {
|
|
from project(":Common").sourceSets.main.allJava
|
|
}
|
|
|
|
sourceSets {
|
|
main.resources.srcDirs += ['src/generated/resources', '../Common/src/generated/resources']
|
|
}
|
|
|
|
processResources {
|
|
from project(":Common").sourceSets.main.resources
|
|
inputs.property "version", project.version
|
|
|
|
filesMatching("fabric.mod.json") {
|
|
expand "version": project.version
|
|
}
|
|
}
|
|
|
|
setupJar(this)
|