Skip to content

Commit 5588e6b

Browse files
committed
Fix gradleutils.unpack being inaccessible
Was previously a static method but static methods are not passed down from inherited interfaces to the implementation classes. At least not for Groovy objects(?) Static fields continue to work though. Super weird.
1 parent d0e1da5 commit 5588e6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/groovy/net/minecraftforge/gradleutils/GradleUtilsExtension.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ default Action<MavenArtifactRepository> getPublishingForgeMaven(Provider<?> defa
272272

273273
/* MISCELLANEOUS */
274274

275-
static <T> T unpack(Provider<T> value) {
275+
default <T> T unpack(Provider<T> value) {
276276
return value.get();
277277
}
278278

279-
static <T> T unpack(ProviderConvertible<T> value) {
279+
default <T> T unpack(ProviderConvertible<T> value) {
280280
return unpack(value.asProvider());
281281
}
282282
}

0 commit comments

Comments
 (0)