diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2021-09-10 21:08:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-11 02:08:41 +0800 |
commit | e1f5f3d6eb674b3513e7dd848c202ef7479a70a8 (patch) | |
tree | d7e1c58e1fad0ef3711e1e6143e7fd9fadebe576 /src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java | |
parent | aaacd23c8bdd2c52c727ab7119afd8dd968f762a (diff) | |
download | architectury-loom-e1f5f3d6eb674b3513e7dd848c202ef7479a70a8.tar.gz architectury-loom-e1f5f3d6eb674b3513e7dd848c202ef7479a70a8.tar.bz2 architectury-loom-e1f5f3d6eb674b3513e7dd848c202ef7479a70a8.zip |
Convert AWs on Forge to ATs in RemapJarTask (#24)
* Aw2At
* Hook Aw2At up to remapJar
* Checkstyle
* Checkstyle, part II
* Now it's Spotless' turn
* Remap the resulting AT
* you see, this is why mojmap is bad
* Inject(method = "<init>")
* Use file systems because ZipUtil is bad
* Make it false by default
* Add integ tests for aw2at
* spotless please
* fix year
Diffstat (limited to 'src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java')
-rw-r--r-- | src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java b/src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java index ab5db4a8..ee11b0ad 100644 --- a/src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java +++ b/src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java @@ -248,4 +248,16 @@ public interface LoomGradleExtensionAPI { void setUseFabricMixin(boolean useFabricMixin); List<Consumer<RunConfig>> getSettingsPostEdit(); + + /** + * Gets the Forge extension used to configure Forge details. + * Note that (for now) some Forge configuration is instead in this interface - + * this is due to change in the future. + * + * @return the Forge extension + * @throws UnsupportedOperationException if running on another platform + */ + ForgeExtensionAPI getForge(); + + void forge(Action<ForgeExtensionAPI> action); } |