aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-01-18 21:22:16 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-01-18 21:22:16 +0800
commitbf526920c4ab4bb6719e27c305a35e1772b2873b (patch)
treeef0079b05d9f0cb8f463af7e53d1cf9dcc55ea7c /build.gradle
parent20110cfeefadb676be66ad2d195e62e0dc136c07 (diff)
downloadRoughlyEnoughItems-bf526920c4ab4bb6719e27c305a35e1772b2873b.tar.gz
RoughlyEnoughItems-bf526920c4ab4bb6719e27c305a35e1772b2873b.tar.bz2
RoughlyEnoughItems-bf526920c4ab4bb6719e27c305a35e1772b2873b.zip
Can't compile yet
Diffstat (limited to 'build.gradle')
-rw-r--r--[-rwxr-xr-x]build.gradle55
1 files changed, 34 insertions, 21 deletions
diff --git a/build.gradle b/build.gradle
index 9dd64d50e..22a59db90 100755..100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,33 +1,46 @@
-plugins {
- id 'fabric-loom' version '0.2.0-SNAPSHOT'
+buildscript {
+ repositories {
+ mavenCentral()
+ maven { url 'https://www.jitpack.io' }
+ maven { url 'https://files.minecraftforge.net/maven' }
+ maven { url 'http://repo.spongepowered.org/maven' }
+ }
+ dependencies {
+ classpath 'com.github.Chocohead:ForgeGradle:jitpack-SNAPSHOT'
+ classpath 'org.spongepowered:mixingradle:0.6-SNAPSHOT'
+ }
}
+apply plugin: 'net.minecraftforge.gradle.tweaker-client'
+apply plugin: 'org.spongepowered.mixin'
+apply plugin: 'java'
+
+group 'me.shedaniel'
+version '2.0.0.9'
+archivesBaseName = 'RoughlyEnoughItems'
+
sourceCompatibility = 1.8
targetCompatibility = 1.8
-archivesBaseName = "RoughlyEnoughItems"
-version = "2.0.0.39"
-
-def minecraftVersion = "19w03b"
-def yarnVersion = "19w03b.2"
-def fabricVersion = "0.1.4.76"
+repositories {
+ mavenCentral()
+ maven { url 'https://www.dimdev.org/maven/' }
+ maven { url 'https://www.jitpack.io' }
+}
-minecraft {
+mixin {
+ defaultObfuscationEnv notch
+ add sourceSets.main, 'mixins.roughlyenoughitems.refmap.json'
}
dependencies {
- minecraft "com.mojang:minecraft:${minecraftVersion}"
- mappings "net.fabricmc:yarn:${yarnVersion}"
- modCompile "net.fabricmc:fabric-loader:0.3.2.96"
-
- // Fabric API. This is technically optional, but you probably want it anyway.
- modCompile "net.fabricmc:fabric:${fabricVersion}"
+ implementation 'com.github.Chocohead:Rift:jitpack-SNAPSHOT:dev'
+ implementation 'com.google.code.gson:gson:2.8.5'
}
-// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
-// if it is present.
-// If you remove this task, sources will not be generated.
-task sourcesJar(type: Jar, dependsOn: classes) {
- classifier = 'sources'
- from sourceSets.main.allSource
+minecraft {
+ version = '1.13.2'
+ mappings = 'snapshot_20181130'
+ runDir = 'run'
+ tweakClass = 'org.dimdev.riftloader.launch.RiftLoaderClientTweaker'
}