-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.gradle
53 lines (42 loc) · 1.06 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
plugins {
id 'eclipse'
id 'idea'
id 'com.modrinth.minotaur' version '2.+'
id 'net.neoforged.gradle.userdev' version '7.0.+'
}
repositories {
maven { url = 'https://maven.fabricmc.net' }
}
group= "team.creative" + project.mod_id
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
java.sourceSets {
main {
java {
srcDirs = ["src/main/java", "src/forge/java"]
}
resources {
srcDirs = ["src/main/resources", "src/forge/resources"]
}
runs {
modIdentifier = project.mod_id
}
}
}
runs {
configureEach {
workingDirectory project.file('run')
systemProperty 'forge.logging.console.level', 'debug'
modSource project.sourceSets.main
}
client {
}
server {
}
}
dependencies {
implementation "net.neoforged:neoforge:${forge_version}"
compileOnly "net.fabricmc:fabric-loader:${fabric_version}"
}
modProperties = [ ' displayTest="NONE"' ]
modDependencies = []
modMixins = [ "creativecore.mixins.json", "creativecore.forge.mixins.json" ]