use plugins block for fabric-loom
add .gitignore
This commit is contained in:
parent
952a3d1787
commit
33ecb40f61
3 changed files with 27 additions and 15 deletions
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
# gradle
|
||||
|
||||
.gradle/
|
||||
build/
|
||||
out/
|
||||
|
||||
# idea
|
||||
|
||||
.idea/
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
|
||||
# fabric
|
||||
|
||||
run/
|
16
build.gradle
16
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
|
||||
|
||||
|
|
10
settings.gradle
Normal file
10
settings.gradle
Normal file
|
@ -0,0 +1,10 @@
|
|||
pluginManagement {
|
||||
repositories {
|
||||
jcenter()
|
||||
maven {
|
||||
name = 'Fabric'
|
||||
url = 'http://maven.modmuss50.me/'
|
||||
}
|
||||
gradlePluginPortal()
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue