-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
51 lines (41 loc) · 1.48 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
plugins {
id "com.github.johnrengelman.shadow" version "7.0.0"
id "maven-publish"
}
loom {
accessWidenerPath = file("src/main/resources/equivalentexchange.accesswidener")
}
configurations {
shadowCommon
}
dependencies {
// We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
// Do NOT use other classes from fabric loader
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
// Remove the next line if you don't want to depend on the API
modApi "dev.architectury:architectury:${rootProject.architectury_version}"
modApi "net.creeperhost:polylib-fabric:${rootProject.polylib_version}"
modCompileOnlyApi("mezz.jei:jei-${rootProject.minecraft_version}-common-api:${rootProject.jei_version}")
modCompileOnlyApi("mezz.jei:jei-${rootProject.minecraft_version}-fabric-api:${rootProject.jei_version}")
modImplementation("dev.ftb.mods:ftb-library:${rootProject.ftb_library_version}") { transitive = false }
modImplementation("dev.ftb.mods:ftb-teams:${rootProject.ftb_teams_version}") { transitive = false }
}
sourceSets {
main {
resources {
srcDir "src/generated/resources"
}
}
}
architectury {
common("fabric", "neoforge")
}
publishing {
publications {
mavenCommon(MavenPublication) {
artifactId = rootProject.archives_base_name
artifact remapJar
artifact sourcesJar
}
}
}