47 Commits
Author SHA1 Message Date
Martin Robertz 77de0dcac0 update gradle+deps+bs 2026-02-28 20:34:52 +01:00
Alexdoru 0a612fec9c update deps (#14) 2025-07-15 19:40:22 +02:00
Martin Robertz 6eff77d785 update 2025-05-04 12:49:35 +02:00
Jason Mitchell 0999b44caf Add nhlib explicit dep and stop using Tags.MODID/MODNAME (#11) 2025-04-26 23:21:34 +00:00
Martin Robertz d1817ea4c2 update 2024-08-18 14:59:51 +02:00
Raven Szewczyk 1f2314a8a5 [ci skip] upgraded build system 2024-02-04 20:01:08 +00:00
GTNH-Colen 1f6f4605b1 Rename to gtnewhorizons 2024-01-15 15:10:18 +00:00
GTNH-Colen d41aff53e0 Progress with not enough IDs 2023-10-29 01:06:18 +01:00
GTNH-Colen ac466cc02a Spotless + some reworking and renaming 2023-10-21 23:35:00 +01:00
Alexdoru 63628854e6 setup mixins 2023-10-21 20:59:19 +02:00
Raven Szewczyk 74a5889c25 Add a checkstyle lint banning wildcard imports (#220) 2023-09-22 20:06:28 +01:00
Raven Szewczyk 332c34f4b5 Configurable maven and extras (#195)
* Make maven publishing and the target URL configurable

* Add a Build&Test gradle task for convenience

* Make IJ project build more useful by building jars and running spotless

* Allow kotlin scripts, add addon.late.gradle for eval-order-dependent addon scripts

* Bump lwjgl3ify&hodgepodge

* Fix duplicate mod errors when old gtnhlib is present in the dependency tree

* Only allowInsecureProtocol when starts with http

* Don't crash when update check fails

* Fix derp

* Make dirty version numbers follow semver conventions more
2023-07-11 19:51:52 +01:00
Pelotrio 4cee6cd15a Fixes minor spelling mistakes (#183)
* Fix minor spelling mistakes

* Fixed other spelling errors
2023-05-12 23:23:05 +02:00
Raven Szewczyk edba06d7f1 RFG IntelliJ fixes (#133)
* Bump GTNHmixins

* Bump RFG version

* Add a global override for the IDEA build type

* Support multiple access transformer files

* Move mavenLocal last in the buildscript repos to fix plugin caching

* Update RFG to 1.2.0

* Make username settings work again

* Update lwjgl3ify

* Update lwjgl3 version to 3.3.2-SNAPSHOT

* Add default IDEA project output path, compatible with both ipr and .idea projects

Closes #132

* Update Gradle to 8.0 on buildscript updates

* Update gradle to 8.0

* Bump version

* Gradle 8.0.1

* Fix derp with "relocate/minimize dependencies" properties
2023-02-20 19:45:13 +00:00
Raven Szewczyk 9c54244bd0 [ci skip] Fix kotlin project issues, update kotlin to 1.8 2023-01-29 22:22:44 +00:00
Raven Szewczyk a55df1f5fb Disable enableGenericInjection in new projects until I can resolve class compatibility issues 2023-01-29 17:16:06 +00:00
Raven Szewczyk 1d5c51c7b8 RetroFuturaGradle port (#109)
* Update gradlew to 7.6

* Minimal changes to not crash when loading RFG instead of FG, remove some no longer necessary workarounds

* Update gradlew to 8.0-rc-1

* Fix build.gradle IntelliJ warnings, use configuration avoidance api for faster gradle startup

* Fix crash in processResources due to file duplication with the implicit from() block

* Working runClient/runServer

* Use RFG's jar/reobfJar instead of hacks around FG's sometimes reobfed jar

* Fix spotless using the wrong sourcesets

* Fix publishing issues

* Bring back jvm8 compatibility

* Add documentation to `dependencies.gradle`

* Add `compile` config backwards compat with a deprecation notice

* Add AT support

* Add IDEA config

* Add a testCompile backwards compat configuration

* Maven and mixin fixes

* Squash more publishing bugs

* Bump settings.gradle commits

* Switch gradle distribution back to bin

* Add a mod buildscript&gradle updating helper script (temporary, remove before merging)

* Rerun actions

* Add IJ-native run configs, pass javac options

* Switch the default tag injection mechanism to a generated class

* Bump the RFG version

* Inject coremods in intellij-native run configurations

* Update gradle to 8.0-rc-2

* Bump RFG version

* Fix missing toolchain provider in Gradle 8

* Make minimization of shadow jars optional, fix missing runClient->shadowJar dependency

* Update RFG, enable assertions only in the current mod, update gtnhmixins, configure idea projects after all jvm args are set up

fixes <https://github.com/GTNewHorizons/RetroFuturaGradle/issues/1>

* Add a workaround for repackaged CCL not finding mappings

* Remove the silly 1.7.10- prefix to all mod versions, it's stripped in publishing anyway

* wip: Jabel

* Add opt-in Jabel support for Java 17 syntax compiled to Java 8 bytecode

* Point actions to the rfg branch

* Configure the IDEA inspection to ban Java 9+ standard library usage

* Remove inspectionProfiles, they seem to not work after all

* Add optional generic injection settings from RFG

* Move updated spotless configs to `gtnhShared`

* Downgrade gradlew to 7.6 from the RC versions

* Spotless apply with the new settings

* Cleanups before the PR is ready to review

* Bump RFG to fix Windows path escaping in Java code
2023-01-28 21:58:52 +00:00
ef147fa538 Eclipse Formatting (#114)
* Switch to Eclipse JDT formatting

* Remove examplecode bloat

* Add maven/CF dependency deobfuscation

Credits to @FalsePattern

* Apply spotless

* Revert "Switch to Eclipse JDT formatting"

This reverts commit 96104db65b4e2630637e9f05b3bbb8fb3a762531.

* Rerun actions

* spotlessApply (#115)

Co-authored-by: GitHub GTNH Actions <>

---------

Co-authored-by: Raven Szewczyk <git@eigenraven.me>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-01-28 20:08:45 +00:00
Raven Szewczyk 45fb6ac7e9 Add an option to not minimize shadowed dependencies (#110) 2023-01-22 18:37:18 +01:00
glowredman d8570d03d6 Allow tokenreplacement in multiple files (#105) 2022-12-17 22:44:58 +01:00
glowredman 79d5535e77 Automatic GTNH Mixin dependency
Automatically sets GTNH Mixins as a dependency for CurseForge and/or Modrinth artifacts if mixins are enabled
2022-10-18 11:34:14 -07:00
glowredmanandMartin Robertz 0be3bd8925 Add Modrinth and CurseForge publishing (#63)
* Add Modrinth and CurseForge publishing

* Make Modrinth and CurseForge publishing configurable via gradle.properties

* Fix double negation

Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-09-11 20:26:55 +02:00
Glease 501a878b93 allow opt out spotless (#53)
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2022-08-19 10:50:05 +02:00
Raven Szewczyk 4bee2db5a4 Add an option to add the mixin jvm arguments without requiring mixins present in the mod (#33)
Useful if one of the dependencies uses mixins, e.g. running with JourneyMap+VisualProspecting in the dev environment.
2022-07-12 03:32:38 +01:00
glowredmanandMartin Robertz 317e07e1cf Add Parameter Deobfuscation Task (#28)
* Add parameter deobfuscation task

* Upgrade deobf method

Now uses MCP 905 by default (only available as part of FML)

* Make requested changes

Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-06-21 00:50:19 +02:00
43dc1ca27f mixin config small changes (#24)
* + added mixins debug config
+ fixed boring mixin config file recreation

* check if gradle.properties had not usesMixinDebug property

Co-authored-by: karpov.evgeniy <karpov-em@dartit.ru>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Co-authored-by: bombcar <github@bombcar.com>
2022-02-25 17:48:47 +01:00
bombcar b66fc006bd Warn if git is not present, actually set VERSION override if used (#16)
* Allow gradlew to run even if git and VERSION aren't set
* actually use the override
* actually set version
* add more error checking
* kotlin support
* full Kotlin support
* kotlin will need to be in addon.gradle
* version
* download.ruin
2022-02-07 18:34:54 -08:00
bombcar d3517416da Fix typos 2022-01-30 09:54:37 -08:00
Jason Mitchell 16d9937ccf Allow for publishing shadowed jars and add an option to not publish sources 2022-01-17 21:44:50 -08:00
Johann Bernhardt 0d79ce05ca Fix user name 2021-12-21 23:33:55 +01:00
Johann Bernhardt 8fa7883b61 Added shadeCompile and shadowCompile configurations 2021-12-21 01:13:56 +01:00
bombcar c9764fe795 spelling 2021-12-10 11:23:26 -06:00
Johann Bernhardt 26292652cf Add customizable artifact base name 2021-12-03 00:02:51 +01:00
basdxz 6727f96c09 Fix typo in properties
- IMixinPlugin -> IMixinConfigPlugin
2021-11-20 16:33:17 +00:00
Johann Bernhardt 9d532e92a0 Add automatic update option 2021-11-15 20:11:59 +01:00
Johann Bernhardt c3ea844376 Added support for legagy core mods. Yet untested 2021-11-07 01:50:30 +01:00
Johann Bernhardt ebea83d62d Declutter run arguments 2021-11-07 01:15:27 +01:00
Johann Bernhardt 6f78d5a347 Remove mixin example 2021-11-07 01:14:57 +01:00
Johann Bernhardt 2031cb38dc Remove access transformer example 2021-11-07 01:05:32 +01:00
Johann Bernhardt c4b1866d72 Combine FMLCorePluginContainsFMLMod and ForceLoadAsMod 2021-11-07 01:04:12 +01:00
Johann Bernhardt 4c37051951 Added option and example for access transformers 2021-11-07 00:25:02 +01:00
Johann Bernhardt 66aaa20030 Add missing version field explaination 2021-11-04 19:50:50 +01:00
Johann Bernhardt 575613e3b5 Move system properties definition to build.gradle, add comments and update readme 2021-11-04 16:51:55 +01:00
Johann Bernhardt dca8a56f0b Remove whitespace 2021-11-03 18:47:34 +01:00
Johann Bernhardt 2aa2237ac1 Generate Mixin Config on demand 2021-11-03 18:44:23 +01:00
Johann Bernhardt 3153201421 Refactor api property 2021-11-03 18:43:44 +01:00
Johann Bernhardt 5a6afe6098 Initial commit 2021-11-03 16:42:12 +01:00