-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
65 lines (54 loc) · 1.77 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
plugins {
kotlin("jvm") version("2.0.10")
`kotlin-dsl`
val dgtVersion = "2.5.0"
id("dev.deftu.gradle.tools.repo") version(dgtVersion)
id("dev.deftu.gradle.tools.configure") version(dgtVersion)
id("dev.deftu.gradle.tools.publishing.maven") version(dgtVersion)
id("dev.deftu.gradle.tools.publishing.github") version(dgtVersion)
}
toolkitGitHubPublishing {
owner.set("Deftu")
repository.set("Gradle-Toolkit")
automaticallyGenerateReleaseNotes.set(true)
useSourcesJar.set(true)
}
toolkitMavenPublishing {
setupPublication.set(false)
}
repositories {
maven("https://jitpack.io/")
maven("https://maven.fabricmc.net/")
maven("https://maven.minecraftforge.net/")
maven("https://maven.architectury.dev/")
maven("https://maven.jab125.dev/")
mavenCentral()
gradlePluginPortal()
mavenLocal()
}
dependencies {
// Language
implementation(gradleApi())
implementation(kotlin("stdlib"))
implementation(kotlin("gradle-plugin"))
// Architectury Loom
implementation("gg.essential:architectury-loom:1.6.20")
implementation("dev.architectury:architectury-pack200:0.1.3")
// Preprocessing/multi-versioning
implementation("dev.deftu:preprocessor:0.7.1")
// Documentation
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.9.20")
implementation("org.jetbrains.dokka:dokka-base:1.9.20")
// Publishing
implementation("com.modrinth.minotaur:Minotaur:2.8.7")
implementation("net.darkhax.curseforgegradle:CurseForgeGradle:1.1.24")
implementation("com.github.breadmoirai:github-release:2.5.2")
// Other
implementation("com.github.johnrengelman:shadow:8.1.1")
implementation("dev.deftu:Bloom:0.1.2")
}
tasks {
named<Jar>("jar") {
from("LICENSE")
}
}