Skip to content

Commit

Permalink
- Update gradle and java versions
Browse files Browse the repository at this point in the history
- Begin converting build.gradle to kts
  • Loading branch information
Pulverizer committed Oct 6, 2023
1 parent 0efe15b commit 97701ba
Show file tree
Hide file tree
Showing 26 changed files with 826 additions and 290 deletions.
23 changes: 23 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Normalize as LF in the repository, OS native locally
* text=auto

*.bat text eol=crlf
gradlew text eol=lf
*.sh text eol=lf

*.java text
*.java diff=java

# Binary files that should not be modified
*.dat binary
*.db binary
*.icns binary
*.ico binary
*.jar binary
*.jks binary
*.jpg binary
*.key binary
*.png binary
*.ttf binary
*.wav binary
JavaApplicationStub binary
52 changes: 52 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Making changes? https://github.com/nektos/act may help you test locally

name: Build with GitHub Actions

on:
push:
branches: "**"
tags-ignore: ["**"]
pull_request:
release:
types: [released]

concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: true

env:
RUNTIME_VERSION: 17

jobs:
build:
# Only run on PRs if the source branch is on someone else's repo
if: "${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}"

runs-on: "${{ matrix.os }}"
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
# Setup
- name: Check out
uses: actions/checkout@v3
- name: "Setup JDK ${{ env.RUNTIME_VERSION }}"
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: "${{ env.RUNTIME_VERSION }}"
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

# Actually build
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Archive test results
if: "${{ always() }}"
uses: actions/upload-artifact@v3
with:
name: "${{ runner.os }}-test-results"
path: |
build/reports/
78 changes: 76 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,76 @@
/build/
/.gradle/
# Build #
#########
MANIFEST.MF
dependency-reduced-pom.xml

# Compiled #
############
/bin
/build
/dist
/lib
/out
/run
/target
*.com
*.class
*.dll
*.exe
*.o
*.so

# Databases #
#############
*.db
*.sql
*.sqlite

# Packages #
############
*.7z
*.dmg
*.gz
*.iso
*.rar
*.tar
*.zip

# Repository #
##############
.git

# Logging #
###########
/logs
*.log

# Misc #
########
*.bak

# System #
##########
.DS_Store
ehthumbs.db
Thumbs.db

# Project #
###########
.classpath
.externalToolBuilders
/.gradle
.idea
.project
.settings
.factorypath
/eclipse
nbproject
atlassian-ide-plugin.xml
build.xml
nb-configuration.xml
*.iml
*.ipr
*.iws
/.apt_generated/
*.launch
/.nb-gradle/
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
4 changes: 2 additions & 2 deletions .gradle/buildOutputCleanup/cache.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Mon Mar 01 13:59:33 GMT 2021
gradle.version=4.10.3
#Thu Oct 05 19:00:05 BST 2023
gradle.version=7.5.1
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
41 changes: 40 additions & 1 deletion .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/dictionaries/berna.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 15 additions & 5 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/modules/movecraft.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions .idea/modules/movecraft.main.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions .idea/modules/movecraft.test.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions .idea/runConfigurations.xml

This file was deleted.

2 changes: 1 addition & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 97701ba

Please sign in to comment.