forked from broccolai/tags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
57 lines (48 loc) · 1.34 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
import net.kyori.indra.IndraPublishingPlugin
import net.kyori.indra.IndraCheckstylePlugin
import net.kyori.indra.IndraPlugin
import net.kyori.indra.repository.sonatypeSnapshots
plugins {
id("net.kyori.indra")
id("net.kyori.indra.publishing")
id("net.kyori.indra.checkstyle")
id("com.github.johnrengelman.shadow")
id("com.github.ben-manes.versions")
id("net.ltgt.errorprone")
}
group = "broccolai.tags"
version = "1.3.0-SNAPSHOT"
subprojects {
apply<IndraPlugin>()
apply<IndraPublishingPlugin>()
apply<IndraCheckstylePlugin>()
repositories {
mavenCentral()
sonatypeSnapshots()
maven("https://papermc.io/repo/repository/maven-public/")
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
maven("https://jitpack.io")
maven("https://repo.broccol.ai/releases")
}
tasks {
indra {
gpl3OnlyLicense()
publishReleasesTo("broccolai", "https://repo.broccol.ai/releases")
javaVersions {
target(17)
}
github("broccolai", "tags") {
ci(true)
publishing(true)
}
}
processResources {
expand("version" to rootProject.version)
}
}
}
tasks {
withType<Jar> {
onlyIf { false }
}
}