Skip to content
Snippets Groups Projects
Commit c7731206 authored by Haoyu Sun's avatar Haoyu Sun
Browse files

Merge branch '13-set-database' into 'main'

Resolve "set database basit"

Closes #13

See merge request !2
parents 1960b807 8c3ce5fc
No related branches found
No related tags found
1 merge request!2Resolve "set database basit"
......@@ -26,6 +26,9 @@ repositories {
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
//from https://mariadb.com/kb/en/java-connector-using-gradle/
implementation 'org.mariadb.jdbc:mariadb-java-client:2.1.2'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
annotationProcessor 'org.projectlombok:lombok'
......
spring.application.name=demo
spring.datasource.url=jdbc:mariadb://localhost:3306/sports
spring.datasource.username=root
spring.datasource.password=comsc
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment