Skip to content

Commit 0c709ea

Browse files
committed
Gradle source compatibility
1 parent 0d61fb9 commit 0c709ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66

77
group = 'ru.xpressed'
88
version = '0.0.1-SNAPSHOT'
9-
sourceCompatibility = '1.8'
9+
sourceCompatibility = "1.9"
1010

1111
configurations {
1212
compileOnly {
@@ -36,3 +36,4 @@ dependencies {
3636
tasks.named('test') {
3737
useJUnitPlatform()
3838
}
39+
targetCompatibility = JavaVersion.VERSION_1_9

src/main/java/ru/xpressed/javatemplatescoursework/controller/AccountController.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import org.springframework.ui.Model;
66
import org.springframework.web.bind.annotation.GetMapping;
77
import org.springframework.web.bind.annotation.PathVariable;
8-
import org.springframework.web.bind.annotation.PostMapping;
98
import ru.xpressed.javatemplatescoursework.entity.Customer;
109
import ru.xpressed.javatemplatescoursework.entity.Order;
1110
import ru.xpressed.javatemplatescoursework.repository.CustomerRepository;

0 commit comments

Comments
 (0)