Commit Graph

213 Commits (ba4b9289e211def2a3bb78ace3049724704921d9)

Author SHA1 Message Date
modmuss50 20dd62d5b4 Update a number of dependencies 2021-01-16 13:50:45 +00:00
modmuss50 03444f26b0
General code cleanup (#313)
* First general cleanup pass

* Review feedback

* Fix build

* Fix tests
2020-12-24 20:58:30 +00:00
modmuss50 3bdccee02e
Refactor and fix game/loader library handling (#298)
Update fernflower
2020-12-21 19:34:00 +00:00
modmuss50 3ab757363c Start 0.6 dev cycle 2020-12-21 19:31:47 +00:00
modmuss50 98725f9400 Publish using github actions 2020-11-15 17:32:57 +00:00
modmuss50 d1281be741
Migrate to access-widener library (#294) 2020-11-15 16:15:02 +00:00
Jamie Mansfield db623157aa
Use Mercury 0.1.0-rc1 (#301) 2020-11-15 16:03:16 +00:00
modmuss50 9029a699d9 Official Mojang Mappings support
# Please read and understand the EULA before using!

Use in your build.gradle with the following:

`mappings minecraft.officialMojangMappings()`

To automatically migrate to Mojang mappings run the following:

`gradlew.bat migrateMappings --mappings "net.mojang.minecraft:mappings:1.16.2"`

Co-authored-by: Ramid Khan <ramidzkh@gmail.com>
2020-08-24 22:12:26 +01:00
Joshua Schirra 032ee6f9f1
fix build number not being expanded to proper value (#254)
convert String to GString so that the value is interpolated properly
2020-08-10 08:13:23 +01:00
Reece Dunham 1955bcb2ea General cleanup 2020-07-26 21:32:10 +01:00
modmuss50 cb52cabb18 Add Experimental CFR support. Line numbers and comments are not currently supported. 2020-07-26 21:22:17 +01:00
modmuss50 bc3ff0180a Start 0.5 dev cycle 2020-07-26 20:56:23 +01:00
modmuss50 c1e4212eb8 update fernflower 2020-06-15 23:09:23 +01:00
modmuss50 b1ae5dee5d
Test across java and gradle versions with github actions. (#218)
* Experiment with github actions

* Fix?

* another fix

* Fix?

* Change github actions run args

* Tried and tested is better right?

* spaces spaces spaces

* revert

* info

* Just 4.9

* Fixes to support building on newer gradle versions

* Forward log output and run tests on runtime gradle version

* Remove travis

* De-duplicate

* Remove daily action, doesnt seem to work so well.
2020-06-08 15:19:11 +01:00
modmuss50 5ae727612d Update lorenz-tiny to 2.0.0 2020-05-27 16:41:43 +01:00
Fudge cf13e4aa02
Allow applying kapt and using mixins in other source sets (#211)
* Fix kapt and source sets

* cleanup

* cleanup 2
2020-05-22 14:38:25 +01:00
modmuss50 a36d7a20d4 Fix crash when reading empty aw file, fix -SNAPSHOT versions plugin marker not being published 2020-05-14 02:07:53 +01:00
modmuss50 58fe59491a Also publish a -SNAPSHOT version along side the specific versions as it was useful. 2020-05-13 20:03:26 +01:00
modmuss50 3eff7d0fdb
Improve setup speed. (#208)
* Improve access widener remapper, now uses tiny remapper

* First pass on using the new tiny remapper

* Optimise source remapping
2020-05-13 19:44:45 +01:00
modmuss50 93820f0d65 Update to new versioning scheme and update some deps 2020-04-26 14:02:27 +01:00
modmuss50 3ce6fcd9a4 Update to use threaded fernflower 2020-04-24 13:36:50 +01:00
modmuss50 9e64c729ef Hopefully fix jenkins build 2020-04-11 19:28:48 +01:00
modmuss50 ee462f8f9e
0.2.7 refactors (#178)
* Rough work on project based jars, skeleton for AccessEscalators?

* First working draft

* Minor changes

* Add support for mutable, better error checking when parsing file.
Code cleanup
Remap if needed when reading

* Fix inner classes and genSources

* Fix CME

* Caching, only regen jar when input changes

* Some work, untested

* Fix writing, fix checkstyle issues

* More fixes

* Move jars into a maven file structure, cleans up the file structure, and will benefit idea 2020
Add some basic validation to the AccessWidenerRemapper, will present any issues with the mappings when building (May need a way to disable?)
+ Some bugs fixes

* Fix issues with source jars in idea 2020, should be backwards compatible with 2019

* Move to lorenz-tiny

* Build fix + small cleanup

* Remove accesswidener's for now

* Update dev launch injector, should fix all issues with spaces in the path.
2020-03-06 11:15:34 +00:00
modmuss50 2ab2f7c6ae Update stitch 2020-02-14 18:50:50 +00:00
modmuss50 1416d55777 update stitch 2020-01-24 10:39:57 +00:00
modmuss50 6a8b7e2d9a Update stitch 2019-12-27 21:04:26 +00:00
modmuss50 c67206297e
Javadocs (#154)
* Javadocs

* Move to using IFabricJavadocProvider
Co-authored-by: mentlerd <mentlerd@gmail.com>

* Checkstyle
2019-12-02 13:32:10 +00:00
modmuss50 cedddbbff5 Start on the 0.2.7 cycle 2019-11-28 18:02:51 +00:00
Fudge 4ca20fb39e Allow source jars to use their own parameter names for mod deps (#147)
* formatting

* spaaaace
2019-11-13 12:32:44 +00:00
liach c8ef934bda Add mixin ap to projects in a "better way" (#144)
* Add mixin ap to projects in a "better way"

Signed-off-by: liach <liach@users.noreply.github.com>

* Remove obsolete bad code

Signed-off-by: liach <liach@users.noreply.github.com>

* Use a field in constants instead

Signed-off-by: liach <liach@users.noreply.github.com>

* String format does not work

Signed-off-by: liach <liach@users.noreply.github.com>
2019-11-11 16:52:13 +00:00
Fudge 458eaabb7e Fix V2 regressions (#146)
* fix regressions

* Supposedly fix kotlin compile error
2019-11-11 13:21:59 +00:00
modmuss50 35437891b5 Update tiny remapper 2019-11-10 09:30:42 +00:00
Fudge 8e916f8fb0 Support using TinyV2 mappings (#132) 2019-11-09 19:00:36 +00:00
modmuss50 f85daec559
Reformat to use Fabric API's checkstyle (#137)
* Reformat to use Fabric API's checkstyle

* Fix

* Fix

* Update

* Travis and fixes

* possible fix for checkstyle?

* Helps if i push the checkstyle.xml file...

* Log checkstyle issues to console - used by travis

* Fix some more issues

* opps
2019-11-02 20:23:27 +00:00
modmuss50 7bcc6b98ff Rewrite native handling, fixes support for gradle 5.6.3 Fixes #81 Fixes #134
This will require run configs to be regenerated
Added cleanLoom, just a task that depends on cleanLoomBinaries and cleanLoomMappings
2019-10-22 20:04:38 +01:00
asie 8d05cba5a9 fix building on gradle 4.9 2019-07-24 23:10:13 +02:00
asie 3c7d6fd87f caching/performance improvements 2019-07-24 23:04:45 +02:00
asie ac9c7fc103 downgrade to gradle 4.9, fix tiny-remapper deprecations, restore old dev/noclassifier behaviour for default RemapJarTask settings 2019-07-24 22:34:27 +02:00
Adrian Siekierka fd7d4b29db update libraries 2019-06-29 11:43:13 +02:00
Adrian Siekierka efba2a2cb5 update libraries 2019-06-29 09:33:52 +02:00
Adrian Siekierka f269ba5039 update dependencies 2019-06-28 23:54:54 +02:00
modmuss50 3e4ade38a7 Merge branch 'pull/110' into dev/0.2.5
# Conflicts:
#	gradle/wrapper/gradle-wrapper.properties
#	src/main/java/net/fabricmc/loom/util/MixinRefmapHelper.java
2019-06-24 11:17:45 +01:00
modmuss50 9f0cdbf1a4 Start work on 0.2.5, update to gradle 5.5-rc-3 2019-06-24 11:13:47 +01:00
asie 2c714f357e update libraries 2019-06-20 15:25:48 +02:00
Mitchell Skaggs ee9991fdf1
Increment version due to binary and source incompatible changes 2019-06-16 13:33:23 -05:00
Mitchell Skaggs 69df7ed774
Add simple integration tests for the plugin 2019-06-10 22:22:18 -05:00
asie b03b5d2156 begin 0.2.4 snapshot line 2019-05-27 22:31:32 +02:00
asie 788df9cfc7 migrate RemapJarTask and RemapSourcesJarTask over to getters/setters for fields; make RemapJarTask use input and output locations instead of in-place renaming fluff 2019-05-11 00:53:50 +02:00
Adrian Siekierka 88796b3c0f migrate away fabric-mixin-compile-extensions, fix root/sub project issues wrt mixin/loom presence hopefully once and for all 2019-04-30 00:43:26 +02:00
Adrian Siekierka 17b8aa7a70 fix #85, remove parts of deprecated code, update Mixin 2019-04-27 22:31:50 +02:00
Adrian Siekierka b37079c931 backport FernFlowerTask and relevant systems from 0.3 2019-04-22 13:40:59 +02:00
Adrian Siekierka 3094d70731 apply nested JAR dependencies to every remapJar task which nests 2019-04-22 01:25:03 +02:00
Adrian Siekierka bed0bba2da update tiny-remapper, Mixin 2019-04-21 11:37:35 +02:00
Adrian Siekierka 085021dcbb update libraries; move asset downloading to task that does not run on every build, but only when it is required (runClient and IDEs) 2019-04-20 20:56:05 +02:00
asie 86ae0146d9 fix license check 2019-04-19 21:56:58 +02:00
modmuss50 02e9616622 Start on 0.2.1 2019-04-07 15:18:11 +01:00
Adrian Siekierka c452b3ae8a update libraries 2019-04-07 13:33:48 +02:00
asie a9a160b0bf do not pull in Enigma for Stitch 2019-02-12 20:32:42 +01:00
Adrian Siekierka 21c31307c4 update Mixin, Stitch 2019-02-01 22:28:36 +01:00
asie d0283ed79e update dependencies 2019-01-21 23:08:50 +01:00
asie 8827983287 update mixin 2019-01-02 21:28:53 +01:00
asie 623d1544a0 update Stitch 2018-12-28 18:42:19 +01:00
asie 0b38f3ecc5 use more reliable renamer, update Stitch - fix #46 2018-12-23 19:18:40 +01:00
Adrian Siekierka 5f121178c2 update mixin 2018-12-22 21:24:25 +01:00
Adrian Siekierka f77aa8a1d3 update to fabric-hotfixed Mercury 2018-12-22 17:08:34 +01:00
Adrian Siekierka baaf430fd8 mark Loom 0.2.0, update Mixin library 2018-12-22 15:46:58 +01:00
Adrian Siekierka a620812aab build functional intermediary-mapped sources JARs; update Stitch 2018-12-22 14:37:16 +01:00
modmuss50 2b85714448 Very early source remapping 2018-12-22 10:31:30 +01:00
asie 1445b8240a update dependencies, remap LVTs when mapping JAR 2018-12-20 12:32:02 +01:00
asie 4a3555216d update stitch 2018-12-17 13:55:57 +01:00
asie 83d6a2da42 add minVersion filling support - fix #34 2018-12-15 14:33:25 +01:00
asie 529db72b25 update Mixin, fix #23 2018-12-13 18:01:02 +01:00
modmuss50 d9d89d1674 Didnt mean to do that.
I need to find a better way to test it locally
2018-12-12 16:09:48 +00:00
modmuss50 96e0dd30be Auto generate eclipse launch files 2018-12-12 13:43:42 +00:00
Adrian Siekierka 807fb38736 mark as 0.1.0-SNAPSHOT 2018-12-09 17:42:56 +01:00
Adrian Siekierka 1f9e894d3c update stitch 2018-12-09 13:04:53 +01:00
asie 72a0375696 clean up Maven repositories 2018-12-09 08:21:32 +01:00
asie c6c88e69de update Stitch, add CleanLoomBiaries 2018-12-08 13:40:02 +01:00
Adrian Siekierka 8481d02f47 update stitch 2018-12-01 11:26:41 +01:00
Adrian Siekierka daaccc87f2 download minecraft libraries through maven 2018-12-01 11:03:25 +01:00
Adrian Siekierka 836b321107 switch to fernflower, add line number remapping 2018-12-01 10:52:17 +01:00
Adrian Siekierka d40d886f57 fix merged JAR generation 2018-11-30 22:11:30 +01:00
Adrian Siekierka e41e3e532a add sources generation, update guava 2018-11-30 21:16:42 +01:00
asie 00f14130c4 update stitch 2018-11-27 23:21:38 +01:00
asie e0972e5349 update stitch, fix error when mappings partially present 2018-11-21 18:33:25 +01:00
asie b1d5bd0536 add field name population on mapping download 2018-11-21 09:03:56 +01:00
asie 823854f2a1 update tiny-remapper 2018-11-12 01:25:06 +01:00
modmuss50 9d03783792 2 small fixes 2018-11-05 10:57:29 +00:00
modmuss50 d0e649766b Change some stuff in hope that it helps things 2018-11-04 21:28:46 +00:00
NikkyAI 40f9168b6a disable shading and small other fixes (#12)
* make Project in LoomGradleExtension private

* use gradle all distribution

* disable shading
2018-11-04 00:27:55 +00:00
asie eaa00b5dff fix build.gradle 2018-11-03 23:48:53 +01:00
modmuss50 478573bde4 revert version, opps 2018-11-03 18:06:10 +00:00
modmuss50 3a6a4f4056 Log version 2018-11-03 18:03:43 +00:00
Adrian Siekierka 0c6d36b3b7 update tiny-remapper 2018-11-03 16:38:19 +01:00
NikkyAI b3a5f4ebd7 add gradle plugin marker (#11)
format build.gradle
format


do tabs
2018-11-03 13:01:34 +00:00
asie 71deda5fee update tiny-remapper 2018-11-02 20:10:49 +01:00
Adrian Siekierka bd5d306a9a debloat, fix fabric-base 2018-11-01 12:15:09 +01:00
Adrian Siekierka 0d2c97bf51 move JAR merging to Stitch 2018-10-31 18:18:42 +01:00
Adrian Siekierka a99bee8f7c update libraries, switch to tiny-remapper as default 2018-10-31 15:23:50 +01:00
asie 482606d765 update tiny-remapper, Enigma, weave 2018-10-28 22:34:39 +01:00