File tree Expand file tree Collapse file tree
cics-java-liberty-link-app Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 java-version : ${{ matrix.jdk }}
6161 distribution : " semeru"
6262 - name : Build with Maven Wrapper
63- run : ./mvnw --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} verify
64-
63+ run : ./mvnw --batch-mode --update-snapshots --file pom.xml -Djava.version=${{ matrix.jdk }} package
64+
6565 build-gradle :
6666 name : Build Gradle
6767
8484 run : gradle build -Pjava_version=${{ matrix.jdk }}
8585
8686 build-gradlew :
87- name : Build Gradle Wrapper
88-
87+ name : Build Gradle wrapper
88+
8989 runs-on : ubuntu-latest
9090 strategy :
9191 matrix :
9898 java-version : ${{ matrix.jdk }}
9999 distribution : ' semeru'
100100 - name : Build with Gradle Wrapper
101- run : ./gradlew clean build -Pjava_version=${{ matrix.jdk }}
101+ run : ./gradlew build -Pjava_version=${{ matrix.jdk }}
Original file line number Diff line number Diff line change @@ -12,8 +12,10 @@ version = '1.0.0'
1212
1313java
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
Original file line number Diff line number Diff line change 1+ java_version = 17
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
Original file line number Diff line number Diff line change 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>17 </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>
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 with release parameter -->
48+ <plugin >
49+ <groupId >org.apache.maven.plugins</groupId >
50+ <artifactId >maven-compiler-plugin</artifactId >
51+ <configuration >
52+ <release >${java.version} </release >
53+ </configuration >
54+ </plugin >
55+ </plugins >
56+ </build >
4157</project >
Original file line number Diff line number Diff line change 1+ // ============================================================================
2+ // Root Project Configuration
3+ // ============================================================================
14rootProject. name = ' cics-java-liberty-link'
5+
6+ // ============================================================================
7+ // Subprojects
8+ // ============================================================================
29include(' :cics-java-liberty-link-app' )
310include(' :cics-java-liberty-link-bundle' )
You can’t perform that action at this time.
0 commit comments