Commit Graph
306 Commits
Author SHA1 Message Date
Jason Mitchell 95dedaae69 Kill off Jitpack (requires bump to gtnh forgegradle 1.2.9)
Stop running spotless on build.gradle (It's screwing up the indentation on a bunch of functions)
2022-08-21 11:18:37 -07:00
Jason Mitchell fee00890a2 Revert "Fix file not found if no mixins exist (#51)"
This reverts commit c4bef302c3.
2022-08-21 11:18:37 -07:00
github-actions[bot]andDream-Master fbbf4a500e [ci skip] update build script version to 1660994461 (#56)
Co-authored-by: Dream-Master <Dream-Master@users.noreply.github.com>
2022-08-20 13:33:16 +02:00
Jakub 7abb5fe032 Create .gitattributes to ignore user config. (#55)
* Create .gitattributes

* Auto download and repo renormalization

* Ensure to run both

* And here
2022-08-20 13:20:43 +02:00
github-actions[bot]andDream-Master ed22d22cc7 [ci skip] update build script version to 1660899027 (#54)
Co-authored-by: Dream-Master <Dream-Master@users.noreply.github.com>
2022-08-19 10:53:45 +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
github-actions[bot]andDream-Master ee3d3f52b4 [ci skip] update build script version to 1660491897 (#52)
Co-authored-by: Dream-Master <Dream-Master@users.noreply.github.com>
2022-08-14 17:56:46 +02:00
Vladislav Laetansky c4bef302c3 Fix file not found if no mixins exist (#51) 2022-08-14 17:44:43 +02:00
github-actions[bot]andConnor-Colenso f698cd501d [ci skip] update build script version to 1659977784 (#50)
Co-authored-by: Connor-Colenso <Connor-Colenso@users.noreply.github.com>
2022-08-09 01:29:06 +04:00
Glease 6118c09404 Don't try network if working in offline mode (#49) 2022-08-08 17:56:03 +01:00
github-actions[bot]andDream-Master 782646cb30 [ci skip] update build script version to 1659365110 (#48)
Co-authored-by: Dream-Master <Dream-Master@users.noreply.github.com>
2022-08-01 21:47:03 +07:00
Vladislav Laetansky 426d2f9089 Move remoteMappings to the scope of deobf(SS) (#47) 2022-08-01 21:44:54 +07:00
github-actions[bot]andvlaetansky d9be47e250 [ci skip] update build script version to 1659353820 (#45)
Co-authored-by: vlaetansky <vlaetansky@users.noreply.github.com>
2022-08-01 18:45:21 +07:00
Vladislav Laetansky e28863fbc3 Fix gradle properties being not found (#44) 2022-07-30 23:08:36 +02:00
mitchej123 69dc7027c2 [ci skip] update build script version to 1658517280 2022-07-22 12:15:20 -07:00
Jason Mitchell dfeea0102f Handles auto downloading a default settings.gradle if one doesn't exist 2022-07-22 12:14:23 -07:00
mitchej123 777fd9070f [ci skip] update build script version to 1658080040 2022-07-17 10:48:48 -07:00
Jason Mitchell af02166864 Point spotless config to a central location
Notes:

* mods will require settings.gradle
* Publishing ExampleMod1.7.10 pointing to itself for spotless config, mods should point to a tag on ExampleMod1.7.10
2022-07-17 10:47:03 -07:00
github-actions[bot]andDream-Master c44cfe7cf6 [ci skip] update build script version to 1657803382 (#38)
Co-authored-by: Dream-Master <Dream-Master@users.noreply.github.com>
2022-07-14 19:57:16 +07:00
Glease d9cd90ff80 update spotless format to match editorconfig (#37)
* update spotless format to match editorconfig

* fix convergence issue

* apply spotless

Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
2022-07-14 19:56:07 +07:00
3a9563e9d0 [ci skip] update build script version to 1657593170 (#31)
Co-authored-by: Connor-Colenso <Connor-Colenso@users.noreply.github.com>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-07-12 08:31:55 -07:00
Raven SzewczykandConnor-Colenso 87e65c226a Use shared github actions workflows (#35)
* Use shared github actions workflows

* Oops, switched the conditions around

Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com>
2022-07-12 21:45:21 +07: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
miozune bc2e157bcf Don't format markdown files (#34)
* Don't format markdown files

* Update version
2022-07-02 18:17:18 +07:00
Raven Szewczyk 2016e39dea Spotless autoformatter (#32)
* Fix editorconfig for language files

* Add spotless autoformatting plugin

* Autoformatting fixes

* Update build.gradle timestamp
2022-06-23 20:53:03 +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
MuXiu1997 b53871c2cf Update buildscript maintenance workflow (#30) 2022-06-05 18:19:43 +02:00
MuXiu1997 6282e82fd8 Add ksp plugin (#29)
* Add ksp plugin
* Update version
2022-05-17 22:32:29 -07:00
Glease a312d9b480 Fix publishing source with wrong classifier (#27)
* Fix publishing source with wrong classifier

* Update version
2022-04-18 21:58:42 -07:00
bombcar 83bbb4cdbe fix debug default (#26)
* fix debug default

* boolean
2022-03-04 08:27:55 -08: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
52bb73b6fd shellcheck (#23)
* shellcheck

* fix(script): shellcheck and refactor

* fix(scripts): rename snake_casing no .sh

Follows Google's Shell Style Guide:
https://google.github.io/styleguide/shellguide.html

Script names must use snake_casing

Remove the `.sh` extension on `chmod +x` scripts because
the shell interpreter choice is in the shebang.

The `.sh` extension is to be maintained for sourced scripts because
those are not stand-alone executables:

```sh
. sourced_script.sh # . sourcing
source sourced_script.sh # alternate syntax
```

* decomp

* Stay CI

Co-authored-by: Léa Gris <lea.gris@noiraude.net>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-02-20 18:02:33 +01:00
GleaseandMartin Robertz a67665d33d Fix not including non java code in sources jar (#25)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
2022-02-20 17:58:17 +01:00
bombcar 9d092e5c74 add info (#21) 2022-02-20 17:54:34 +01:00
Glease 1a8f30d6e7 Filter using metadata instead of hardcoded list 2022-02-14 19:32:15 -08:00
bombcar b131cfc56d fix plugin relocation errro (#20) 2022-02-14 16:17:33 -06:00
bombcar a71130d437 Kotlin (#19)
* spaces

* revert kotlin ver

* more framework for kotlin

* make it available to external consumers

* vscode

* update scripts to properly catch broken runserveR

* editor config

* fix recursive zips

* improve

* update links

* more cleanup
2022-02-14 15:44:40 -06:00
bombcar ab7a0eef67 Update color handling, add java-library (#18)
* Update color handling, add java-library
2022-02-10 08:51:49 -08:00
bombcar 49b2f6afc0 Fix mavens (#17) 2022-02-08 13:47:16 -06: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
bombcar ea180b99bb Update migration on our branch to point to us 2022-01-30 09:54:37 -08:00
Andrey a7ceaf2a3a Fg 1.2.7 (#13)
* Upd build.gradle to FG 1.2.6 & added mixins debug props

* Upd build.gradle to FG 1.2.7
2022-01-27 08:31:49 +01:00
glowredman f755499edf Update deobf method to save BON2 and deobfuscated jars in the gradle directory (#12) 2022-01-27 08:27:39 +01:00
Jason Mitchell 526807eb90 fg 1.2.7 2022-01-23 20:29:19 -08:00
TimeConqueror 5cb5e47422 Upd build.gradle to FG 1.2.6 & added mixins debug props 2022-01-23 11:15:49 -08:00
Jason Mitchell 6b917d2aac Revert "Revert "This seems to generate dependencies in the POM file.""
This reverts commit ba14c444c3.

Revert "Revert "Remove non GTNH deps from the generated pom.  Cleans up a lot of noisy deps anyway.""
This reverts commit 286a547090.

Don't generate gradle metadata
2022-01-22 09:43:39 -08:00
glowredman 838e4b658d Add methods to deobfuscate dependencies (#7)
* Add methods to deobfuscate dependencies

usage:
compile deobf(sourceURL, fileName, notch)

- fileName has to be *without* .jar
- notch can be left out (defaults to false)
- supports SRG and NOTCH mappings. Mods are usually compiled with SRG mappings but some mods (e.g. VoxelMap) are compiled with NOTCH mappings

* Change working directory

* Change to GTNH fork of BON2
2022-01-22 09:35:05 -08:00
Jason Mitchell ba14c444c3 Revert "This seems to generate dependencies in the POM file."
This reverts commit af6250a832.
2022-01-21 23:12:48 -08:00
Jason Mitchell 286a547090 Revert "Remove non GTNH deps from the generated pom. Cleans up a lot of noisy deps anyway."
This reverts commit 5bd15b557c.
2022-01-21 23:12:39 -08:00