Commit graph

516 commits

Author SHA1 Message Date
Jason Penilla
3711175570
make ReobfArtifactConfiguration fields @JvmStatic
fixes #243
2024-04-28 19:48:07 -07:00
Jason Penilla
e54e9fce13
Only exclude transitives for our tiny-remapper dep 2024-04-27 20:11:24 -07:00
Jason Penilla
0b9e07345f
feat(userdev): add pluginRemapper configuration to more easily upgrade tiny-remapper for reobfJar without disturbing the dev bundle pipeline 2024-04-27 20:01:00 -07:00
Jason Penilla
f391c0c900
1.6.3-SNAPSHOT 2024-04-27 17:36:29 -07:00
Jason Penilla
668e516a41
release: Version 1.6.2 2024-04-27 17:34:54 -07:00
Jason Penilla
8828b4adc1
Bump default scanJar memory 2024-04-27 17:32:31 -07:00
Jason Penilla
073ed85850
Bump default java launcher version 2024-04-27 17:14:22 -07:00
Jason Penilla
095a3210d2
1.6.2-SNAPSHOT 2024-04-27 16:07:27 -07:00
Jason Penilla
10b0c49ee8
release: Version 1.6.1 2024-04-27 16:04:21 -07:00
Jason Penilla
78f033b9c2
Fix mappings missing from dev bundle server jar (real) 2024-04-27 15:58:38 -07:00
Jason Penilla
0eaa60eeff
Fix mappings missing from dev bundle server jar 2024-04-27 15:43:46 -07:00
Jason Penilla
cfcb6ad8ef
Check for offline mode before initializing submodules 2024-04-27 11:10:48 -07:00
Jason Penilla
cf4fcd8953
1.6.1-SNAPSHOT 2024-04-26 16:21:49 -07:00
Jason Penilla
17b3734bb1
release: Version 1.6.0 2024-04-26 16:17:02 -07:00
Jason Penilla
e92795886c
Bump dev bundle revision to 4
It's important that 1.20.5 plugins include the mappings metadata in their manifests. For this reason we are bumping the dev bundle revision without any changes to the format.
2024-04-26 14:20:06 -07:00
Jason Penilla
114dc611e0
Fix whitespace 2024-04-25 18:35:38 -07:00
Jason Penilla
c6d776d6f4
feat(core/patcher): Add PaperweightSourceGeneratorHelper to replace VanillaGradle usage 2024-04-25 18:33:06 -07:00
Jason Penilla
ca387c97ce
Update RemapSources sourceCompatibility convention 2024-04-25 18:13:31 -07:00
Jason Penilla
c8f6e05472
Plugin remapping (#239)
* Work

* Include mappings hash in manifest

* Use manifest instead of marker file

* Create the manifest if it doesn't exist

* Make RemapJar no-op when the namespaces match

* move files

* decorate userdev jar manifests

* fix relocated shadow jar manifest

* feat(core/patcher): Replace use of shadow plugin

We now reobf using the relocated mappings.
The constant pool still needs to be relocated for references to CB classes by name in for example Commodore or class preloading.

* chore(core/patcher): Remove no longer needed relocation logic from GenerateDevBundle

* chore(core/patcher): Do not extract manifest when including mappings

We don't need this after removing shadow usage

* Bump version to 1.6.0-SNAPSHOT
2024-04-23 11:40:20 -07:00
Jason Penilla
4a2e036152
1.5.16-SNAPSHOT 2024-04-10 17:09:46 -07:00
Jason Penilla
2a02316725
release: Version 1.5.15
This version is due to publishing failures of 1.5.14, no changes from 1.5.14
2024-04-10 17:06:51 -07:00
Jason Penilla
d972b76e9d
release: Version 1.5.14 2024-04-10 17:02:37 -07:00
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