DimDoors/build.gradle
SD 41804a02be
COnfig deserialization
Changes to be committed:
	modified:   build.gradle
	modified:   src/main/java/org/dimdev/dimdoors/ModConfig.java
	new file:   src/main/java/org/dimdev/dimdoors/client/config/LoadConfigScreen.java
	new file:   src/main/java/org/dimdev/dimdoors/client/config/ModMenuImpl.java
	new file:   src/main/java/org/dimdev/dimdoors/command/DimdoorsConfigCommand.java
	modified:   src/main/java/org/dimdev/dimdoors/command/ModCommands.java
	modified:   src/main/resources/fabric.mod.json
2020-09-26 10:00:21 +05:30

58 lines
2 KiB
Groovy

plugins {
id 'fabric-loom' version '0.5-SNAPSHOT'
}
apply plugin: "java"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url = 'https://maven.fabricmc.net/' }
maven { url 'https://jitpack.io' }
mavenCentral()
maven { url = 'https://www.cursemaven.com' }
}
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
implementation 'com.flowpowered:flow-math:1.0.3'
include 'com.flowpowered:flow-math:1.0.3'
implementation 'org.jgrapht:jgrapht-core:1.1.0'
include 'org.jgrapht:jgrapht-core:1.1.0'
implementation 'com.github.DimensionalDevelopment:poly2tri.java:0.1.1'
include 'com.github.DimensionalDevelopment:poly2tri.java:0.1.1'
modApi("com.github.Waterpicker:OpenWorlds:c5a1ced") {
exclude module: "fabric-api"
}
include 'com.github.Waterpicker:OpenWorlds:c5a1ced'
compileOnly 'com.google.code.findbugs:jsr305:+'
modImplementation("io.github.boogiemonster1o1:libcbe:${libcbe_version}")
include("io.github.boogiemonster1o1:libcbe:${libcbe_version}") // Includes LibCBE as a Jar-in-Jar embedded dependency
modImplementation("curse.maven:worldedit:3039223") // For saving schematics
modImplementation("curse.maven:wecui:2995033") // Cos why not
modCompileOnly("io.github.prospector:modmenu:1.14.6+build.31") {
exclude module: "fabric-api"
}
modRuntime("io.github.prospector:modmenu:1.14.6+build.31") {
exclude module: "fabric-api"
}
}
version "4.0.0+alpha.3"
archivesBaseName = "dimensional-doors"
processResources {
filesMatching("fabric.mod.json") {
expand "version": project.version
}
inputs.property "version", project.version
}
artifacts {
archives jar
}