Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OneConfig V1 #330

Draft
wants to merge 244 commits into
base: develop-v0
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
cfcd2c4
test push
Wyvest Aug 11, 2023
fac52cd
Start with integrating PolyUI
Wyvest Aug 11, 2023
60546d9
fix compile + apiDump
Wyvest Aug 11, 2023
3231fe4
fix typo
Wyvest Aug 24, 2023
2f5c58c
delete old config and hud
Wyvest Aug 24, 2023
c4bba6f
Make the compatibility explanation more user friendly.
pauliesnug Aug 25, 2023
649306b
fix a couple typos
nextdayy Aug 31, 2023
d7bbbaf
refactor the refactor
nextdayy Aug 31, 2023
70d040c
some fixes
Wyvest Aug 31, 2023
aa32926
make it build
nextdayy Sep 1, 2023
89641dc
Merge remote-tracking branch 'origin/relocate-v2' into relocate-v2
nextdayy Sep 1, 2023
0a0535e
main methods on commands and fix tests
nextdayy Sep 1, 2023
bdc7d26
implement config manager and oneconfigui
nextdayy Sep 1, 2023
95dc361
fix compile errors and add test config
Wyvest Sep 1, 2023
4bfb2b4
fix more compile errors
Wyvest Sep 1, 2023
44e33e3
fix build errors
nextdayy Sep 2, 2023
b8b23ca
hud
nextdayy Sep 21, 2023
6855ca5
tinyfd + vcal thing i wrote ages ago, centering of UI and background,…
nextdayy Sep 22, 2023
04e9acd
changes to the config manager, dependants
nextdayy Sep 25, 2023
104ef7d
rewrite config
nextdayy Sep 26, 2023
d2c3554
enums work properly, file corruption handling, fix arrays in other fo…
nextdayy Sep 28, 2023
21cdfe3
fix a typo
nextdayy Sep 30, 2023
a6eb379
make it build everywhere, remove dependency on lwjgl-repacked
nextdayy Oct 1, 2023
d2b5a7d
fix some dependencies
nextdayy Oct 1, 2023
32649ec
look at modern commands, autocompletion, fix bug with config, reforma…
nextdayy Oct 4, 2023
8947a67
common utils + MHUtils (prettier code)
nextdayy Oct 6, 2023
91c9a97
keybinds and stuff
nextdayy Oct 10, 2023
505aeca
broken changelogs page
Wyvest Oct 15, 2023
664a5f9
centering, fix text bug, modern commands, ensure working on modern ve…
nextdayy Nov 13, 2023
4ba76d5
my bad professional gangster;
nextdayy Nov 13, 2023
280d52f
update to new polyui
nextdayy Dec 31, 2023
4dec06e
refactor project
nextdayy Jan 26, 2024
7acc0d6
update hud
nextdayy Jan 26, 2024
2b038ae
cleanup and Yes
nextdayy Apr 2, 2024
235f9b6
CI validation? i hardly know her
nextdayy Apr 2, 2024
18b0efd
config rewrite as i decided i didnt like it
nextdayy Apr 7, 2024
7b43231
reorganise project
nextdayy Apr 7, 2024
1ceed11
dump
nextdayy Apr 7, 2024
13db725
thanks chatgpt!
nextdayy Apr 7, 2024
d432f27
reorganise finish
nextdayy Apr 7, 2024
6fd6e44
bump --all
nextdayy Apr 8, 2024
fe64075
fix crash in command autocomplete when input part is empty and no com…
DeDiamondPro Apr 8, 2024
6fda625
Object serializer test + fix enum deserialization
DeDiamondPro Apr 8, 2024
7b7fcb2
event refactor and util refactor
nextdayy Apr 10, 2024
e6aa3b3
updateLicenses
nextdayy Apr 10, 2024
16c7d08
update github actions (#321), fix bugs, add file corruption handling
nextdayy Apr 10, 2024
a80ec0a
profiles setup
nextdayy Apr 11, 2024
df5dfb9
start hud intergration + MODERN + remove old/useless deps
nextdayy Apr 12, 2024
a0b92cf
more fixes, cleanup + autoformat and integration
nextdayy Apr 15, 2024
c0bba77
reorganise, refactor, integrate, fix some stuff, remove old things, m…
nextdayy Apr 16, 2024
0acaee9
1.17
nextdayy Apr 17, 2024
0bfac57
1.18 (easy) and 1.19 (annoying)
nextdayy Apr 18, 2024
d237d1f
1.20
nextdayy Apr 19, 2024
e247c63
applyLicenses
nextdayy Apr 19, 2024
cc84be8
hud stuff and bug fixes
nextdayy Apr 20, 2024
fe466c1
maybe make CI build?
nextdayy Apr 20, 2024
4a32e1c
fix resize issues
nextdayy Apr 20, 2024
5c28242
CI fix
nextdayy Apr 20, 2024
df3b5bc
CI fix 2
nextdayy Apr 20, 2024
2a66a75
🐛 fix(actions): use setup-gradle task and fix jvm versions
pauliesnug Apr 21, 2024
533c440
🔨 chore(actions): small corrections to meta files
pauliesnug Apr 21, 2024
aa6f43b
CI fix 3
nextdayy Apr 21, 2024
b236a25
prep for 1.16.5-forge commands
nextdayy Apr 21, 2024
c02b7d0
backport commands API to 1.16.5-forge
nextdayy Apr 21, 2024
78a9d64
🐛 fix(actions): gradle setup cache read-only fix
pauliesnug Apr 21, 2024
6b58ff5
(fix): dummy change to test new github action
pauliesnug Apr 22, 2024
46ad221
add-job-summary-as-pr-comment: on-failure -> always
pauliesnug Apr 22, 2024
561b2e9
bug fixes etc
nextdayy Apr 22, 2024
2840616
🐛 fix(actions): cleanup caches automatically, make it readonly unless…
pauliesnug Apr 22, 2024
1412c5a
fix keybinds and stuff
nextdayy Apr 23, 2024
e532504
actually about to throw hands
nextdayy Apr 23, 2024
94379a6
refactor all to be under api.v1 and improve consistency across codebase
nextdayy Apr 23, 2024
246544d
intellijn't
nextdayy Apr 23, 2024
aa7debd
fix for production :laughing-crying: :skull: :fire:
nextdayy Apr 23, 2024
a1b7b80
fix for if no mods are found
nextdayy Apr 23, 2024
3a70c1b
universalcraft updates
nextdayy Apr 24, 2024
a621f42
swap to log4j
nextdayy Apr 25, 2024
8378330
intellij-reformat modules/** && bump --all
nextdayy Apr 25, 2024
c42cfc1
fix duplicated code
nextdayy Apr 25, 2024
f3605e5
bugfix + cool new idea
nextdayy Apr 26, 2024
1c7f5ee
V0 compat
nextdayy Apr 26, 2024
c694c67
rename mixins according to specification, fix legacy compatability
nextdayy Apr 28, 2024
cd6bfd8
bump PGT and fix mixin plugin
nextdayy Apr 29, 2024
f80ec94
use Path instead of File, fixes and port-upstream OneConfigTweaker, b…
nextdayy May 1, 2024
e9a3279
use pgt validator, fix a really annoying bug
nextdayy May 2, 2024
b804dbe
properties rewrite: idk why i didnt do it like this earlier
nextdayy May 2, 2024
f18fabd
fix log spam and use gradle scan(R)
nextdayy May 2, 2024
e51bf77
✨ feature(actions): use gradle build scans and publish, remove loom c…
pauliesnug May 2, 2024
8fb311b
fix: empty commit because github actions are silly
pauliesnug May 2, 2024
3680da6
🐛 fix(actions): remove loom cache on ci/cd action
pauliesnug May 2, 2024
a6f9ad5
Merge branch 'v1' of github.com:Polyfrost/OneConfig into v1
pauliesnug May 2, 2024
8a3f44b
make huds save and load !!
nextdayy May 3, 2024
53cd6d2
Add license disclaimer for EssentialLoader code
Wyvest May 3, 2024
19abcb1
bump polyui & cleanup, hud fixes
nextdayy May 7, 2024
bdfe453
fix publishing, add initial update stuff, other bug fixes
nextdayy May 10, 2024
dc045ca
HUD updates and maybe fix publishing stuff
nextdayy May 12, 2024
4493383
HUD stuff and bump polyui
nextdayy May 26, 2024
ad7e8d6
refactor and first iteration of gradle structure
nextdayy May 26, 2024
c9cf61b
fix build and more cleanup
nextdayy May 27, 2024
d93b468
i love preprocessor so much! it is so amazing and wonde AHHHH
nextdayy May 29, 2024
275bde1
Hypixel API implementation
nextdayy May 30, 2024
ae7003f
fixes
nextdayy May 30, 2024
e1e7839
fixed!
nextdayy May 30, 2024
83a9b0f
add locraw event back
nextdayy May 30, 2024
f3c3fc5
reduce module interdependency
nextdayy May 31, 2024
ff3488e
fix hypixel api on 1.20.4-fabric (this was complicated)
nextdayy May 31, 2024
a0d3113
refactoring,
nextdayy Jun 2, 2024
e62b520
build fix
nextdayy Jun 2, 2024
8f57362
remove overwrite-by-platform, add PolyUIBuilder so that modules are c…
nextdayy Jun 2, 2024
cafb64d
oop!
nextdayy Jun 2, 2024
f714d4b
🔨 chore(build): buildscript adjustments
pauliesnug Jun 2, 2024
ee1dcc3
Merge remote-tracking branch 'origin/v1' into v1
pauliesnug Jun 2, 2024
abcc71f
reorganise resources
nextdayy Jun 3, 2024
8ef1845
split dependencies into their own jar
nextdayy Jun 3, 2024
81a9d42
fix many bugs
nextdayy Jun 5, 2024
2551193
reformat
nextdayy Jun 6, 2024
6ede3b5
fix HUD issues
nextdayy Jun 6, 2024
8b128ed
fix HUD issues x2
nextdayy Jun 7, 2024
e6f85bb
more HUD stuff
nextdayy Jun 10, 2024
a6bbd70
allow callbacks to cancel sets, more HUD stuff
nextdayy Jun 12, 2024
7e28a0a
bump kt + pgt + polyui
nextdayy Jun 13, 2024
4ce9eca
alpha.8
Wyvest Jun 14, 2024
b2ebed3
add getServerName to HypixelAPI
Wyvest Jun 15, 2024
9d6e64d
add more overloads for Notifications
Wyvest Jun 15, 2024
3e49c67
add save and preload methods to Config
Wyvest Jun 15, 2024
50dc38f
checkbox, JsonUtils, isHypixel, Include, and more
nextdayy Jun 15, 2024
86c2845
fixes and remove old behaviors
nextdayy Jun 19, 2024
88ac445
Fix license header
xtrm-en Jun 21, 2024
5242de9
many fixes and stuffs, improve event stability
nextdayy Jun 24, 2024
644adf5
Publications export their dependencies (#343)
xtrm-en Jun 25, 2024
6df8e31
bump polyui and MANY fixes
nextdayy Jun 27, 2024
c1fb771
Remove internal module from bundled dependencies
Wyvest Jun 29, 2024
2da4e2c
Fix internal not being included in versions
Wyvest Jun 29, 2024
4abc482
add warnings for indexing
Wyvest Jun 29, 2024
bad930e
oops + apiDump
Wyvest Jun 29, 2024
27a9b14
actually fix internal being included
Wyvest Jun 29, 2024
c1deff4
alpha.13
Wyvest Jun 29, 2024
81971c6
Fix `defaultPosition` method name in Java
Wyvest Jun 29, 2024
d210e7f
alpha.14
Wyvest Jun 29, 2024
4cc90e2
fix lwjgl on legacy
Wyvest Jun 29, 2024
f5537c4
single-instance huds and many fixes
nextdayy Jul 10, 2024
91e9879
enable publishing of internal module
nextdayy Jul 10, 2024
d404645
add missing license header
Wyvest Jul 14, 2024
2c38b91
Include lwjgl-legacy jar temporarily in resources folder automatically
Wyvest Jul 14, 2024
0a3d8f0
Use actually correct PGT version
Wyvest Jul 14, 2024
6ab0a5e
event priority and fixes, bump gradle, initial notification implement…
nextdayy Jul 24, 2024
ba63ca2
Merge remote-tracking branch 'main/v1' into v1
nextdayy Jul 24, 2024
9fa7a3d
oops
nextdayy Jul 24, 2024
d877ff8
add overloads to notifications enqueue
Wyvest Jul 24, 2024
9514375
add some mc-specific kotlin dsl
Wyvest Jul 24, 2024
c4a30f2
extra documentation on PreviousNames
Wyvest Jul 24, 2024
bdc4ebf
Change from MC 1.18.1 to 1.18.2
Wyvest Jul 24, 2024
6619668
make scale button disappear on delete & dont snap to scale button (#356)
RedthMC Jul 30, 2024
1dec06e
fixes
nextdayy Jul 30, 2024
0e7045b
Merge remote-tracking branch 'origin/v1' into v1
Wyvest Jul 30, 2024
7565b8f
Preparation for 1.19.2
Wyvest Jul 30, 2024
d01af8f
Remove debug HUDs
Wyvest Jul 30, 2024
d552a72
Switch from enums to classes for Category
Wyvest Jul 30, 2024
f4ff23b
run apiDump
Wyvest Jul 30, 2024
c895da8
Add Bootstrap class for loader
Wyvest Jul 30, 2024
fb62f21
Remove 3D effect from mod cards
Wyvest Jul 30, 2024
4a57413
update polyui and other fixes
nextdayy Aug 5, 2024
1ae5d3b
keybind fixes and allow some to work in screens
nextdayy Aug 5, 2024
0db08c9
Bump to alpha.20
Wyvest Aug 5, 2024
1355e92
Fix lwjgl ver and rename Notifications to NotificationsManager
Wyvest Aug 5, 2024
348f757
HUD fixes, renderer performance improvements and bring back example HUDs
nextdayy Aug 7, 2024
6e373e9
Additional Terms Applicable to OneConfig 1.1
Wyvest Aug 15, 2024
98f7f28
Update README.md
Wyvest Aug 16, 2024
4490b29
event priority on annotation, start on aliases, fix wrapping on confi…
nextdayy Sep 1, 2024
3ec60ce
Merge remote-tracking branch 'main/v1' into v1
nextdayy Sep 1, 2024
b5f6596
Generate properties file for stage1 loader
Wyvest Sep 7, 2024
4fae9af
Make sure test classes are excluded from real build
Wyvest Sep 7, 2024
e2f9f93
Make legacy dependencies version based off LWJGL version
Wyvest Sep 7, 2024
3ca5224
standardize lwjgl legacy dependencies jar name
Wyvest Sep 7, 2024
14db6d2
Revert "standardize lwjgl legacy dependencies jar name"
Wyvest Sep 28, 2024
e12976f
Revert "Make legacy dependencies version based off LWJGL version"
Wyvest Sep 28, 2024
7705f8b
Revert "Make sure test classes are excluded from real build"
Wyvest Sep 28, 2024
af21874
Revert "Generate properties file for stage1 loader"
Wyvest Sep 28, 2024
8e7deac
Bump mixin
Wyvest Sep 28, 2024
67ad7d6
Update v0 dependency to alpha216
Deftu Sep 30, 2024
3ff705c
Revert "Bump mixin"
Deftu Sep 30, 2024
875f840
Update to PolyUI 1.7.03
Deftu Oct 1, 2024
2c6c1cb
Fix issues with OCPolyUIBuilder
Deftu Oct 2, 2024
6a61a62
Rewrite renderer to use isolated LWJGL3 loader
Deftu Oct 8, 2024
e570e36
Revert "Rewrite renderer to use isolated LWJGL3 loader"
Deftu Oct 8, 2024
77b1a77
Isolate LWJGL3 and redo renderer (#362)
Deftu Oct 20, 2024
cf22614
Wipe out LWJGL natives and organize libs.versions.toml
Wyvest Oct 20, 2024
0ac0550
Hopefully fix workflow?
Wyvest Oct 20, 2024
0265cd2
Clean up dependency handling for new backend
Wyvest Oct 20, 2024
2cb129b
Add snakeyaml dependency explicitly
Deftu Nov 3, 2024
23eeee8
Bump version to alpha 31
Deftu Nov 3, 2024
cbf1133
PolyIO
Deftu Nov 3, 2024
44aa8ad
hud safeguards, fix rendering issue (i think) and kotlinify
nextdayy Nov 4, 2024
79048ec
We can't use LWJGL 3 stuff directly!!!
Deftu Nov 4, 2024
d027d34
fix UI not showing
nextdayy Nov 4, 2024
698ab44
Bump version
Wyvest Nov 4, 2024
755dacf
fix mod icons being too large
nextdayy Nov 5, 2024
676d93a
refactor and tidy, fix bugs
nextdayy Nov 6, 2024
95a0bcc
implement HUD buttons and fix some other small bugs
nextdayy Nov 7, 2024
9c21dd8
implement hiding of options (mostly)
nextdayy Nov 10, 2024
3648d32
hiding of options
nextdayy Nov 12, 2024
88725d9
hiding accordions, notifications default duration, input fix (this wa…
nextdayy Nov 13, 2024
2fed725
fix scale blob
nextdayy Nov 13, 2024
9e2d711
fix build + bump
nextdayy Nov 13, 2024
48f44ad
Add Copycat and clean up OneConfig file
Deftu Nov 14, 2024
649467e
Remove the rest of the old clipboard-relating methods
Deftu Nov 14, 2024
79fab0e
Remove test code for Copycat
Deftu Nov 14, 2024
667052a
stabilise hypixel api, add smuggled matrix stack, fix visibility
nextdayy Nov 14, 2024
e7b9659
Merge remote-tracking branch 'main/v1' into v1
nextdayy Nov 14, 2024
48bb44b
fix build + add helper method
nextdayy Nov 14, 2024
ab0d607
Update build.yml
Wyvest Nov 15, 2024
07edd1c
search refactor & aliases
nextdayy Nov 15, 2024
3543cbc
Merge remote-tracking branch 'main/v1' into v1
nextdayy Nov 15, 2024
af5498d
this was so annoying to fix
nextdayy Nov 18, 2024
2d33d2f
Add warning from upstream about TinyFD
Wyvest Nov 18, 2024
e462c8d
recursively inspect superclasses
nextdayy Nov 18, 2024
5b794c2
allow visualizers to take up full width
nextdayy Nov 18, 2024
982822e
banging wall into head
nextdayy Nov 20, 2024
0204fca
fix HUD resizing issues !!
nextdayy Nov 21, 2024
c830f6c
fix callback issue, fix input issues (maybe)
nextdayy Nov 26, 2024
0df0214
enable HiDPI support on legacy
nextdayy Nov 29, 2024
a7cece2
add category and subcategory to KtConfig
nextdayy Nov 29, 2024
d52bd00
fix preprocessor issues
nextdayy Nov 29, 2024
cf27a6f
fix build (hopefully)
nextdayy Nov 29, 2024
1314fe6
Add additional docs for OneConfig dep system
Wyvest Nov 29, 2024
c786785
Add MixinExtras
Wyvest Nov 29, 2024
239253d
Fix test classes being included in prod jar
Wyvest Nov 29, 2024
fa7a274
Fix mixin not being included on 1.12.2 forge
Wyvest Nov 29, 2024
35ce2b3
Fix KtConfigTest
Wyvest Nov 29, 2024
cdd0b97
Fix log spam with Java 9 module files
Wyvest Nov 29, 2024
a228332
Clean up readme
Wyvest Nov 29, 2024
b2d1d6b
Fix license headers
Wyvest Nov 30, 2024
dfff2b2
Delete .github/workflows/gradle-validation.yml
Wyvest Nov 30, 2024
fc793ee
Include loom cache in gradle caches
Wyvest Nov 30, 2024
c42403d
Update dev workflow branch
Wyvest Nov 30, 2024
5d56297
rename mixin methods & fix forge splash screen
nextdayy Nov 30, 2024
e525a11
fix null values
nextdayy Nov 30, 2024
c24b440
make backgrounds optional on HUDs
nextdayy Nov 30, 2024
19a7a22
fix package error
nextdayy Nov 30, 2024
848840e
fix NPE log spam
nextdayy Dec 1, 2024
43b4752
fix build on modern
nextdayy Dec 2, 2024
71ff2ca
fix HUD render position and fix HiDPI
nextdayy Dec 3, 2024
0735815
fix generics, hud mouse and resizing issues, and GL state issues (thi…
nextdayy Dec 7, 2024
7838d0c
update universal craft
Wyvest Dec 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .editorconfig

This file was deleted.

2 changes: 0 additions & 2 deletions .git-blame-ignore-revs

This file was deleted.

32 changes: 30 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# Auto detect text files and perform LF normalization
* text=auto
*.java text eol=lf diff=java
*.gradle text eol=lf diff=java
*.kt text eol=lf diff=kotlin
*.kts text eol=lf diff=kotlin
gradlew text eol=lf
*.bat text eol=crlf

*.md text eol=lf diff=markdown

.editorconfig text eol=lf

*.json text eol=lf
*.json5 text eol=lf
*.properties text eol=lf
*.toml text eol=lf
*.xml text eol=lf diff=html

# Modding specific
*.accesswidener text eol=lf

# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.class binary
*.dll binary
*.ear binary
*.jar binary
*.jks binary
*.png binary
*.so binary
*.war binary
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
description: File a bug report. Keep it concise, factual, and structured. Include screenshots if possible.
labels: "bug"
labels: ["bug"]
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Discord Server
url: https://polyfrost.cc/discord
url: https://polyfrost.org/discord
about: Please ask and answer usage questions here.
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
title: '(feat): '
labels: ["feature"]
assignees: [""]

---

Expand Down
3 changes: 3 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
## Description

<!-- Describe your changes in detail -->

## Related Issue(s)

<!-- List the issue(s) this PR solves -->

## Checklist

- [ ] I made a clear description of what was changed
- [ ] I stated why these changes were necessary
- [ ] I updated documentation or said what needs to be updated
Expand Down
67 changes: 50 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,49 +7,82 @@ on:
workflow_dispatch:
push:
branches-ignore:
- master
- develop-v0
- main-v0
paths-ignore:
- 'README.md'
- '.github/**'
- '.editorconfig'
- 'CODE_OF_CONDUCT.md'
- 'CONTRIBUTING.md'
- 'SECURITY.md'
- 'LICENSE'
- '.gitattributes'
- '.gitignore'

concurrency:
group: ${{ github.head_ref || format('{0}-{1}', github.ref, github.run_number) }}
cancel-in-progress: true

permissions:
pull-requests: write
contents: write

jobs:
build:
name: Build
strategy:
matrix:
os: [ubuntu-latest]

name: CI/CD Build on ${{ matrix.os }}

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up JDK 17
uses: actions/setup-java@v2
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: 17
java-version: |
8
16
17
distribution: temurin

- uses: actions/cache@v2
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
add-job-summary-as-pr-comment: always
add-job-summary: always
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"
gradle-home-cache-cleanup: true
validate-wrappers: true
cache-read-only: ${{ github.ref != 'refs/heads/v1' }}

- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
**/loom-cache
**/prebundled-jars
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Chmod Gradle
run: chmod +x ./gradlew

- name: Build
run: ./gradlew build --no-daemon
run: ./gradlew build

- name: Test publication
run: ./gradlew publishToMavenLocal

- name: Upload Build Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: oneconfig-artifacts
path: versions/**/build/libs/
path: |
modules/**/build/libs/
versions/**/build/libs/
11 changes: 0 additions & 11 deletions .github/workflows/gradle-validation.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/release-snapshots.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/release.yml

This file was deleted.

Loading
Loading