Commit graph

535 commits

Author SHA1 Message Date
Jason Penilla
91fac7484b
1.7.4-SNAPSHOT 2024-09-27 19:29:41 -07:00
Jason Penilla
4e08a00d65
release: Version 1.7.3 2024-09-27 19:27:08 -07:00
okx-code
4b9a233416
Specify myers diff algorithm explicitly (#252)
* Use myers diff algorithm

This is the default Git diff algorithm and by specifying this explicitly we prevent git configs from overriding this setting. As Paper relies on patches generated with Myers, and breaks with other algorithms, it doesn't make sense to allow users to configure this.

* Add diff algorithm in generatePatches

* Also add to isUnfinishedPatch
2024-09-27 19:22:32 -07:00
Jason Penilla
b3467d9f8d
Guard against invalid remapJar configs (#256)
Proactively throw an error when input and output paths match instead of letting tiny-remapper fail.
2024-09-27 19:06:35 -07:00
Jason Penilla
40f78222c0
1.7.3-SNAPSHOT 2024-08-06 13:42:56 -07:00
Jason Penilla
33a8f201da
release: Version 1.7.2 2024-08-06 13:38:23 -07:00
Jason Penilla
a788a9770d
fix(userdev): invalidate caches for preceding steps when a step fails (#250)
* userdev: invalidate caches for preceding steps when a step fails

a common cause for patch apply failing is decompiling with the wrong jdk,
and we don't want to have to manually clean cache to fix it after replacing the jdk

* adjust message
2024-08-06 13:37:40 -07:00
Jason Penilla
a5ae66c59a
1.7.2-SNAPSHOT 2024-05-12 11:42:32 -07:00
Jason Penilla
4d47004311
release: Version 1.7.1 2024-05-11 13:01:42 -07:00
Jason Penilla
eb14faff2b
Update for paper-mojangapi removal 2024-05-11 12:30:27 -07:00
Jason Penilla
007ef94235
Use first capability of a project in case of multiple when creating bundler jars 2024-05-11 12:21:58 -07:00
Jason Penilla
d3a5f5fc4c
1.7.1-SNAPSHOT 2024-05-01 10:50:11 -07:00
Jason Penilla
c3c104c363
release: Version 1.7.0 2024-05-01 10:46:55 -07:00
Jason Penilla
f964c5bc0b
feat(userdev): Enable shared caches by default (#235)
* userdev: Enable shared caches by default

* Ignore locks for non-existent processes in cleanup

* 1.7.0-SNAPSHOT
2024-04-30 17:23:33 -07:00
Jason Penilla
b26c85b988
Remove withDisallowUnsafeRead from PaperweightUserExtension#minecraftVersion
This is ok to read during configuration, as long as it's after the dev bundle dependency is set.
2024-04-30 11:00:25 -07:00
Jason Penilla
6495ae0a8d
1.6.4-SNAPSHOT 2024-04-29 16:21:39 -07:00
Jason Penilla
a3256368ed
release: Version 1.6.3 2024-04-29 16:19:30 -07:00
Octavia Togami
b47a75a601
Apply a specific rule to exclude JUnit (#205)
* Apply a specific rule to exclude JUnit

This avoids excluding junit from the test classpath, even if explicitly added by a downstream user, which doesn't make sense, and allows people to add junit to the main classpath if they need to for some reason.

* Adjust docs and add constant for json-simple id

---------

Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
2024-04-29 16:11:06 -07:00
Jake Potrebic
381e557a2f
Don't warn about mcdev data files that aren't being modified (#241) 2024-04-29 15:49:55 -07:00
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