-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
72 lines (60 loc) · 1.54 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
68
69
70
71
72
val mod_id: String by extra
val mod_version: String by extra
val xmlutil_version: String by extra
plugins {
idea
id("com.possible-triangle.gradle") version ("0.1.0")
}
withKotlin()
mod {
includedLibraries.set(
setOf(
"io.github.pdvrieze.xmlutil:core-jvm:${xmlutil_version}",
"io.github.pdvrieze.xmlutil:serialization-jvm:${xmlutil_version}",
)
)
}
subprojects {
repositories {
modrinthMaven()
curseMaven()
maven {
url = uri("https://maven.theillusivec4.top")
content {
includeGroup("top.theillusivec4.curios")
}
}
maven {
url = uri("https://maven.blamejared.com")
content {
includeGroup("mezz.jei")
includeGroup("vazkii.botania")
includeGroup("vazkii.autoreglib")
includeGroup("vazkii.patchouli")
}
}
maven {
url = uri("https://maven.minecraftforge.net")
content {
includeGroup("com.github.glitchfiend")
}
}
}
enablePublishing {
repositories {
githubPackages(this@subprojects)
}
}
tasks.withType<Jar> {
exclude("datapacks")
}
}
enableSonarQube()
idea {
module.excludeDirs.add(file("web"))
module.excludeDirs.add(file("datagen"))
}
tasks.create<Copy>("copyGeneratedDatapacks") {
from(project(":common").file("src/generated/resources/datapacks"))
into(file("datapacks"))
}