diff options
author | NikkyAI <root@nikky.moe> | 2018-11-06 11:23:40 +0100 |
---|---|---|
committer | NikkyAI <root@nikky.moe> | 2018-11-06 11:28:20 +0100 |
commit | 33ecb40f610a53980360cd24c4ff75c2e5a36fb8 (patch) | |
tree | ea64388791696de209ca6edd30cec135ce1c230d | |
parent | 952a3d178722dbc3a8f59e8b23bda5b9a63d2385 (diff) |
use plugins block for fabric-loom
add .gitignore
-rw-r--r-- | .gitignore | 16 | ||||
-rw-r--r-- | build.gradle | 16 | ||||
-rw-r--r-- | settings.gradle | 10 |
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 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 |