-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some project gradle restructure and general cleanup (#7)
* Move some gradle project constants under `gradle.properties` file * Enable JUnit 5 tests in Gradle * Run tests in GitHub CI builds * Set project minimal Java source and target compatibility to version `11` * Parametrize types for classes and methods * Replace with 'Comparator.comparing' * Use wildcard `?` to accept any type in the used set * Some code formatting and cleanup * Delete unused markdown file * Cleanup `build.gradle` * Update changelog * Remove parametrization from the `JMemoryBuddy#memoryTest` method * Remove parametrization from other classes and methods
- Loading branch information
Showing
12 changed files
with
120 additions
and
107 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Build CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
jdk: [11, 17, 21] | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '${{matrix.jdk}}' | ||
|
||
- name: Build with Gradle | ||
run: ./gradlew build | ||
|
||
- name: Run tests | ||
run: ./gradlew test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
JMEMORYBUDDY_VERSION=0.5.5-SNAPSHOT | ||
ARCHIVE_BASE_NAME=JMemoryBuddy | ||
|
||
NEXUS_PUBLISH_PLUGIN_VERSION=1.3.0 | ||
JUNIT_VERSION=5.10.3 | ||
LOGBACK_VERSION=1.5.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.