forked from DynamicTreesTeam/DynamicTrees-TheAether
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
84 lines (62 loc) · 2.35 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net/' }
mavenCentral()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
}
}
apply plugin: 'net.minecraftforge.gradle'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
repositories {
flatDir {
dirs("libs")
}
}
version = "$project.mc_version-$project.mod_version"
group = package_group
archivesBaseName = mod_name
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}
sourceSets { main { output.resourcesDir = output.classesDir } }
minecraft {
mappings channel: 'snapshot', version: project.mappings_version
accessTransformer = file("src/main/resources/dynamictreestbl_at.cfg")
runs {
client {
workingDirectory project.file('run')
// Recommended logging data for a userdev environment
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'
args '-Dfml.coreMods.load=thebetweenlands.core.TheBetweenlandsLoadingPlugin'
}
server {
// Recommended logging data for a userdev environment
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'
args '-Dfml.coreMods.load=thebetweenlands.core.TheBetweenlandsLoadingPlugin'
}
}
}
dependencies {
minecraft "net.minecraftforge:forge:$project.mc_version-$project.forge_version"
implementation fg.deobf("blank:DynamicTrees-1.12.2-0.9.29")
implementation fg.deobf("blank:Hwyla-1.8.26-B41_1.12.2")
implementation fg.deobf("blank:aether-1.12.2-v1.5.3.2")
}
processResources {
inputs.property "version", project.mod_version
inputs.property "mcversion", project.mc_version
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version':project.mod_version, 'mcversion':project.mc_version
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}