mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-04-02 13:37:45 -05:00
Fix loom.accessWidener being a read-only property in Kotlin (#447)
* Re-enable Kotlin test because the related bug has been fixed * Fix loom.accessWidener being a read-only property in Kotlin * Remove Kotlin test exclusions
This commit is contained in:
@@ -44,7 +44,7 @@ import net.fabricmc.loom.configuration.providers.mappings.LayeredMappingSpecBuil
|
||||
public interface LoomGradleExtensionAPI {
|
||||
File getAccessWidener();
|
||||
|
||||
void setAccessWidener(Object file);
|
||||
void setAccessWidener(File file);
|
||||
|
||||
void setShareCaches(boolean shareCaches);
|
||||
|
||||
|
||||
@@ -74,9 +74,9 @@ public abstract class LoomGradleExtensionApiImpl implements LoomGradleExtensionA
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAccessWidener(Object file) {
|
||||
public void setAccessWidener(File file) {
|
||||
Objects.requireNonNull(file, "Access widener file cannot be null");
|
||||
this.accessWidener = getProject().file(file);
|
||||
this.accessWidener = file;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user