-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
48 lines (42 loc) · 1.42 KB
/
Copy pathsettings.gradle
File metadata and controls
48 lines (42 loc) · 1.42 KB
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
pluginManagement {
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'Stonecutter Releases'
url = 'https://maven.kikugie.dev/releases'
}
maven {
name = 'Stonecutter Snapshots'
url = 'https://maven.kikugie.dev/snapshots'
}
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id 'dev.kikugie.stonecutter' version '0.9.3'
}
// Every supported Minecraft version, and the build variant that covers it,
// lives in supported-versions.json — the single source of truth also used by
// the launch tests, the CI matrices, and the modrinthBundle task.
def supportedVersions = new groovy.json.JsonSlurper().parse(file('supported-versions.json'))
def variants = supportedVersions.values()*.variant.unique()
stonecutter {
create(rootProject) {
// Each variant is one buildable subproject; the string is both the
// subproject name and the MC version it compiles against (see
// versions/<variant>/gradle.properties).
versions(*variants)
// vcsVersion is the variant whose form the sources are committed in
// (the "active" version when nothing else is selected).
vcsVersion = variants.last()
}
}
rootProject.name = 'betterhud'
// Not a Stonecutter variant: a sourceless harness that launches a production
// Fabric client for any supported MC version (-PtestMcVersion) with the
// matching variant's built jar. Used by the CI launch-test matrix.
include 'launchtest'