mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-03 05:57:42 -05:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user