-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
68 lines (61 loc) · 2.18 KB
/
build.gradle.kts
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("refinedarchitect.root")
id("refinedarchitect.neoforge")
}
repositories {
maven {
url = uri("https://maven.pkg.github.com/refinedmods/refinedstorage2")
credentials {
username = "anything"
password = "\u0067hp_oGjcDFCn8jeTzIj4Ke9pLoEVtpnZMP4VQgaX"
}
}
maven {
name = "Modmaven"
url = uri("https://modmaven.dev/")
content {
includeGroup("mekanism")
}
}
maven {
name = "JEI"
url = uri("https://maven.blamejared.com/")
}
maven {
name = "EMI"
url = uri("https://maven.terraformersmc.com/")
}
}
refinedarchitect {
modId = "refinedstorage_mekanism_integration"
neoForge()
sonarQube("refinedmods_refinedstorage-mekanism-integration", "refinedmods")
publishing {
maven = true
}
}
group = "com.refinedmods.refinedstorage"
base {
archivesName.set("refinedstorage-mekanism-integration")
}
val refinedstorageVersion: String by project
val refinedstorageJeiIntegrationVersion: String by project
val minecraftVersion: String by project
val mekanismVersion: String by project
val jeiVersion: String by project
val emiVersion: String by project
dependencies {
api("com.refinedmods.refinedstorage:refinedstorage-neoforge:${refinedstorageVersion}")
// runtimeOnly("com.refinedmods.refinedstorage:refinedstorage-jei-integration-neoforge:${refinedstorageJeiIntegrationVersion}")
// runtimeOnly("com.refinedmods.refinedstorage:refinedstorage-emi-integration-neoforge:0.5.0")
compileOnlyApi("mekanism:Mekanism:${minecraftVersion}-${mekanismVersion}:api")
runtimeOnly("mekanism:Mekanism:${minecraftVersion}-${mekanismVersion}:all") {
exclude(group = "com.blamejared.crafttweaker")
}
runtimeOnly("mezz.jei:jei-${minecraftVersion}-neoforge:${jeiVersion}")
compileOnlyApi("mezz.jei:jei-${minecraftVersion}-common-api:${jeiVersion}")
testCompileOnly("mezz.jei:jei-${minecraftVersion}-common:${jeiVersion}")
compileOnlyApi("mezz.jei:jei-${minecraftVersion}-neoforge-api:${jeiVersion}")
// runtimeOnly("dev.emi:emi-neoforge:${emiVersion}")
compileOnlyApi("dev.emi:emi-neoforge:${emiVersion}")
}