diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2018-12-31 13:12:25 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2018-12-31 13:12:25 +0800 |
| commit | fee12aa0885da204ec874cd5ada371c42501c873 (patch) | |
| tree | 880596f5f463e08762a56b1cb1d7008aaed1899d /build.gradle | |
| parent | 1b14c5142bb49db9af078b5c753bc22ce35a40cc (diff) | |
| download | RoughlyEnoughItems-fee12aa0885da204ec874cd5ada371c42501c873.tar.gz RoughlyEnoughItems-fee12aa0885da204ec874cd5ada371c42501c873.tar.bz2 RoughlyEnoughItems-fee12aa0885da204ec874cd5ada371c42501c873.zip | |
packetadder wip
Diffstat (limited to 'build.gradle')
| -rwxr-xr-x[-rw-r--r--] | build.gradle | 57 |
1 files changed, 18 insertions, 39 deletions
diff --git a/build.gradle b/build.gradle index d2bb2d756..7b686ef8a 100644..100755 --- a/build.gradle +++ b/build.gradle @@ -1,50 +1,29 @@ -buildscript { - repositories { - jcenter() - maven { url 'https://www.jitpack.io' } - maven { url 'http://repo.spongepowered.org/maven' } - maven { url 'http://files.minecraftforge.net/maven' } - } - dependencies { - classpath 'com.github.Chocohead:ForgeGradle:moderniser-SNAPSHOT' - classpath 'org.spongepowered:mixingradle:0.6-SNAPSHOT' - } +plugins { + id 'fabric-loom' version '0.2.0-SNAPSHOT' } -apply plugin: 'net.minecraftforge.gradle.tweaker-client' -apply plugin: 'org.spongepowered.mixin' -apply plugin: 'java' - -group 'me.shedaniel' -version '1.0b-1' -archivesBaseName = 'RoughlyEnoughItems' - sourceCompatibility = 1.8 targetCompatibility = 1.8 -repositories { - mavenCentral() - maven { url 'https://www.dimdev.org/maven/' } - maven { url 'https://repo.spongepowered.org/maven/' } - maven { url 'https://www.jitpack.io' } - maven { url "http://repo.strezz.org/artifactory/list/Strezz-Central" } -} +archivesBaseName = "RoughlyEnoughItems" +version = "1.0-1" +minecraft { +} +dependencies { + minecraft "com.mojang:minecraft:18w50a" + mappings "net.fabricmc:yarn:18w50a.83" + modCompile "net.fabricmc:fabric-loader:0.3.1.82" -mixin { - defaultObfuscationEnv notch - add sourceSets.main, 'mixins.roughlyenoughitems.refmap.json' + // Fabric API. This is technically optional, but you probably want it anyway. + modCompile "net.fabricmc:fabric:0.1.2.63" } -minecraft { - version = '1.13.2' - mappings = 'snapshot_20181130' - runDir = 'run' - tweakClass = 'org.dimdev.riftloader.launch.RiftLoaderClientTweaker' +// 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 } - -dependencies { - implementation 'com.github.Chocohead:Rift:f76cf44d887d290782590c99770876393c924333:dev' - implementation 'com.google.code.gson:gson:2.8.5' -}
\ No newline at end of file |
