Commit Graph
277 Commits
Author SHA1 Message Date
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
Jason Mitchell 5bd15b557c Remove non GTNH deps from the generated pom. Cleans up a lot of noisy deps anyway.
Fixes:
```
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not resolve com.github.GTNewHorizons:NotEnoughItems:2.2.0-GTNH.
     Required by:
         project :
      > Could not resolve com.github.GTNewHorizons:NotEnoughItems:2.2.0-GTNH.
         > Could not parse POM http://jenkins.usrv.eu:8081/nexus/content/groups/public/com/github/GTNewHorizons/NotEnoughItems/2.2.0-GTNH/NotEnoughItems-2.2.0-GTNH.pom
            > Missing required attribute: dependency groupId
```

ForgeBin was being generated without a groupId
```
<dependency>
<artifactId>forgeBin</artifactId>
<version>1.7.10-10.13.4.1614-1.7.10</version>
<scope>compile</scope>
</dependency>
```
2022-01-21 22:49:05 -08:00
Jason Mitchell af6250a832 This seems to generate dependencies in the POM file. 2022-01-21 16:03:37 -08:00
Alkalus f0abd33983 Update build.gradle 2022-01-21 08:02:56 -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
Jason Mitchell 2f87ccd619 codeowners 2.0 2022-01-17 18:55:23 -08:00
Jason Mitchell b162b993ac codeowners 2022-01-17 18:50:23 -08:00
Jason Mitchell 46f0223898 Adds publish to GTNH Maven 2022-01-17 18:39:50 -08:00
Jason Mitchell 9224427e63 Add CODEOWNERS for .github directory 2022-01-17 18:39:50 -08:00
Martin Robertz 9bcb93d22d Merge pull request #2 from GTNewHorizons/point_to_GTNH
Point to GTNH
2022-01-17 07:28:29 +01:00
Martin Robertz 67902165b0 Merge pull request #1 from GTNewHorizons/update_mixins
Update Mixins
2022-01-17 07:13:32 +01:00
Jason Mitchell 010c483dce Point to GTNH 2022-01-16 21:17:07 -08:00
Jason Mitchell 1bd182a902 Switch to SpongeMixins 1.5.0 (Non dev version until shading is figured out for dev jar), and GTNH fork of SpongePowered Mixin 2022-01-16 21:09:20 -08:00
GitHub CI Bot f2d07b51b5 [ci skip] update build script version to 1641429628 2022-01-06 00:40:28 +00:00
Johann Bernhardt cfdc997df6 Update ForgeGradle version 2022-01-06 01:40:13 +01:00
Johann Bernhardt 586981fcbb Merge pull request #58 from SinTh0r4s/use-timestamp-to-version-buildscript
use timestamp to version buildscript
2021-12-26 22:13:22 +01:00
Dmytro 54b81a1fc3 use timestamp to version buildscript 2021-12-26 23:10:36 +02:00
Johann Bernhardt 0d79ce05ca Fix user name 2021-12-21 23:33:55 +01:00
GitHub CI Bot 0357d99941 [ci skip] update build script version to 8fa7883b61 2021-12-21 00:14:11 +00:00
Johann Bernhardt 8fa7883b61 Added shadeCompile and shadowCompile configurations 2021-12-21 01:13:56 +01:00
Johann Bernhardt 7fb3475301 Format change 2021-12-21 01:05:50 +01:00
GitHub CI Bot dd5038d7bb [ci skip] update build script version to 29197fa3cf 2021-12-18 12:13:15 +00:00
Johann Bernhardt 29197fa3cf Fix maven-publish configuration 2021-12-18 13:13:02 +01:00
GitHub CI Bot 6d3cb8d80d [ci skip] update build script version to be36e1399d 2021-12-15 18:53:20 +00:00
Dmytro be36e1399d Merge pull request #51 from SinTh0r4s/setup-publishing-configuration
add publish configuration for github
2021-12-15 20:53:06 +02:00
Dmytro 7b5de571d9 Merge pull request #50 from SinTh0r4s/ci-detect-server-failure-without-apparent-crash
CI: make error checking in testing more robust
2021-12-15 20:52:53 +02:00
Telan 2c72a3924d ci: update publishing in release-tags.yml workflow; revert build-and-test.yml 2021-12-13 17:29:40 +02:00
Telan 5af85c307d buildscript: fix artifact id and group id being incorrect 2021-12-13 17:20:27 +02:00
Telan 659ad055d4 buildscript: configure publication with correct parameters 2021-12-13 17:09:06 +02:00
Telan e17120f9b3 buildscript: add jar as artifact 2021-12-13 17:01:36 +02:00