File tree Expand file tree Collapse file tree
cics-java-liberty-restapp-app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,12 @@ plugins
1010group = ' com.ibm.cicsdev.restapp'
1111archivesBaseName= ' cics-java-liberty-restapp'
1212version = ' 0.1.0'
13- sourceCompatibility = ' 1.8'
13+
14+ java {
15+ toolchain {
16+ languageVersion = JavaLanguageVersion . of(java_version)
17+ }
18+ }
1419
1520// If in Eclipse, add Javadoc to the local project classpath
1621eclipse
Original file line number Diff line number Diff line change 4444
4545 <build >
4646 <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+
4754 <!-- WAR plugin build-->
4855 <plugin >
4956 <groupId >org.apache.maven.plugins</groupId >
5360 <failOnMissingWebXml >false</failOnMissingWebXml >
5461 <archive >
5562 <addMavenDescriptor >false</addMavenDescriptor >
56- </archive >
63+ </archive >
5764 </configuration >
5865 </plugin >
5966
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1818
1919
2020 <properties >
21- <java .version>1. 8</java .version>
21+ <java .version>8</java .version>
2222 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2323 <maven .compiler.target>${java.version} </maven .compiler.target>
2424 <maven .compiler.source>${java.version} </maven .compiler.source>
4141
4242
4343 <modules >
44- <module >cics-java-liberty-restapp-app</module >
45- <module >cics-java-liberty-restapp-bundle</module >
46- </modules >
47-
48-
44+ <module >cics-java-liberty-restapp-app</module >
45+ <module >cics-java-liberty-restapp-bundle</module >
46+ </modules >
47+
48+ <!-- ================================================================ -->
49+ <!-- Build Configuration -->
50+ <!-- ================================================================ -->
51+ <build >
52+ <plugins >
53+ <!-- Maven Compiler Plugin -->
54+ <plugin >
55+ <groupId >org.apache.maven.plugins</groupId >
56+ <artifactId >maven-compiler-plugin</artifactId >
57+ <version >3.13.0</version >
58+ </plugin >
59+ </plugins >
60+ </build >
4961
5062</project >
Original file line number Diff line number Diff line change 1+ // ============================================================================
2+ // Root Project Configuration
3+ // ============================================================================
14rootProject. name = ' cics-java-liberty-restapp'
5+
6+ // ============================================================================
7+ // Subprojects
8+ // ============================================================================
29include(' :cics-java-liberty-restapp-app' )
310include(' :cics-java-liberty-restapp-bundle' )
You can’t perform that action at this time.
0 commit comments