aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/fabricmc/loom
AgeCommit message (Collapse)Author
2021-07-27Fix NPE when in a mod loader dev envmodmuss50
2021-07-26Expose 'loom' extension as the API, deprecate 'minecraft' extension (#449)Juuxel
2021-07-26Use Property in LoomGradleExtension & Move task groups to constants (#445)shedaniel
* Use Property in LoomGradleExtension Signed-off-by: shedaniel <daniel@shedaniel.me> * Fix customMinecraftManifest Signed-off-by: shedaniel <daniel@shedaniel.me> * Add deprecation messages, let's wait for the tests to run to fix the tests that are using deprecated apis Signed-off-by: shedaniel <daniel@shedaniel.me> * Apply license Signed-off-by: shedaniel <daniel@shedaniel.me> * Update src/main/java/net/fabricmc/loom/util/DeprecationHelper.java Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> * Fix some tests, move mixinRefmapName -> mixin.defaultRefmapName Signed-off-by: shedaniel <daniel@shedaniel.me> * Move back to the api Signed-off-by: shedaniel <daniel@shedaniel.me> * Fix some tests Signed-off-by: shedaniel <daniel@shedaniel.me> * Apply reviews Signed-off-by: shedaniel <daniel@shedaniel.me> * Update src/main/java/net/fabricmc/loom/api/LoomGradleExtensionAPI.java Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-07-26Fix loom.accessWidener being a read-only property in Kotlin (#447)Juuxel
* 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
2021-07-25Make SourceRemapper threaded (#446)modmuss50
Should be a little bit faster, but nothing magicial.
2021-07-23Use jar processor ids to fix #432 (#444)Juuxel
* Use jar processor ids to fix #432 * Use full hash string of jar processor ids
2021-07-23Ensure files are closed and outputs cleaned up when remapping.modmuss50
2021-07-21Revert "Fix MojangMappingsSpec having the same hash version for each mc ↵modmuss50
version." This reverts commit 61fa4d9f
2021-07-21Fix MojangMappingsSpec having the same hash version for each mc version.modmuss50
I dont think this would be a real cause for concern as the jar would have had the mc version in it anyway.
2021-07-18Better Mixin AP configuration (#423)LogicFan
* [SPON-15] Apply Mixin AP config for all projects. * Revert "[SPON-15] Apply Mixin AP config for all projects." This reverts commit 93576e83b1221949d551b6307938f7dd6dc8fbbe. * use setter & getter * fix broken test introduced in 54d6ef7896f22f89d6594703d09e3195c814cf10 * initial commit for mixin extension * refactor getConfiguration * apply mixin extension * [SPON-15] allow across project AP config * [SPON-15] revert some changes * [SPON-15] refactor codes * [SPON-15] fix bugs * [SPON-15] bring back cross-project apconfig * [SPON-15] bug fix: move add default sourceSet earlier * [SPON-15] fix style * [SPON-15] refactor MixinAPExtension * add test * update test * [SPON-15] fix test * Update MixinAnnotationProcessorExtension.java * [SPON-15] fix test * fix deprecated gradle API * [SPON-15] refactor ApInvoker * [SPON-15] refactor ApInvoker * allow change refmap name in sourceSet bases * add new condition on test * [SPON-15] fix wrong suffix * Revert "[SPON-15] fix wrong suffix" This reverts commit 98910392d91c26cd0454cca8cfc03c4e3d417fd6. * fix mixinjson suffix * use stream instead of collection for mixin json name * change name for function * use correct auto-refmap * fix file name * add with action * add test * refactor some codes * refactor code * update test * fix checkstyle * better error message * fix checkstyle * remove corss project option * allow mixin inside loom * remove project0 I should remove all project0. If I forget one please tell me. * move `mixin` inside `loom` * fix spotless * merge attempt * fix checkstyle * seperate api & impl * add experimental annotation for API * use API * Fix indentation Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> * fix typo Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> * fix typo Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com> * better javadoc Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2021-07-16Fix fabricApi.module does not respecting offline mode. Closes #412modmuss50
2021-07-16Fallback to fabric's experimental version manifest for versions that are not ↵modmuss50
in the launchermeta.
2021-07-16Actually handle gzip encoded connections when downloading.modmuss50
2021-07-16Add back customManifest apimodmuss50
2021-07-14Refactor LoomGradleExtension (#431)modmuss50
* First pass at refactoring the extension * Fix inital issues. * Combine some interfaces * Checkstyle * Fix years * Add isShareCaches to api
2021-07-13Add versions used to compile/build against to jar manifest (#428)modmuss50
* Add versions used to compile/build against to jar manifest * checkstyle * Move to post remap * Fix build * Add mc version and mixin group * Typo * Make test run across versions better.
2021-07-13Fix AW field remapping (#434)Juuxel
* Fix AW field remapping * Fix by updating TR instead * Fix checkstyle so that tests run
2021-07-13Improve some bad stack traces.modmuss50
Idk why this happens.
2021-07-10Fix local file mod dependencies (#430)Juuxel
* ModProcessor: Add more descriptive error TR output error message * Fix flatDir/files/fileTree mod dependencies * Add clarifying comment * Use hash as a placeholder version * ProjectTestTrait: Copy instead of reading and writing text This allows having jars and other binary data in tests. * Add integration test for local file dependencies * Use File.bytes instead of Files.copy * Use truncated SHA256 instead of murmur3
2021-07-10Use spotless for header validation, years have been back-filled from git historymodmuss50
2021-07-05Fix yet another gradle deprecation, expand tests to cover itmodmuss50
2021-07-04Fix build...modmuss50
2021-07-04Use a detached configuration to add jetbrains annotations to the source ↵modmuss50
remapper classpath.
2021-06-20Fix typo "officalMojangMappings" (#420)shedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-06-14Basic layered mappings with @ParchmentMC support (#413)modmuss50
2021-06-13Use tabs for indentation in the Fernflower decompiler (#383)haykam821
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-06-13Fix new gradle 8.0 deprecation added in 7.2 (#416)modmuss50
* Fix new gradle 8.0 deprecation added in 7.2 * Handle bootstrap tests a bit better * Fix 0.9 wrapper tests
2021-06-13Always fork the java compilermodmuss50
2021-06-01Fix MergedNestedJarProvider not calling the child's preparemodmuss50
2021-05-28Fix local ivy layout not respecting classifiers. Fixes #407modmuss50
2021-05-27Suppress "Inconsistent inner class entries" error when decompilingmodmuss50
2021-05-26Improve error messages when using outdated Java or Gradle.modmuss50
2021-05-22Add classifier to "fake" mods' id if they have a classifier specified (#394)Mitchell Skaggs
* Remove unused codepath (`RemapJarTask` is an `AbstractArchiveTask`) * Remove incorrect comment Comment originally added in 02e9616622abed6b266ced329b86d419ac31ee88 * Add classifier to `DependencyInfo` * Add classifier to generated mod ID * Clean up code structure from review Co-authored-by: haykam821 <haykam821@users.noreply.github.com> * Inline `file` local variable Co-authored-by: haykam821 <haykam821@users.noreply.github.com> Co-authored-by: haykam821 <haykam821@users.noreply.github.com>
2021-05-22add support for new dependencyResolutionManagement (#400)LogicFan
* move repo declartions - Move repository declartions in MavenConfiguration.java to LoomRepositoryPlugin.java * move repo declartions - Move repository declartions in MinecraftMappedProvider.java to LoomRepositoryPlugin.java * move repo declartions - Move repository declarations in MinecraftProcessedProvider.java to LoomRepositoryPlugin.java * do not add repositories if dependencyResolutionManagement is used * Simplify the change on LoomGradlePlugin - this is the suggestion from liach * change name to follow fabric naming convension - change getProjectUUID to getProjectUuid - change PROJECT_MAPPED_CLASSIFIER to projectMappedClassifier * remove MavenConfiguration.java - the file currently do nothing. * clean-up for all `instanceof` clause * add DependencyResolutionManagementTest * code cleanup * Update src/test/resources/projects/dependencyResolutionManagement/projmap/src/main/resources/modid.accesswidener * change project uuid to project full name Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-05-18Update MCE to 0.4.4modmuss50
2021-05-15Make the run config api stablemodmuss50
2021-05-13General cleanup by making use of java 16 features (#397)modmuss50
* General cleanup by making use of java 16 features * use jackson-databind in place of gson when reading to a record * Fixes * cleanup * dep updates * Replace commons IOUtils usage with native java * Update fernflower
2021-05-12Catch all when merging jarsmodmuss50
2021-05-12Update MCE to 0.4.3modmuss50
2021-05-12Cleanup merged jar on failuremodmuss50
2021-05-12Enable `ShowCodeDetailsInExceptionMessages` (Better null pointers) for all ↵modmuss50
run configs
2021-05-04Make all loom added configurations lazymodmuss50
2021-05-04Fix gradle 8 deprecation warningmodmuss50
2021-05-04Make remapped configurations lazymodmuss50
2021-05-04Merge branch 'dev/0.7' into future/devmodmuss50
# Conflicts: # src/test/groovy/net/fabricmc/loom/test/util/ProjectTestTrait.groovy
2021-04-27Revert "Update MCE"modmuss50
This reverts commit b85659640d74b534af9c391fffaf6cd62c501292.
2021-04-27Merge branch 'dev/0.7' of github.com:FabricMC/fabric-loom into dev/0.7modmuss50
2021-04-27Update MCEmodmuss50
2021-04-21Add loom development dependencies to test runtime classpath (#389)ByMartrixX
2021-04-14Update mixin-compile-extensionsmodmuss50