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
18 changes: 2 additions & 16 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin/main" path="src/main/java">
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="src/main/webapp"/>
<classpathentry kind="src" output="bin/main" path="src/main/resources">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="src" path=".apt_generated">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin/default"/>
Expand Down
22 changes: 12 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: '0 0 * * *'

permissions:
contents: read
Expand All @@ -15,16 +13,19 @@ jobs:
check-copyright:
runs-on: ubuntu-latest
name: Check Copyright
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- id: copyright-action
uses: cicsdev/.github/.github/actions/samples-copyright-checker@4134522d8109169bb8c460db841f94167ec2802f
with:
directory: './cics-java-liberty-springboot-link/'
directory: './cics-java-liberty-springboot-link-app/'
file-extensions: '*.java'
base-copyright: 'Copyright IBM Corp. 2025'
base-copyright: 'Copyright IBM Corp. 2026'
token: ${{ secrets.GITHUB_TOKEN }}

build-maven:
Expand Down Expand Up @@ -65,7 +66,7 @@ jobs:

build-gradle:
name: Build Gradle

runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -78,13 +79,16 @@ jobs:
java-version: ${{ matrix.jdk }}
distribution: 'semeru'
- name: Setup Gradle
# Use setup-gradle to install a specific Gradle version for direct 'gradle' command use
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: 8.14.4
- name: Build with Gradle
run: ./gradlew clean build -Pjava_version=${{ matrix.jdk }}
run: gradle clean build -Pjava_version=${{ matrix.jdk }}

build-gradlew:
name: Build Gradle wrapper

runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -98,5 +102,3 @@ jobs:
distribution: 'semeru'
- name: Build with Gradle Wrapper
run: ./gradlew clean build -Pjava_version=${{ matrix.jdk }}


20 changes: 20 additions & 0 deletions .github/workflows/cleanup-old-runs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Cleanup old workflow runs

on:
schedule:
- cron: '0 0 * * 0' # Run weekly on Sunday at midnight UTC
workflow_dispatch: # Allow manual triggering

jobs:
cleanup:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Delete old workflow runs
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 30
keep_minimum_runs: 6
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>com.ibm.cicsdev.springboot.link</name>
<name>cics-java-liberty-springboot-link</name>
<comment></comment>
<projects>
</projects>
Expand Down
2 changes: 2 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
9 changes: 9 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.processAnnotations=enabled
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=17
4 changes: 2 additions & 2 deletions .settings/org.eclipse.wst.common.project.facet.core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<faceted-project>
<fixed facet="jst.java"/>
<fixed facet="jst.web"/>
<installed facet="jst.web" version="2.4"/>
<installed facet="jst.java" version="1.8"/>
<installed facet="jst.web" version="6.0"/>
<installed facet="jst.java" version="17"/>
</faceted-project>
2 changes: 1 addition & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
- Alex Brown [@AlexBrown](https://github.com/SoftlySplinter)
- Phil Wakelin [@PhilWakelin](https://github.com/PhilWakelin)

*Last reviewed:* November 2024
*Last reviewed:* July 2026
Loading
Loading