diff --git a/.idea/compiler.xml b/.idea/compiler.xml
index daa2f90..720d23e 100644
--- a/.idea/compiler.xml
+++ b/.idea/compiler.xml
@@ -2,7 +2,7 @@
-
+
-
\ No newline at end of file
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 01b5b5c..a2abf7c 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -12,7 +12,7 @@
-
+
-
\ No newline at end of file
+
diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
index c954cec..be4fea7 100644
--- a/.mvn/wrapper/maven-wrapper.properties
+++ b/.mvn/wrapper/maven-wrapper.properties
@@ -1 +1 @@
-distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip
+distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
diff --git a/README.md b/README.md
index 2b09400..2b25fa7 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-# springboot-java8
-The project is made on spring boot. The project summarize the new features present in Java 8.
+# springboot-java11
+The project is made on spring boot. The project summarize the new features present in Java 8 and has been migrated to Java 11.
It contain list of harcoded topics list. You can call the apis's with POSTMAN to add,delete,update Topic list
In addition, it uses
1) Java 8 NIO methods
@@ -76,7 +76,7 @@ GET /datetime
### Prerequisites
-1) Java sdk
+1) Java 11 SDK
2) POSTMAN
### Installing
@@ -129,6 +129,6 @@ https://dzone.com/articles/java-8-friday-goodies-new-new
## Authors
-* **Rehman Murad Ali**
+* **Rehman Murad Ali**
diff --git a/build.gradle b/build.gradle
index 09f1083..b5022ad 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.2.RELEASE")
+ classpath("org.springframework.boot:spring-boot-gradle-plugin:2.7.18")
}
}
@@ -22,11 +22,13 @@ repositories {
mavenCentral()
}
-sourceCompatibility = 1.8
-targetCompatibility = 1.8
+sourceCompatibility = 11
+targetCompatibility = 11
dependencies {
- compile("org.springframework.boot:spring-boot-starter-web")
- testCompile("junit:junit")
+ implementation("org.springframework.boot:spring-boot-starter-web")
+ implementation("org.springframework.boot:spring-boot-starter-jdbc")
+ implementation("com.h2database:h2")
+ testImplementation("junit:junit")
}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index a2ff3cc..03a8d13 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
diff --git a/gradlew b/gradlew
old mode 100644
new mode 100755
diff --git a/gs-spring-boot.iml b/gs-spring-boot.iml
index ad195a8..12b2673 100644
--- a/gs-spring-boot.iml
+++ b/gs-spring-boot.iml
@@ -1,6 +1,6 @@
-
+
@@ -55,4 +55,4 @@
-
\ No newline at end of file
+
diff --git a/mvnw b/mvnw
old mode 100644
new mode 100755
diff --git a/pom.xml b/pom.xml
index 63f5cbd..6b9465e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
org.springframework.boot
spring-boot-starter-parent
- 2.0.2.RELEASE
+ 2.7.18
@@ -35,7 +35,7 @@
- 1.8
+ 11
@@ -45,6 +45,15 @@
org.springframework.boot
spring-boot-maven-plugin
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ 11
+ 11
+ 11
+
+