51 lines
1.3 KiB
Groovy
51 lines
1.3 KiB
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
maven { url = 'https://maven.fabricmc.net/' }
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'net.fabricmc:fabric-loom:0.4-SNAPSHOT'
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'fabric-loom' version '0.4-SNAPSHOT'
|
|
}
|
|
|
|
apply plugin: "java"
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
repositories {
|
|
maven { url = 'https://maven.fabricmc.net/' }
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
|
|
dependencies {
|
|
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
|
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
|
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
|
modApi "net.fabricmc.fabric-api:fabric-api:0.14.1+build.372-1.16"
|
|
modImplementation 'com.flowpowered:flow-math:1.0.3'
|
|
modImplementation 'org.jgrapht:jgrapht-core:1.1.0'
|
|
modImplementation 'com.github.DimensionalDevelopment:poly2tri.java:0.1.1'
|
|
modImplementation 'com.github.Waterpicker:OpenWorlds:1.0.0'
|
|
modRuntime 'com.github.Waterpicker:OpenWorlds:1.0.0'
|
|
}
|
|
|
|
version "4.0"
|
|
archivesBaseName = "dimensional-doors"
|
|
|
|
processResources {
|
|
filesMatching("fabric.mod.json") {
|
|
expand "version": project.version
|
|
}
|
|
|
|
inputs.property "version", project.version
|
|
}
|
|
|
|
artifacts {
|
|
archives jar
|
|
}
|