Skip to content

Commit 6daf6a5

Browse files
jpenillazml2008
andauthored
Update indra to 4.0.0-SNAPSHOT (#591)
Co-authored-by: zml <zml@stellardrift.ca>
1 parent f8e94d5 commit 6daf6a5

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

build-logic/settings.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ pluginManagement {
55
url = "https://repo.stellardrift.ca/maven/internal/"
66
mavenContent { releasesOnly() }
77
}
8+
maven {
9+
name = "papermcSnapshots"
10+
url = "https://repo.papermc.io/repository/maven-snapshots/"
11+
mavenContent { snapshotsOnly() }
12+
}
813
}
914
}
1015

build-logic/src/main/groovy/org.spongepowered.configurate.build.component.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ def apiDiffPrevious = configurations.register("apiDiffPrevious") {
248248

249249
defaultDependencies {
250250
// create based on git's previous tag
251-
def tags = indraGit.tags()
252-
if (tags) {
253-
add(project.dependencies.create("$group:configurate-${project.name}:${Repository.shortenRefName(tags.last().name)}"))
251+
def tags = indraGit.tagNames().get()
252+
if (!tags.isEmpty()) {
253+
add(project.dependencies.create("$group:configurate-${project.name}:${tags.last()}"))
254254
}
255255
}
256256
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ checkerQual="3.51.1"
55
checkstyle="12.3.0"
66
geantyref = "1.3.16"
77
errorprone="2.42.0"
8-
indra = "3.2.0"
8+
indra = "4.0.0"
99
junit="5.14.0"
1010
ktlint="0.49.1"
1111
ktfmt="0.61"

settings.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ pluginManagement {
55
url = "https://repo.stellardrift.ca/maven/internal/"
66
mavenContent { releasesOnly() }
77
}
8+
maven {
9+
name = "papermcSnapshots"
10+
url = "https://repo.papermc.io/repository/maven-snapshots/"
11+
mavenContent { snapshotsOnly() }
12+
}
813
}
914
}
1015

0 commit comments

Comments
 (0)