From 33ecb40f610a53980360cd24c4ff75c2e5a36fb8 Mon Sep 17 00:00:00 2001 From: NikkyAI Date: Tue, 6 Nov 2018 11:23:40 +0100 Subject: [PATCH] use plugins block for fabric-loom add .gitignore --- .gitignore | 16 ++++++++++++++++ build.gradle | 16 +--------------- settings.gradle | 10 ++++++++++ 3 files changed, 27 insertions(+), 15 deletions(-) create mode 100644 .gitignore create mode 100644 settings.gradle diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6a5fea3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +# gradle + +.gradle/ +build/ +out/ + +# idea + +.idea/ +*.iml +*.ipr +*.iws + +# fabric + +run/ \ No newline at end of file diff --git a/build.gradle b/build.gradle index 7686b60..e18d715 100644 --- a/build.gradle +++ b/build.gradle @@ -1,24 +1,10 @@ -buildscript { - repositories { - jcenter() - maven { - name = 'Fabric' - url = 'http://maven.modmuss50.me/' - } - } - dependencies { - classpath "net.fabricmc:fabric-loom:0.0.13-SNAPSHOT" - } -} - plugins { id 'java' id 'eclipse' id 'idea' + id 'fabric-loom' version '0.0.13-SNAPSHOT' } -apply plugin: net.fabricmc.loom.LoomGradlePlugin - sourceCompatibility = 1.8 targetCompatibility = 1.8 diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..56ae60d --- /dev/null +++ b/settings.gradle @@ -0,0 +1,10 @@ +pluginManagement { + repositories { + jcenter() + maven { + name = 'Fabric' + url = 'http://maven.modmuss50.me/' + } + gradlePluginPortal() + } +} \ No newline at end of file