Commit graph

494 commits

Author SHA1 Message Date
Jake Potrebic
9026a4ba27
Improved Vineflower support (#238)
* update decompiler flags for vineflower

we want them to match up to mache

* rename decompiler stuff to vineflower

* fix style

* Add back support for ForgeFlower for old dev bundles

* Add missing check

* ignore case

* Fix comment

* Rename method

* Remove verify merges flag

---------

Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2024-04-10 14:31:03 -07:00
Jason Penilla
ad931e0d37
1.5.14-SNAPSHOT 2024-04-04 14:06:13 -07:00
Jason Penilla
b7a64b0134
release: Version 1.5.13 2024-04-04 14:05:29 -07:00
Jason Penilla
754562481d
Make patched file filtering incremental & compile against filtered jar (#237)
* Make patched file filtering incremental

This makes it more reasonable to compile against

* Compile against the filtered jar

* Add missing `$` to inner class glob patterns

* Fix base path being split by collection add function
2024-04-04 13:53:18 -07:00
Jason Penilla
8c3c62d89d
Update foojay resolver 2024-03-27 12:41:01 -07:00
Jason Penilla
374131ff4f
1.5.13-SNAPSHOT 2024-03-27 12:40:47 -07:00
Jason Penilla
2fba0a0647
release: Version 1.5.12 2024-03-27 12:39:16 -07:00
Jason Penilla
bf78951adc
fix(core/patcher): Download Spigot dependencies using DetachedResolver (#233)
* Download Spigot sources using DetachedResolver; fixes #232

* Create resolver during task init

* Use DependencyFactory instead of project

* Remove redundant casts

* remove unused import
2024-03-27 12:38:27 -07:00
Jason Penilla
0d47c66448
Update Gradle wrapper to 8.7 2024-03-26 11:54:19 -07:00
Jason Penilla
dafc134ef6
Update ASM to 9.7 2024-03-23 16:25:07 -07:00
Jason Penilla
21f771d3e8
Make RemapSources sourceCompatibility a property 2024-01-09 15:13:41 -07:00
Jason Penilla
0b3688ca5b
Use JDK 17 toolchain and set -Xjdk-release=11 2024-01-09 15:12:05 -07:00
Jason Penilla
4bc9495f03
Bump Mercury 2024-01-09 14:49:43 -07:00
Jason Penilla
63838710fc
Update Gradle wrapper to 8.5 2023-12-08 21:13:30 -07:00
Jason Penilla
15224af96b
1.5.12-SNAPSHOT 2023-12-08 11:09:38 -07:00
Jason Penilla
7e631a2a9d
release: Version 1.5.11 2023-12-08 11:05:26 -07:00
Jason Penilla
8230d7d997
Clean up apply and rebuild logging
use paperweight.verboseApplyPatches to see all the Git output, even on
success (when the task's output is enabled)
2023-12-08 10:44:07 -07:00
Jason Penilla
f1548964e7
Don't log Git output for rebuilds by default either (#229) 2023-12-06 15:07:15 -07:00
Jason Penilla
b356b4d4de
Don't log Git output for patch apply by default (#228)
On Paper this can get pretty obnoxious with over 1000 server patches...
2023-12-06 12:45:33 -07:00
Jason Penilla
fc0ead8047
Update spotless and fix license check (#227) 2023-11-29 18:10:27 -07:00
Jason Penilla
4e97731a49
1.5.11-SNAPSHOT 2023-11-21 12:53:24 -07:00
Jason Penilla
6a36cfa316
release: Version 1.5.10 2023-11-21 12:51:07 -07:00
Jason Penilla
76dad969e0
Short circuit userdev up-to-date checking on the last step when the dev bundle hasn't changed (#221) 2023-11-21 12:44:03 -07:00
Jason Penilla
7669316eac
Change back to our deleteRecursive utility instead of Kotlin's new built in one
Also, all the experimental path api we were using is stable now, so remove the opt-in flag
2023-11-21 12:24:32 -07:00
Jason Penilla
87e8db20d0
Make ByteArray#asHexString less slow
the old code was creating formatters (running regex) for each byte...
2023-11-20 17:14:36 -07:00
Jason Penilla
47ec175e27
Update DiffPatch (#225) 2023-11-20 16:39:14 -07:00
Jason Penilla
3be0f6cff7
Update Gradle to 8.4 (#224) 2023-11-20 16:12:08 -07:00
Jason Penilla
7d2ae18db3
Don't hash the dev bundle zip twice (#223) 2023-11-20 14:45:30 -07:00
Jason Penilla
1d88d33cc5
Move DownloadService name to a constant 2023-11-17 00:45:38 -07:00
Jason Penilla
daab4fa35e
Add InputStream contentEquals overload 2023-11-17 00:05:20 -07:00
Jason Penilla
5225a4d132
Use short-circuiting content comparison instead of hash comparison when possible (#222) 2023-11-16 23:44:02 -07:00
Jason Penilla
c7d0820fa1
skip intermediary copy when filtering jars (#220) 2023-11-16 19:54:55 -07:00
Jason Penilla
609bec2f68
increase buffer size when hashing files and don't buffer when hashing strings (#219) 2023-11-16 19:10:21 -07:00
Jason Penilla
87205250d2
1.5.10-SNAPSHOT 2023-10-26 15:48:28 -07:00
Jason Penilla
ee61ec1e07
release: Version 1.5.9 2023-10-26 15:24:53 -07:00
Jason Penilla
00d9ba22ed
Rewrite ExplicitThisAdder handling for instance methods/fields (#218) 2023-10-26 14:57:22 -07:00
Jason Penilla
fa8945f1a8
fix: fix another deprecation warning from implicit convention reference 2023-10-09 17:57:35 -07:00
Jason Penilla
45aaed91c7
1.5.9-SNAPSHOT 2023-10-09 17:54:12 -07:00
Jason Penilla
f940a23453
release: Version 1.5.8 2023-10-09 17:43:39 -07:00
Jason Penilla
2b1404179e
Respect quiet mode in version printout 2023-10-09 17:35:29 -07:00
Jason Penilla
5389e61eee Wait on input stream redirection to finish
Avoids race where output is still copying after process exits
2023-10-09 17:18:21 -07:00
Jason Penilla
b1011c70fa
fix: deprecation warning from implicit convention reference 2023-10-05 11:07:46 -07:00
Jason Penilla
340ee3582f
1.5.8-SNAPSHOT 2023-10-05 10:54:15 -07:00
Jason Penilla
2dd3e6f3b7
release: Version 1.5.7 2023-10-05 10:50:47 -07:00
Jason Penilla
c80a23cf39
bump ASM to 9.6 2023-10-05 10:50:29 -07:00
Jason Penilla
3a4ea86b77
core/patcher: print version and os on plugin apply & don't require unsupported property for windows dev bundle gen 2023-10-05 10:46:02 -07:00
MiniDigger | Martin
586f6a7d49
fix: filter project dir on windows (#214) 2023-10-05 10:20:14 -07:00
Jason
4803719449
add supported environment check for GenerateDevBundle (#213)
bypass the check with `-Ppaperweight.generateDevBundle.ignoreUnsupportedEnvironment=true`

this PR also fixes issues with platform path separators and file tree walk order in the relocation logic, as well as improves error handling
2023-10-01 12:48:20 -07:00
Jason Penilla
88edb5ce16
fix formatting 2023-09-22 18:01:36 -07:00
Jason Penilla
157abbb72f
fix #209 2023-09-22 17:57:46 -07:00