Compare commits

..
1 Commits
Author SHA1 Message Date
woggioni b89c188bb5 updated third party library dependencies
CI / Build and Test (push) Failing after 2m17s
2026-06-20 13:53:27 +08:00
5 changed files with 32 additions and 67 deletions
-41
View File
@@ -1,41 +0,0 @@
name: CI
on:
push:
branches: [ dev ]
env:
JAVA_VERSION: '21'
GRADLE_VERSION: '8.14.5'
jobs:
build:
name: Build and Test
runs-on: hostinger
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ env.JAVA_VERSION }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: ${{ env.GRADLE_VERSION }}
# Only the main branch writes to the cache; PRs/feature branches read-only
cache-read-only: false
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v3
with:
distribution-type: 'bin'
version: ${{ env.GRADLE_VERSION }}
- name: Run Gradle build
run: ./gradlew build --no-daemon
+30 -5
View File
@@ -2,13 +2,38 @@ name: CI
on:
push:
branches: [ master ]
env:
JAVA_VERSION: '25'
GRADLE_VERSION: '8.14.5'
jobs:
build:
runs-on: woryzen
name: Build and Test
runs-on: hostinger
timeout-minutes: 30
container:
image: gitea.woggioni.net/woggioni/gitea-runner/debian:latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Execute Gradle build
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: 'oracle'
java-version: ${{ env.JAVA_VERSION }}
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v6
with:
gradle-version: ${{ env.GRADLE_VERSION }}
# Only the main branch writes to the cache; PRs/feature branches read-only
cache-read-only: false
- name: Run Gradle build
run: ./gradlew build --no-daemon
- name: Publish artifacts
env:
PUBLISHER_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}
run: ./gradlew build publish
run: ./gradlew --no-daemon publish
+1 -2
View File
@@ -38,8 +38,7 @@ allprojects {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
vendor = JvmVendorSpec.ORACLE
languageVersion = JavaLanguageVersion.of(25)
}
modularity.inferModulePath = true
}
+1 -1
View File
@@ -3,6 +3,6 @@ org.gradle.parallel=true
org.gradle.caching=true
gitea.maven.url = https://gitea.woggioni.net/api/packages/woggioni/maven
jwo.version = 2026.06.16
jwo.version = 2006.06.20
lys.version = 2026.06.08
guice.version = 5.0.1
-18
View File
@@ -4,27 +4,9 @@ plugins {
alias(catalog.plugins.envelope)
}
import org.gradle.api.attributes.LibraryElements
import static org.gradle.api.attributes.LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE
import static org.gradle.api.attributes.LibraryElements.JAR
import net.woggioni.gradle.envelope.EnvelopeJarTask
import net.woggioni.gradle.envelope.EnvelopePlugin
configurations {
// testImplementation {
// attributes {
// attribute(LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements.class, JAR))
// }
// }
// testRuntimeClasspath {
// attributes {
// attribute(LIBRARY_ELEMENTS_ATTRIBUTE, project.objects.named(LibraryElements.class, JAR))
// }
// }
}
java {
modularity.inferModulePath = true
}