diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index e5b334b..d84758b 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -17,11 +17,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v6 - - name: Set up JDK 21 + - name: Set up JDK 17 uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: '21' + java-version: '17' - name: Run Checkstyle run: mvn --batch-mode checkstyle:check - name: Annotate Checkstyle results @@ -35,11 +35,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v6 - - name: Set up JDK 21 + - name: Set up JDK 17 uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: '21' + java-version: '17' - name: Build with coverage run: mvn --batch-mode clean verify - name: Upload coverage to Codecov diff --git a/.github/workflows/javadoc.yml b/.github/workflows/javadoc.yml index 3dd5d49..6f835aa 100644 --- a/.github/workflows/javadoc.yml +++ b/.github/workflows/javadoc.yml @@ -12,11 +12,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v6 - - name: Set up JDK 25 + - name: Set up JDK 17 uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: '25' + java-version: '17' - name: Build Javadoc run: mvn --batch-mode javadoc:javadoc - name: Upload Javadoc artifact diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f985c2d..bad77fa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,11 +15,11 @@ jobs: - name: Checkout code uses: actions/checkout@v6 - - name: Set up JDK 25 + - name: Set up JDK 17 uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: '25' + java-version: '17' server-id: github server-username: GITHUB_ACTOR server-password: GITHUB_TOKEN diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index a7b7ac0..bfff4ac 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java-version: [ '21', '25' ] + java-version: [ '17', '21', '25' ] steps: - name: Checkout code uses: actions/checkout@v6 @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - java-version: [ '21', '25' ] + java-version: [ '17', '21', '25' ] steps: - name: Checkout code uses: actions/checkout@v6 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1aa316d..8559aa5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,7 @@ ## Getting Started 1. Fork and clone the repository -2. Ensure Java 21 and Maven 3.8+ are installed +2. Ensure Java 17 and Maven 3.8+ are installed 3. Run `mvn clean verify` — all checks must pass before you start ## Branching diff --git a/README.md b/README.md index ce20ae0..86b3bc8 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ A lightweight, fluent Java library for building parameterized SQL queries and fi - SQL dialect support: Standard, MySQL, SQLite - **Global and per-query configuration of defaults (e.g., dialect, columns, limit, LIKE wrapping) via `QueryBuilderDefaults`** - In-memory filtering via `QueryableStorage` -- Zero runtime dependencies, pure Java 21+ +- Zero runtime dependencies, pure Java 17+ ## Installation diff --git a/pom.xml b/pom.xml index 0b4d67e..0f23422 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.github.EzFramework java-query-builder - 1.2.0 + 1.2.1 jar JavaQueryBuilder @@ -13,8 +13,7 @@ https://github.com/EzFramework/JavaQueryBuilder - 21 - 21 + 17 UTF-8 @@ -51,10 +50,6 @@ org.apache.maven.plugins maven-compiler-plugin 3.15.0 - - 21 - 21 - org.apache.maven.plugins