forked from MCRcortex/nvidium
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
68 lines (55 loc) · 2.08 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 'dev.architectury.loom' version '1.4-SNAPSHOT'
id 'maven-publish'
}
version = project.mod_version
group = project.maven_group
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
loom {
runs {
it.configureEach {
vmArgs("-Xmx8G", "-XX:+UseZGC")
}
}
silentMojangMappingsLicense()
}
processResources {
inputs.property "version", project.version
archivesBaseName = "acedium"
filesMatching("META-INF/mods.toml") {
expand "version": project.version
}
}
repositories {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
maven { url "https://maven.neoforged.net" }
}
dependencies {
mappings loom.layered() {
it.mappings("net.fabricmc:yarn:${project.yarn_mappings}:v2")
it.mappings file("mappings/yarnpatch.tiny")
}
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
//mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
neoForge "net.neoforged:neoforge:${project.neoforge_version}"
modImplementation "maven.modrinth:embeddium:0.3.14+mc1.20.4"
modCompileOnly "maven.modrinth:oculus:1.20.1-1.7.0"
// Fabric API
//modImplementation(fabricApi.module("fabric-api-base", project.fabric_version))
//modImplementation(fabricApi.module("fabric-block-view-api-v2", project.fabric_version))
//modImplementation(fabricApi.module("fabric-rendering-fluids-v1", project.fabric_version))
//modImplementation("net.fabricmc.fabric-api:fabric-rendering-data-attachment-v1:0.3.40+73761d2e3b")
//modImplementation(fabricApi.module("fabric-resource-loader-v0", project.fabric_version))
//modImplementation "maven.modrinth:c2me-fabric:0.2.0+alpha.10.49+1.19.4"
//modImplementation "maven.modrinth:chunks-fade-in:v1.0.3-1.19.4"
//modImplementation "maven.modrinth:immersiveportals:v2.7.3-mc1.19.4"
//modCompileOnly "maven.modrinth:iris:1.7.0+1.20.6"
}