Skip to content

Commit 7fa95cb

Browse files
Merge pull request #35 from cicsdev/ayushi/restapp
Updated Files as per requirement
2 parents 5958316 + 8da413e commit 7fa95cb

5 files changed

Lines changed: 49 additions & 8 deletions

File tree

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ plugins
1010
group = 'com.ibm.cicsdev.restapp'
1111
archivesBaseName='cics-java-liberty-restapp'
1212
version = '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
1621
eclipse

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@
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>
@@ -53,7 +60,7 @@
5360
<failOnMissingWebXml>false</failOnMissingWebXml>
5461
<archive>
5562
<addMavenDescriptor>false</addMavenDescriptor>
56-
</archive>
63+
</archive>
5764
</configuration>
5865
</plugin>
5966

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: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
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>
@@ -41,10 +41,22 @@
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>

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-restapp'
5+
6+
// ============================================================================
7+
// Subprojects
8+
// ============================================================================
29
include(':cics-java-liberty-restapp-app')
310
include(':cics-java-liberty-restapp-bundle')

0 commit comments

Comments
 (0)