本ページの情報は2020/7/1の時点でcs27 wikiに纏められた情報より抜粋したものである
皆の物,中村先生に感謝せよ
Spring Initializrで当面必要そうなものを全部入れた場合の dependenciesセクションの内容を書いておく.
何かおかしかったら,自分のbuild.gradleにこれをコピペするとよかろう.
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
//セキュリティ入れる場合は↓を外す
// implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'mysql:mysql-connector-java'
annotationProcessor 'org.projectlombok:lombok'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
//testImplementation 'org.springframework.security:spring-security-test'
}