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
22 changes: 3 additions & 19 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
# Set to true to add reviewers to pull requests
# Set to 'false' to disable adding reviewers to PRs.
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
# Set addAssignees to 'author' to set the PR creator as the assignee.
addAssignees: author
14 changes: 14 additions & 0 deletions .github/workflows/autoassign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: 'Auto Assign'

on:
pull_request:
types: [opened, ready_for_review]

jobs:
add-reviews:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: kentaro-m/auto-assign-action@v2.0.0
6 changes: 4 additions & 2 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Enable Automerge

on:
pull_request:
branches:
- main
branches: [main]
types: [opened, ready_for_review]

jobs:
Enable-Automerge:
permissions: write-all
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/dependency-review.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,17 @@ on:

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read

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

# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Build with Gradle Wrapper
run: ./gradlew clean build
4 changes: 0 additions & 4 deletions .github/workflows/jars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,17 @@ jobs:
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:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
.idea/
build/
logs/
gradlew.bat
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id 'application'
id 'com.diffplug.spotless' version '8.1.0'
id 'com.github.ben-manes.versions' version '0.53.0'
id 'com.github.spotbugs' version '6.4.7'
id 'com.github.spotbugs' version '6.4.8'
}

application {
Expand All @@ -21,9 +21,9 @@ dependencies {
testImplementation('org.junit.jupiter:junit-jupiter')
testRuntimeOnly('org.junit.platform:junit-platform-launcher')

implementation 'org.apache.logging.log4j:log4j-core:3.0.0-beta3'
implementation 'org.apache.commons:commons-lang3:3.20.0'
implementation 'org.json:json:20250517'
implementation 'org.apache.logging.log4j:log4j-core:3.0.0-beta3'
}

test {
Expand Down
9 changes: 3 additions & 6 deletions src/main/java/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ public class Main {
public static final Logger logger = LogManager.getLogger();

public static void main(String[] args) {
logger.debug("Hello");
logger.debug(add(2, 3));
}

public static int add(int a, int b) {
return a + b;
logger.info("Application started.");
// Your application logic here
logger.info("Application finished.");
}
}