summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikkyAI <[email protected]>2018-11-06 11:23:40 +0100
committerkeuin <[email protected]>2020-04-23 00:20:14 +0800
commit0839008c2301ac17f663c0d7113eeed5ee87dd62 (patch)
treebafe9e43de083b24830160529a57f47aa5be573c
parent9acb9ef71a566cf943d1c4876ec46060daaa6aa7 (diff)
use plugins block for fabric-loom
add .gitignore
-rw-r--r--.gitignore16
-rw-r--r--build.gradle16
-rw-r--r--settings.gradle10
3 files changed, 27 insertions, 15 deletions
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 65f0e77..56973f8 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