-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
build.gradle
executable file
·43 lines (38 loc) · 1.36 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
buildscript {
repositories {
mavenLocal()
jcenter()
maven { url "https://repo.nallar.me/" }
maven { url "https://plugins.gradle.org/m2/" }
maven { url "https://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
classpath 'org.minimallycorrect.libloader:LibLoaderGradle:0.1-SNAPSHOT'
classpath 'org.minimallycorrect.gradle:DefaultsPlugin:0.0.29'
}
}
plugins {
id "com.matthewprenger.cursegradle" version "1.4.0"
}
apply plugin: 'org.minimallycorrect.gradle.DefaultsPlugin'
apply plugin: 'org.minimallycorrect.libloader.LibLoaderGradle'
group = "org.minimallycorrect.tickprofiler"
minimallyCorrectDefaults {
minecraft = 1.12
fmlCorePlugin = "org.minimallycorrect.tickprofiler.minecraft.CoreMod"
fmlCorePluginContainsFmlMod = true
curseforgeProject = 270330
labels = ['minecraft-mod', 'profiler', 'minecraft', 'java', 'performance']
description = "Profile your minecraft server: Find which entities and tile entities are making your server slow"
} ()
curseforge {
curseProjects.each { proj ->
proj.setGameVersionStrings(new ArrayList<String>(proj.getGameVersionStrings()))
}
}
dependencies {
libLoader "com.eclipsesource.minimal-json:minimal-json:0.9.4"
libLoader "org.minimallycorrect.modpatcher:ModPatcher:${project.minimallyCorrectDefaults.minecraft}-SNAPSHOT"
testCompile 'junit:junit:4.12'
}