Add extension option to configure known INVOKEDYNAMIC BSMs (#945)

* Set up configuration for known indy bsms

* Make ignoredIndyBsms apply to service remapper

* Add groovy indy instruction to default known BSMs

* Address feedback

---------

Co-authored-by: modmuss <modmuss50@gmail.com>
This commit is contained in:
Luke Bemish
2023-09-09 06:21:14 -06:00
committed by GitHub
parent 777a05457c
commit 0dc2d67317
5 changed files with 25 additions and 3 deletions

View File

@@ -35,6 +35,7 @@ import org.gradle.api.file.ConfigurableFileCollection;
import org.gradle.api.file.RegularFileProperty;
import org.gradle.api.provider.ListProperty;
import org.gradle.api.provider.Property;
import org.gradle.api.provider.SetProperty;
import org.gradle.api.publish.maven.MavenPublication;
import org.gradle.api.tasks.SourceSet;
import org.jetbrains.annotations.ApiStatus;
@@ -129,6 +130,8 @@ public interface LoomGradleExtensionAPI {
Property<String> getCustomMinecraftManifest();
SetProperty<String> getKnownIndyBsms();
/**
* Disables the deprecated POM generation for a publication.
* This is useful if you want to suppress deprecation warnings when you're not using software components.