Skip to content

Instantly share code, notes, and snippets.

@drucoder
Last active July 31, 2023 13:58
Show Gist options
  • Save drucoder/59c795e4dda47935a146980312c561e5 to your computer and use it in GitHub Desktop.
Save drucoder/59c795e4dda47935a146980312c561e5 to your computer and use it in GitHub Desktop.
Sarafan: Add db support
compile('org.springframework.boot:spring-boot-starter-data-jpa')
compile('org.postgresql:postgresql')
compile('org.projectlombok:lombok')
compile('javax.xml.bind:jaxb-api')
compile('com.sun.xml.bind:jaxb-core')
compile('com.sun.xml.bind:jaxb-impl')
@kusyka911
Copy link

"compile" deprecated, update gist to use "implementation" please

@borymskyi
Copy link

It work

implementation 'org.springframework.boot:spring-boot-starter-web'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'

implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
runtimeOnly 'org.postgresql:postgresql'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment