Skip to content

Instantly share code, notes, and snippets.

@ucguy4u
Created October 28, 2021 11:55
Show Gist options
  • Save ucguy4u/9dbc87270a62f4e65ed0de061d21457c to your computer and use it in GitHub Desktop.
Save ucguy4u/9dbc87270a62f4e65ed0de061d21457c to your computer and use it in GitHub Desktop.
maintaining a common dependencies
repositories {
mavenCentral()
mavenLocal()
}
spotless {
java {
googleJavaFormat("1.7")
//indentWithTabs(1)
// indentWithSpaces(2)
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
implementation 'org.springframework.cloud:spring-cloud-starter-netflix-eureka-client:3.0.4'
implementation 'org.springframework.boot:spring-boot-starter-actuator:2.5.5'
implementation 'io.springfox:springfox-boot-starter:3.0.0'
implementation group: 'io.springfox', name: 'springfox-swagger2', version: '3.0.0'
implementation group: 'io.springfox', name: 'springfox-swagger-ui', version: '3.0.0'
implementation group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0'
implementation 'org.flywaydb:flyway-core:8.0.2'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment