Skip to content

Commit 07a96eb

Browse files
committed
Java 8 to 11
Spring Boot 2.4.0 to 2.5.0 Gradle 6.7 to 7.0.2 JCenter to MavenCentral
1 parent 6d25142 commit 07a96eb

7 files changed

Lines changed: 18 additions & 30 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2014-2020 jkazama
3+
Copyright (c) 2014-2021 jkazama
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ JSUG(日本Springユーザ会)の下記勉強会向けのサンプル実装で
99

1010
- 2014/11/27 「SpringBootを用いたドメイン駆動設計」
1111

12-
> Spring Boot 2 の利用に伴い実装コードを Java8 へ切り替えています。 Java7 での実装コードを確認したいときは 1.x ブランチを参照してください。
12+
> Spring Boot 2 の利用に伴い実装コードを Java11 へ切り替えています。 Java7 での実装コードを確認したいときは 1.x ブランチを参照してください。
1313
1414
本サンプルでは[SpringBoot](http://projects.spring.io/spring-boot/)[Lombok](http://projectlombok.org/)を利用してドメインモデリングの実装例を示します。実際に2007年くらいから現在に至るまで現場で利用されている実装アプローチなので、参考例の一つとしてみてもらえればと思います。
1515
※JavaDocに記載をしていますが、サンプルに特化させているので実際の製品コードが含まれているわけではありません。
@@ -106,7 +106,7 @@ main
106106
### コンソール
107107

108108
Windows/Macのコンソールから実行するにはGradleのコンソールコマンドで行います。
109-
事前にJDK7以上のインストールが必要です
109+
事前にJDK11以上のインストールが必要です
110110

111111
1. ダウンロードした*java-ddd*ディレクトリ直下へコンソールで移動
112112
1. 「gradlew bootRun」を実行

build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
plugins {
22
id "java"
33
id "eclipse"
4-
id "org.springframework.boot" version "2.4.0"
5-
id "io.spring.dependency-management" version "1.0.10.RELEASE"
4+
id "org.springframework.boot" version "2.5.0"
5+
id "io.spring.dependency-management" version "1.0.11.RELEASE"
66
}
77

8-
ext['lombok.version'] = "1.18.16"
8+
ext['lombok.version'] = "1.18.20"
99

10-
version = "2.4.0"
10+
version = "2.5.0"
1111

12-
sourceCompatibility = '1.8'
13-
targetCompatibility = '1.8'
12+
sourceCompatibility = '11'
13+
targetCompatibility = '11'
1414

1515
def defaultEncoding = 'UTF-8'
1616
tasks.withType(AbstractCompile).each { it.options.encoding = defaultEncoding }
@@ -25,7 +25,7 @@ test {
2525
}
2626

2727
repositories {
28-
jcenter()
28+
mavenCentral()
2929
}
3030

3131
eclipseJdt.doLast {
@@ -49,5 +49,5 @@ dependencies {
4949
}
5050

5151
wrapper {
52-
gradleVersion = "6.7"
52+
gradleVersion = "7.0.2"
5353
}

gradle/wrapper/gradle-wrapper.jar

508 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

gradlew

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 4 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)