-
Notifications
You must be signed in to change notification settings - Fork 53
/
build.gradle
67 lines (52 loc) · 1.62 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
plugins {
id 'eclipse'
id 'idea'
id 'com.modrinth.minotaur' version '2.+'
id 'net.neoforged.gradle.userdev' version '7.0.+'
}
repositories {
maven {
url "https://cursemaven.com"
content {
includeGroup "curse.maven"
}
}
maven {
url "https://maven.blamejared.com"
}
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'
}
client {
}
server {
}
}
dependencies {
implementation "net.neoforged:neoforge:${forge_version}"
implementation "org.embeddedt:embeddium-1.21.1:1.0.11-beta.387+mc1.21.1"
implementation "curse.maven:theoneprobe-245211:5502323"
implementation project(':CreativeCore')
compileOnly "net.fabricmc:fabric-loader:${fabric_version}"
compileOnly "net.fabricmc.fabric-api:fabric-api:${fabric_api_version}"
}
modDependencies = [
[ modId: "creativecore", type: "required", ordering: "NONE", side: "BOTH", versionRange: "[" + creativecore_version + ",)" ]
]
modMixins = [ "littletiles.mixins.json" ]