Commit Graph

32 Commits

Author SHA1 Message Date
540c7237ef build: 删减了不必要的publish代码 2026-05-03 17:07:11 +08:00
768f38fc97 feat: 可使用的构建模板
修改了脚本,使其可以推给Maven仓库
2026-05-03 13:02:19 +08:00
Jared
040ca2e79d Replace (Vanilla|Neo)Gradle with ModDevGradle, add ParchmentMC support
https://github.com/neoforged/ModDevGradle
ModDevGradle is a alternative to NeoGradle that in my experience is faster and provides a better development experience.
MDG also offers an easy 'vanilla' mode, so it has replaced VanillaGradle as well.
2024-06-25 01:48:34 -06:00
Jared
56b4f43b90 Port to 1.21. Close #59 2024-06-20 03:22:56 -06:00
Jared
5536dbd85d Port to 1.20.5 and temporarily(?) delete forge
Forge will be re-added when it is ported
2024-04-23 21:05:44 -06:00
Jared
53caea62bb Rename plugins 2024-04-21 22:31:31 -06:00
Jared
985f33d90c Modernize the template
- Replaced `subprojects` with buildSrc plugins
- Moved to Jetbrains Annotations over jsr305
- Removed timestamp related manifest attributes
- Re-enabled the gradle module metadata, required for NeoForge now.
- Changed the runs folder to `runs/<type>` for consistency
2024-04-19 21:30:40 -06:00
Jared
dacc33f439 Swap the publishing repository with something more versatile 2024-04-19 19:49:10 -06:00
Jared
77d38c6e52 Update gradle and plugins 2024-04-19 18:38:10 -06:00
Nekretaur
3d97a942ae implementation to compileOnly 2024-01-15 17:18:47 +00:00
Jared
9f0b50b3b0 Port to 1.20.4 2024-01-11 04:41:22 -07:00
Jared
10b3870853 Port to 1.20.3 2024-01-11 04:04:15 -07:00
Jared
32b88f0536
Merge pull request #37 from MerchantPug/fix/fabric-api-modid
Update Fabric Mod ID in fabric.mod.json
2023-12-02 08:59:45 -07:00
Pug
80dd136a7d
Update fabric modid in fabric.mod.json to new fabric-api modid. 2023-12-03 01:41:34 +11:00
Jared
25bcd220c5
Merge pull request #36 from MerchantPug/fix/modids
Replace examplemod with ${mod_id} in mod files.
2023-11-29 13:19:51 -07:00
Pug
2ad03775a6
Replace examplemod with ${mod_id} in mod files. 2023-11-30 01:22:50 +11:00
Jared
829e2415e6 Move plugins back to their respective build.gradle files. Close #34 2023-11-14 02:44:36 -07:00
Jared
ec156b6c83 Update to 1.20.2. Add a NeoForge project 2023-11-11 01:19:46 -07:00
Witixin
493ecc96d2
Cleanup and improve expansions in metadata files (#30)
* Add more fields and cleanup expansions

* Make names consistent
2023-10-05 05:31:55 -06:00
Jared
a2811f728e Fix maven artifact not having the correct name and forge pom generation 2023-06-12 04:18:51 +02:00
Jared
0a04d1fa35 Update how the archive name is set 2023-06-12 04:18:37 +02:00
Jared
a5ac191b4e Port to 1.20 2023-06-11 04:08:59 +02:00
Jared
5295b1ed68 add common code to sources and javadoc jars 2023-06-11 04:08:28 +02:00
Jared
2406e0394f general buildscript cleanup 2023-06-11 03:40:13 +02:00
Jared
531f251168 AccessTransformers and AccessWideners now apply if the file is present
AccessWideners are shared on common and fabric, since you will most likely need them in common anyway, and they are faster to apply than AccessTransformers
2023-06-11 03:33:12 +02:00
Jared
fc6f452e8c Add mixin to all projects 2023-06-11 03:25:08 +02:00
Jared
45030884b0 specify the modloader versions in the root build.gradle 2023-06-11 02:54:26 +02:00
Jared
c48bbe91c9 Remove unused gradle plugins 2023-06-11 02:34:35 +02:00
Jared
6de6f20cbd Cleanup modloader metadata files and replace more properties in them 2023-06-11 02:34:24 +02:00
Jared
9efe38d385 Update maven publishing block 2023-06-11 02:34:21 +02:00
Jared
67d79d6ba3 Update to ForgeGradle 6 and Fabric Loom 1.2 2023-06-11 01:34:55 +02:00
Jared
e10fcc23e4 Lowercase the project names as per gradle naming convention 2023-06-11 01:21:39 +02:00