use plugins block for fabric-loom

add .gitignore
This commit is contained in:
NikkyAI 2018-11-06 11:23:40 +01:00
parent 952a3d1787
commit 33ecb40f61
3 changed files with 27 additions and 15 deletions

16
.gitignore vendored Normal file
View File

@ -0,0 +1,16 @@
# gradle
.gradle/
build/
out/
# idea
.idea/
*.iml
*.ipr
*.iws
# fabric
run/

View File

@ -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

10
settings.gradle Normal file
View File

@ -0,0 +1,10 @@
pluginManagement {
repositories {
jcenter()
maven {
name = 'Fabric'
url = 'http://maven.modmuss50.me/'
}
gradlePluginPortal()
}
}