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
15 changes: 6 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,9 @@ jobs:
with:
java-version: ${{ matrix.jdk }}
distribution: "semeru"
cache: maven
- name: Build with Maven
run: ./mvnw --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} verify

- name: Build with Maven Wrapper
run: ./mvnw --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} package

build-gradle:
name: Build Gradle

Expand All @@ -85,8 +84,8 @@ jobs:
run: gradle build -Pjava_version=${{ matrix.jdk }}

build-gradlew:
name: Build Gradle Wrapper

name: Build Gradle wrapper
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -99,6 +98,4 @@ jobs:
java-version: ${{ matrix.jdk }}
distribution: 'semeru'
- name: Build with Gradle Wrapper
run: ./gradlew clean build -Pjava_version=${{ matrix.jdk }}

# Made with Bob
run: ./gradlew build -Pjava_version=${{ matrix.jdk }}
2 changes: 0 additions & 2 deletions .github/workflows/cleanup-old-runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ jobs:
repository: ${{ github.repository }}
retain_days: 30
keep_minimum_runs: 3 # Keep at least 3 recent runs of each workflow

# Made with Bob
6 changes: 4 additions & 2 deletions cics-java-liberty-link-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ version = '1.0.0'

java
{
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
toolchain
{
languageVersion = JavaLanguageVersion.of(java_version)
}
}

// If in Eclipse, add Javadoc to the local project classpath
Expand Down
4 changes: 2 additions & 2 deletions cics-java-liberty-link-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<version>3.13.0</version>
<configuration>
<annotationProcessorPaths>
<annotationProcessorPath>
<groupId>com.ibm.cics</groupId>
<artifactId>com.ibm.cics.server.invocation</artifactId>
<artifactId>com.ibm.cics.server.invocation</artifactId>
</annotationProcessorPath>
</annotationProcessorPaths>
</configuration>
Expand Down
10 changes: 10 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
java_version = 8

# Gradle daemon improves build performance
org.gradle.daemon=true

# Enable parallel builds for faster compilation
org.gradle.parallel=true

# Configuration cache disabled - CICS Bundle Plugin 1.0.8 not compatible
# org.gradle.configuration-cache=true
16 changes: 15 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
com.ibm.cics.server.invocation.CICSProgram annotation for Link to Liberty.</description>

<properties>
<java.version>1.8</java.version>
<java.version>8</java.version>
<cics.jvmserver>DFHWLP</cics.jvmserver>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>${java.version}</maven.compiler.target>
Expand All @@ -38,4 +38,18 @@
<module>cics-java-liberty-link-app</module>
<module>cics-java-liberty-link-bundle</module>
</modules>

<!-- ================================================================ -->
<!-- Build Configuration -->
<!-- ================================================================ -->
<build>
<plugins>
<!-- Maven Compiler Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
</plugins>
</build>
</project>
7 changes: 7 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// ============================================================================
// Root Project Configuration
// ============================================================================
rootProject.name = 'cics-java-liberty-link'

// ============================================================================
// Subprojects
// ============================================================================
include(':cics-java-liberty-link-app')
include(':cics-java-liberty-link-bundle')
Loading