Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Set to true to add reviewers to pull requests
addReviewers: false

# Set to true to add assignees to pull requests
addAssignees: true

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- tgrothe

# A list of assignees, overrides reviewers if set
assignees:
- tgrothe

# A list of keywords to be skipped the process that add reviewers if pull requests include it
skipKeywords:
- wip

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ updates:
- package-ecosystem: "gradle" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily" # daily, weekly, monthly
interval: "weekly" # daily, weekly, monthly
33 changes: 33 additions & 0 deletions .github/workflows/jars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Commit jars

on: workflow_dispatch

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build with Gradle Wrapper
run: ./gradlew jar

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: jars/*.jar
file_glob: true
tag: ${{ github.ref }}
overwrite: true
body: "Read the readme file for details."
10 changes: 3 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ buildscript {
}

plugins {
id 'java'
id 'application'
id 'com.diffplug.spotless' version "${spotlessVersion}"
id 'com.github.ben-manes.versions' version "${benmanesVersion}"
id 'com.github.spotbugs' version "${spotbugsVersion}"
}

group = 'org.example'
version = '1.0'

application {
Expand All @@ -25,11 +23,9 @@ dependencies {
implementation depsArray.lang3
}

compileJava.options.encoding = 'UTF-8'

tasks.withType(JavaCompile) {
options.release = 17
options.encoding = 'UTF-8'
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}

spotless {
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.jvmargs='-Dfile.encoding=UTF-8'
Loading