-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
57 lines (42 loc) · 1.4 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
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.create("api") {
java {
srcDir("src/api/java")
}
compileClasspath += sourceSets.main.compileClasspath
runtimeClasspath += sourceSets.main.runtimeClasspath
}
sourceSets.main.compileClasspath += sourceSets.api.output
sourceSets.main.runtimeClasspath += sourceSets.api.output
project.evaluationDependsOn(":CreativeCore")
runs {
configureEach {
workingDirectory project.file('run')
systemProperty 'forge.logging.console.level', 'debug'
//modSource project(":CreativeCore").sourceSets.main
modSource project.sourceSets.main
}
client {
}
server {
}
}
dependencies {
implementation "net.neoforged:neoforge:${forge_version}"
implementation project(':CreativeCore')
compileOnly "net.fabricmc:fabric-loader:${fabric_version}"
}
modDependencies = [
[ modId: "creativecore", type: "required", ordering: "NONE", side: "BOTH", versionRange: "[" + creativecore_version + ",)" ]
]
modMixins = [ "enhancedvisuals.mixins.json" ]