Skip to content

Commit 0424d09

Browse files
Merge pull request #40 from cicsdev/ayushi/link
Updated Yaml
2 parents f6745cf + af13300 commit 0424d09

7 files changed

Lines changed: 44 additions & 16 deletions

File tree

.github/workflows/build.yaml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ jobs:
5959
with:
6060
java-version: ${{ matrix.jdk }}
6161
distribution: "semeru"
62-
cache: maven
63-
- name: Build with Maven
64-
run: ./mvnw --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} verify
65-
62+
- name: Build with Maven Wrapper
63+
run: ./mvnw --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} package
64+
6665
build-gradle:
6766
name: Build Gradle
6867

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

8786
build-gradlew:
88-
name: Build Gradle Wrapper
89-
87+
name: Build Gradle wrapper
88+
9089
runs-on: ubuntu-latest
9190
strategy:
9291
matrix:
@@ -99,6 +98,4 @@ jobs:
9998
java-version: ${{ matrix.jdk }}
10099
distribution: 'semeru'
101100
- name: Build with Gradle Wrapper
102-
run: ./gradlew clean build -Pjava_version=${{ matrix.jdk }}
103-
104-
# Made with Bob
101+
run: ./gradlew build -Pjava_version=${{ matrix.jdk }}

.github/workflows/cleanup-old-runs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,3 @@ jobs:
2020
repository: ${{ github.repository }}
2121
retain_days: 30
2222
keep_minimum_runs: 3 # Keep at least 3 recent runs of each workflow
23-
24-
# Made with Bob

cics-java-liberty-link-app/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ version = '1.0.0'
1212

1313
java
1414
{
15-
sourceCompatibility = JavaVersion.VERSION_1_8
16-
targetCompatibility = JavaVersion.VERSION_1_8
15+
toolchain
16+
{
17+
languageVersion = JavaLanguageVersion.of(java_version)
18+
}
1719
}
1820

1921
// If in Eclipse, add Javadoc to the local project classpath

cics-java-liberty-link-app/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
<plugin>
3333
<groupId>org.apache.maven.plugins</groupId>
3434
<artifactId>maven-compiler-plugin</artifactId>
35-
<version>3.12.1</version>
35+
<version>3.13.0</version>
3636
<configuration>
3737
<annotationProcessorPaths>
3838
<annotationProcessorPath>
3939
<groupId>com.ibm.cics</groupId>
40-
<artifactId>com.ibm.cics.server.invocation</artifactId>
40+
<artifactId>com.ibm.cics.server.invocation</artifactId>
4141
</annotationProcessorPath>
4242
</annotationProcessorPaths>
4343
</configuration>

gradle.properties

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
java_version = 8
2+
3+
# Gradle daemon improves build performance
4+
org.gradle.daemon=true
5+
6+
# Enable parallel builds for faster compilation
7+
org.gradle.parallel=true
8+
9+
# Configuration cache disabled - CICS Bundle Plugin 1.0.8 not compatible
10+
# org.gradle.configuration-cache=true

pom.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
com.ibm.cics.server.invocation.CICSProgram annotation for Link to Liberty.</description>
1616

1717
<properties>
18-
<java.version>1.8</java.version>
18+
<java.version>8</java.version>
1919
<cics.jvmserver>DFHWLP</cics.jvmserver>
2020
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2121
<maven.compiler.target>${java.version}</maven.compiler.target>
@@ -38,4 +38,18 @@
3838
<module>cics-java-liberty-link-app</module>
3939
<module>cics-java-liberty-link-bundle</module>
4040
</modules>
41+
42+
<!-- ================================================================ -->
43+
<!-- Build Configuration -->
44+
<!-- ================================================================ -->
45+
<build>
46+
<plugins>
47+
<!-- Maven Compiler Plugin -->
48+
<plugin>
49+
<groupId>org.apache.maven.plugins</groupId>
50+
<artifactId>maven-compiler-plugin</artifactId>
51+
<version>3.13.0</version>
52+
</plugin>
53+
</plugins>
54+
</build>
4155
</project>

settings.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// ============================================================================
2+
// Root Project Configuration
3+
// ============================================================================
14
rootProject.name = 'cics-java-liberty-link'
5+
6+
// ============================================================================
7+
// Subprojects
8+
// ============================================================================
29
include(':cics-java-liberty-link-app')
310
include(':cics-java-liberty-link-bundle')

0 commit comments

Comments
 (0)