-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
76 lines (60 loc) · 2.07 KB
/
Copy pathbuild.gradle
File metadata and controls
76 lines (60 loc) · 2.07 KB
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
plugins {
id 'maven-publish'
id 'net.minecraftforge.gradle' version '5.1.+'
id 'wtf.gofancy.fancygradle' version '1.1.+'
id 'eclipse'
id 'idea'
}
fancyGradle {
patches {
resources
coremods
codeChickenLib
asm
mergetool
}
}
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
version = "2.23.0119"
group = "com.tf.npu" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "BuildTheWorldForNPU"
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}
minecraft {
mappings channel: 'stable', version: '39-1.12'
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'
}
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'
}
}
}
repositories {
maven { url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }
}
dependencies {
minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2860'
implementation fg.deobf('software.bernie.geckolib:forge-1.12.2-geckolib:3.0.21')
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
processResources {
inputs.property "version", "${project.version}"
inputs.property "mcversion", "1.12.2"
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
filesMatching(['mcmod.info']) {
expand 'version': "${project.version}", 'mcversion': '1.12.2'
}
}