plugins { id 'fabric-loom' version '0.5-SNAPSHOT' id 'com.github.johnrengelman.shadow' version '6.0.0' } 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://dl.bintray.com/boogiemonster1o1/cool-mods/' } 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' shadow 'com.flowpowered:flow-math:1.0.3' implementation 'org.jgrapht:jgrapht-core:1.1.0' shadow 'org.jgrapht:jgrapht-core:1.1.0' implementation 'com.github.DimensionalDevelopment:poly2tri.java:0.1.1' shadow '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 } 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 }